# 3.2 Agent Skills (SKILL.md)

Filesystem-based procedural knowledge, loaded through progressive disclosure.

1. Level 1: only name + description metadata is preloaded.
2. The task matches a skill description.
3. Level 2: SKILL.md is read and appended to context.
4. Level 3: the bundled script executes; only stdout returns.

- **Use when:** Repeatable domain procedures with bundled scripts.
- **Avoid:** Monolithic SKILL.md files and untrusted skills: they execute code.

```
skills/pdf/
    SKILL.md
    scripts/extract.py

# SKILL.md
---
name: pdf
description: Read tables and forms from PDF files.
---
1. Run scripts/extract.py <file>
2. Check the totals
3. Return JSON
```

## References

- [Equipping agents with Agent Skills](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills) (Anthropic)
- [Agent Skills open format](https://agentskills.io) (agentskills.io)
- [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) (Anthropic)
- [Effective context engineering for AI agents](https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents) (Anthropic)
