Skip to content
Back to skills

Agent Skills Best Practices

ASecurity

Agent-skill design conventions for focused scope, precise discovery, and progressive disclosure. Use when creating, restructuring, or reviewing `SKILL.md`-based skills.

  • 12 stars
  • 0 votes
  • 1 copy
  • 2 views
  • Added September 6, 2026
code-qualitypythongitdocumentation

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add Casper-Studios/casper-marketplace --skill agent-skills-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Skills Best Practices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Skills Best Practices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/casper-studios-agent-skills-best-practices/badge)](https://www.skillsdirectory.com/skills/casper-studios-agent-skills-best-practices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-skills-best-practices
description: Agent-skill design conventions for focused scope, precise discovery, and progressive disclosure. Use when creating, restructuring, or reviewing `SKILL.md`-based skills.
license: MPL-2.0
metadata:
  author: 'Basti Ortiz <ortiz@bastidood.dev>'
  source: 'https://github.com/BastiDood/skills'
---

# 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

1. Make the skill easy to find and invoke.
   - [Name the procedure or subject the skill covers.](./references/skill-naming.md)
   - [Describe what the skill does and when to invoke it.](./references/trigger-descriptions.md)
2. Keep each skill focused.
   - [Split unrelated triggers or decisions into separate skills.](./references/skill-scope.md)
   - [Separate essential guidance from conditional detail.](./references/context-and-disclosure.md)
   - [Explain when each reference applies.](./references/reference-routing.md)
   - [Contrast approaches and explain why the difference matters.](./references/examples.md)
   - [Keep prose direct and formatting consistent.](./references/prose-and-formatting.md)
3. Use scripts for deterministic work and models for judgment. Prefer existing tools and standard libraries. Declare required third-party Python dependencies with [PEP 723](https://peps.python.org/pep-0723/) and lock them with `uv`.
   - [Make scripts reproducible and usable from read-only installations.](./references/executable-scripts.md)
4. Make guidance usable outside its source project.
   - [Write portable guidance with framework-appropriate examples.](./references/agnostic-references.md)
5. Keep resources portable and in the skill that owns them.
   - [Keep resource paths flat and one hop from the entry point.](./references/directory-structure.md)
   - [Identify external libraries without copying their documentation.](./references/library-sources.md)
   - [Check distribution and licensing rules before bundling assets.](./references/asset-distribution.md)

Files in this skill

  • LICENSE.txt16.3 KB
  • SKILL.md2.2 KB
  • agents/openai.yaml145 B
  • references/agnostic-references.md560 B
  • references/asset-distribution.md795 B
  • references/context-and-disclosure.md1.4 KB
  • references/directory-structure.md926 B
  • references/examples.md1.2 KB
  • references/executable-scripts.md1.5 KB
  • references/library-sources.md835 B
  • references/prose-and-formatting.md841 B
  • references/reference-routing.md2.2 KB
  • references/skill-naming.md820 B
  • references/skill-scope.md574 B
  • references/trigger-descriptions.md979 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.