Skills
Skills are SKILL.md files that inject specialized instructions into the agent's system prompt when triggered by task keywords.
Structure
Each skill lives in a directory with a SKILL.md file:
skills/
├── coding/
│ └── file_ops/
│ └── SKILL.md
└── testing/
└── write_tests/
└── SKILL.mdSKILL.md format
markdown
<!-- name: coding/file_ops -->
<!-- displayName: File Operations -->
<!-- description: Safe file reading, writing, and editing -->
<!-- triggers: read write edit file -->
# File Operations
When working with files, always:
1. Read before editing
2. Use exact text matching for edits
3. Preserve CRLF line endings
4. Handle BOM correctlyLoading order
Skills are loaded from these locations (priority order):
- Project skills —
skills/in the project root - User skills —
~/.logician/skills/ - Global skills — installed via package manager
Triggers
Skills activate automatically when the user prompt matches trigger keywords:
yaml
# In SKILL.md frontmatter
triggers:
- read
- write
- edit
- fileWriting custom skills
- Create a directory:
mkdir -p skills/my-skill - Create
SKILL.mdwith frontmatter and instructions - Restart the agent — the skill loads automatically
Skill diagnostics
The agent reports skill loading status:
[SKILL] Loaded: coding/file_ops (triggers: read, write, edit, file)
[SKILL] Loaded: testing/write_tests (triggers: test, spec)
[WARN] Skill collision: my-skill overrides project/my-skill