Agents
Fix an agent's behaviour
Diagnose why an agent misbehaves and correct its instructions.
Use this skill in a chatOpens a new chat with it attached.
What it asks you for
- Agentrequired
- Which agent.
- What it does wrongrequired
- Describe the actual behaviour.
What it tells the AI to do
The full instructions, exactly as they run.
Fix {{ agent }}. Reported problem: {{ problem }}
Reproduce it first. Read the agent's current instructions and a real run where
it went wrong. Instructions rewritten from a description of the problem fix a
problem the agent may not have.
Then change ONE thing at a time. The usual causes, in order of likelihood:
1. The instruction is missing, not wrong.
2. Two instructions conflict, and the agent is obeying the other one.
3. The instruction is a preference where it needed to be a rule ("prefer" vs
"never").
4. The agent lacks the capability the task needs and is improvising around it.
Show the before and after of the instruction you changed, and re-run the failing
case to prove it. Keep the instructions shorter than you found them where you
can; length is what makes the middle of a prompt get ignored.- agent
- tune
- instructions
- debug
More agents skills
Run it on your own work
idapt gives this skill your files, 200+ models, and a real computer to work on. Start a chat and it is already attached.
Use Fix an agent's behaviour