A skill is a focused instruction bundle for a recurring task. It can include a workflow, examples, constraints, and bundled scripts. Agents load the skill when the task matches, rather than carrying every possible procedure in the base prompt.
Design for a trigger
Start with a clear description of when the skill should be used. Then define the inputs, required checks, workflow, failure handling, and expected output. Avoid mixing unrelated tasks into one large skill.
Make it executable
Good skills reduce ambiguity with exact commands, safe defaults, and reusable scripts. They should fail closed when credentials, targets, or production boundaries are unclear.
Evaluate and improve
Test a skill against real cases, record where it fails, and revise the instructions or scripts. A skill is operational knowledge, so it should evolve with the systems it operates.