[Feature Request] Limit actions per request flag

Status Closed — not planned
Maintainer reply None cached
Activity 4 comments · opened Apr 8, 2025 · 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 ↗