Skip to content

Your first skill

A skill is a directory containing one SKILL.md (or skill.yaml + body) and any optional sidecars. This page walks through creating one from scratch.

.adeptability/skills/pr-review/
├── SKILL.md # frontmatter + markdown body (required)
├── scripts/ # optional sidecar: helper scripts
├── references/ # optional sidecar: reference docs
└── assets/ # optional sidecar: images, data files

SKILL.md is YAML frontmatter followed by the markdown body:

---
id: pr-review
description: Use before opening a PR. Tests, security, performance.
activation: agent # always | globs | agent | manual
allowed-tools: [Read, Grep] # carried into Claude Code
tags: [review, quality]
---
# PR Review Checklist
- [ ] Tests added or updated
- [ ] No secrets in the diff
- [ ] Public API changes documented

The schema lives at pkg/adeptschema/skill.schema.json and is validated on every load.

activation tells each harness when to surface the skill. adept translates it per harness — see the Harness Comparison for the full table.

Mode Meaning
always Always in context
globs Active when the current files match the skill’s globs
agent The agent decides based on description (progressive disclosure)
manual Only when explicitly invoked
Terminal window
adept skill add pr-review --edit

--edit opens the scaffolded SKILL.md in $EDITOR. To import an existing skill directory instead of scaffolding a blank one:

Terminal window
adept skill add pr-review --from ./path/to/existing-skill
Terminal window
adept harness add claude-code
adept sync
cat .claude/skills/pr-review/SKILL.md
Terminal window
adept skill list # project canonical + skills resolved from libraries
adept skill list --project-only # only skills in the project canonical