[Feature Request] Limit actions per request flag

Resolved 💬 4 comments Opened Apr 8, 2025 by amaruy Closed Dec 30, 2025

I've been running into Claude getting stuck trying to do something. Especially when running Claude in non-interactive mode, it would be great to have a configurable flag to break the convo after a certain number of actions / tools.

something like:
claude -p --limit-actions 10 "fix the bug in code.py"

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗