Skip to content

Conversation

@mihirpenugonda
Copy link

@mihirpenugonda mihirpenugonda commented Jul 10, 2025

Summary

This PR adds support for the --danger flag in claude-squad, which automatically appends
--dangerously-skip-permissions to claude commands when creating new instances.

Changes

  • Added a new --danger CLI flag that can be used when starting claude-squad
  • Added Danger field to config, instance, and storage structures to persist the setting
  • Modified instance startup logic to append --dangerously-skip-permissions to claude commands when danger mode is enabled
  • The flag only affects claude instances (not aider or other programs)

Usage

# Start claude-squad with danger mode enabled
cs --danger

@github-actions
Copy link

github-actions bot commented Jul 10, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@mihirpenugonda
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@mihirpenugonda
Copy link
Author

@jayshrivastava could do this on --autoyes instead also what do you think?

@jayshrivastava
Copy link
Collaborator

@mihirpenugonda Thanks for the contribution. Why doesn't cs -p "claude --dangerously-skip-permissions" work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants