Skip to content
Back to skills

Guides

ASecurity

A good skill turns a task you keep explaining into a policy the agent follows the same way every time. The skill is finished when someone else's agent could run it from the file alone.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 28, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

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

Scanned November 28, 2026

npx -y skills add pantheonzeus/charness --skill guides --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Guides?

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

Security grade badge for Guides
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pantheonzeus-guides/badge)](https://www.skillsdirectory.com/skills/pantheonzeus-guides)

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
# Write a skill

A good skill turns a task you keep explaining into a policy the agent follows the same way every time. The skill is finished when someone else's agent could run it from the file alone.

## 1. Check it doesn't exist

Search the index first. The library is large, and a near-match you can extend beats a duplicate.

```bash
grep -i "your keyword" resources/skills/INDEX.md
```

Or ask in a session: *"Is there a skill for X?"* The agent runs the same check.

## 2. Copy the template

```bash
mkdir -p resources/skills/<category>/<skill-slug>
cp resources/skills/_template/SKILL.md resources/skills/<category>/<skill-slug>/SKILL.md
```

Pick an existing category ([catalog](../reference/skills.md)). `id` must match the folder name.

## 3. Write the contract first

```markdown
**Contract**
- **Input:** a company name and the meeting date.
- **Output:** `output/briefs/<YYYYMMDD>-<company>.md`, max two pages.
- **Allowed tools/artifacts:** WebSearch, WebFetch, the vault (read-only).
- **Done when:** every claim in the brief carries a source and the brief passes the evidence gate.
```

If you can't write *Done when* as something observable, the skill isn't ready. A vague contract turns the rest of the document into advice.

## 4. Write the blueprint in enforceable language

Numbered steps, each one naming an artifact, a check or a decision. Replace every "be careful" with the check that would show care. Keep the body short: deep material goes into `references/`, and deterministic work goes into `scripts/`.

## 5. Declare what it touches

| Key | When |
|---|---|
| `vault_writes:` | The skill creates or edits vault notes. Use the narrowest globs that cover them. |
| `requires:` | It needs tools, CLIs or other skills. Split mandatory from `optional`. |
| `modules:` | It uses shared modules (evidence gate, handoff, …). Values come from [`MODULES.md`](gh:resources/skills/MODULES.md). |

## 6. Register it, in the same change

1. Add one row to `resources/skills/INDEX.md` under the category: name · triggers · description · path.
2. Add the slug to the category's `_category.md` **Skills:** line.
3. Run `scripts/check.sh`. The frontmatter lint and the Agent Skills spec export must pass.

A skill missing from the index is invisible to the agent.

## 7. Let real runs improve it

At the end of every task the agent asks whether the skill should change. Accept, and it edits the `SKILL.md`, bumps `version` and `updated`, and logs the failure mode under **Optimizations/Gotchas**. Ten skills in the library are on version 7 or later. Each version fixed a failure that actually happened.

Files in this skill

  • add-a-headless-job.md3 KB
  • write-a-skill.md2.6 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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