Teach your agent
this once.
By Alvin
If you keep telling your agent to save the failing example before it fixes a bug, give it that instruction once. This issue includes a skill for Codex or Claude Code. Use it to draft a repair, then change one line and see whether the next brief gives you evidence you can check. [16]
What the agent reads
A skill is a folder with a SKILL.md file. The opening block between dashed lines contains the name and a description of when to use it. The agent can use that description to find a relevant skill. When invoked, it reads the full instructions. This skill also includes a worked example in its references folder for the agent to read when useful. [47] [48]
When a skill earns its place
Use a prompt for the task you have today. Save a skill when you want to repeat a method, such as saving a baseline, connecting each change to a visible behavior and checking the same input again. Keep standing project conventions in your project instructions. Use a skill for a workflow you want available on demand. [17] [18] [47] [48]
