# Crimson Leaf — Skills Catalog

Skills are context-sensitive reference documents injected into an agent's prompt
when a template declares a `skills:` array. They provide technical knowledge
without permanently inflating RAG storage.

## Available Guides

| Path | Purpose | Used by |
|------|---------|---------|
| `guides/PAETemplateGuide.md` | How to write PAE-Lang YAML templates | `write_template.yml` |
| `guides/PAEAgentGuide.md` | How to create agent.yml and identity.md files | `hire_agent.yml` |
| `guides/CorporateCharterGuide.md` | How to design a constitutional charter | `create_company.yml` |

## How Skills Work

1. A template declares `skills: ["guides/PAEAgentGuide.md"]` at the top level.
2. At prompt assembly time, the pipeline fetches each file from `pae/{company_slug}/skills/{path}`.
3. Content is injected as the `*** SKILLS & GUIDES ***` section in the agent's prompt.
4. The agent reads the guide as authoritative reference material for the current task.

Skills are company-sovereign — each company maintains its own skills library in its own repo.
