| name | stuck |
| description | Break out of circular patterns when the agent is repeating itself |
| when_to_use | When the agent appears to be stuck in a loop or repeating the same actions |
| context | inline |
Breaking Out of a Loop
You appear to be stuck in a repetitive pattern. Take a step back and:
- Identify the loop: What action have you been repeating? What error keeps occurring?
- Root cause: Why is the repeated approach failing? What assumption is wrong?
- Alternative approaches: List 3 completely different ways to solve this problem
- Choose the best: Pick the approach that avoids the pattern you've been stuck in
- Execute: Implement the new approach
Do NOT retry the same approach that has been failing.