Agent Skills Best Practices
Use skills for decisions, procedures, and knowledge that change how the agent works. Do not repeat documentation it can look up.
Keep essential guidance in SKILL.md. Put conditional detail in references and explain when to read each.
Show, don't tell: pair contrasting examples with a short explanation.
References
- Make the skill easy to find and invoke.
- Keep each skill focused.
- Use scripts for deterministic work and models for judgment. Prefer existing tools and standard libraries. Declare required third-party Python dependencies with PEP 723 and lock them with
uv. - Make guidance usable outside its source project.
- Keep resources portable and in the skill that owns them.