Agent Skills
Agent Skills are reusable, project-specific (or user-wide) workflows. Each skill
is a folder with a SKILL.md file describing what it does and how to do it. Kolega
Code discovers them automatically and exposes each one as a /skill-name
slash command.
When you activate a skill, its instructions — and a manifest of any bundled resource files — are loaded into the conversation, so the agent can follow a specialized procedure on demand.
Where skills live
Section titled “Where skills live”Skills are discovered from two locations:
| Scope | Location |
|---|---|
| User | ~/.agents/skills/ |
| Project | <project>/.agents/skills/ |
Each skill is a directory containing a SKILL.md:
Directory.agents/
Directoryskills/
Directoryrelease-notes/
- SKILL.md Required: frontmatter + instructions
- template.md Optional bundled resource
Directorytriage-issue/
- SKILL.md
If a project skill and a user skill share a name, the project skill wins.
Writing a SKILL.md
Section titled “Writing a SKILL.md”A SKILL.md is Markdown with a YAML frontmatter block. Two fields are required:
---name: release-notesdescription: Draft release notes by summarizing changes since the last git tag.---
# Release Notes
1. Find the most recent git tag.2. Collect the commits since that tag.3. Group them into Features, Fixes, and Chores.4. Write the notes using `template.md` in this skill's directory.Conventions Kolega Code checks (and warns about):
nameanddescriptionare required.nameshould match the skill’s directory name.nameshould be lowercase, use hyphens, be ≤ 64 characters, and avoid--.descriptionshould be ≤ 1024 characters.
Bundled resource files (anything other than SKILL.md) can be referenced with
paths relative to the skill directory, and the agent can read them on demand.
Using skills
Section titled “Using skills”-
List them: run
/skillsin the composer, orkolega-code ask "/skills". -
Activate one: run
/release-notes, optionally followed by a request:/release-notes summarize changes since v0.1.0 -
In
ask: the same/skill-namesyntax works — seekolega-code ask.
Diagnostics
Section titled “Diagnostics”If a SKILL.md is malformed or a name doesn’t follow the conventions above, the
catalog records a diagnostic (error or warning) instead of silently dropping the
skill. /skills shows these diagnostics alongside the list, so you can spot a
skill that isn’t loading and why.