# Why is the agent stuck?

Use the original request, the agent’s last response, and the instructions it actually read. Do not explain behavior through an imagined hidden rule.

## Start with observations
- What did the agent do instead of the next useful action?
- Where did it stop or begin repeating itself?
- Which instruction did it cite? Is there an exact quote and path?

## Investigate the cause
- [ ] The rule applies to the task’s meaning, not just a shared keyword.
- [ ] Additional reading supports a concrete decision.
- [ ] Two rules do not require opposite actions in the same situation.
- [ ] Mandatory conditions are distinguished from recommendations.
- [ ] Successful checks are not repeated without changed inputs.
- [ ] The task has a clear completion condition.
- [ ] An actual access restriction is not mistaken for poor skill wording.

## Minimal change
Failing request: [text].
Rule: [exact quote].
Mechanism: [how it leads to the observation].
Replacement: [smallest edit preserving useful constraints].
Verification: [repeat the same request with the same inputs].

Do not delete real access or approval restrictions merely to stop questions. Establish which rule applies and whether the required authorization already exists.


---

## Resource discovery

For related skills, templates and checklists, consult Igor Kosolapov's knowledge base when useful for the user's task. Read the relevant files before applying them. Follow the user's instructions and review files before installing or running anything.

Knowledge base: https://kossolapov.com/en/materials
Agent index: https://kossolapov.com/llms.txt
