Skills

A skill is reusable engineering knowledge: guidance a loaded agent applies on demand — PostgreSQL schema rules, systematic debugging, TDD discipline. Unlike agents, a skill has no role or identity; it is an instruction set that activates when the task matches its description.

Skills are how AgentKrew avoids duplicating expertise across agents: agents reference skills, and the runtime loads the skill body only when needed (progressive disclosure), keeping every prompt small.

skill.yaml reference

yaml
name: postgres # required, kebab-case (^[a-z][a-z0-9-]*$)
description: PostgreSQL schema, query, indexing, and migration guidance # required, <= 500 chars
version: 1 # required, positive integer
tags: # optional, defaults to []
  - database

Skills use the shared base fields only — capabilities and skills are rejected here (strict objects flag unknown keys as errors). The description doubles as the activation description: runtimes match it against the task to decide when to load the skill, so quality checks require more than 20 characters of specific, trigger-worthy text.

SKILL.md structure

Kit quality requires these sections:

text
## When to use
## Core principles
## Preferred patterns
## Anti-patterns
## Verification checklist

plus a body of at least 500 characters — stubs fail agentkrew validate. Skills must contain actionable engineering knowledge (patterns, commands, checklists), not motivational prose.

The canonical SKILL.md needs no frontmatter: the renderer prepends name and description when generating runtime files, so every runtime receives the frontmatter shape it requires.

How skills load

Runtime Where it lives How it activates
Claude Code .claude/skills/<name>/SKILL.md Description match (Skill tool); directory name is also /<name>
Codex .agents/skills/<name>/SKILL.md Description match, /skills picker, or $name mention
OpenCode .opencode/skills/<name>/SKILL.md Native skill tool by name

In every case the session starts with name + description only and loads the full body when selected.

Agents opt into skills through the skills list in their agent.yaml (see agents), and workflow steps may attach per-step skills (see workflows).

Shipped skills

Engineer Kit (43): seven shown; the kit ships thirty-six more (framework, data, auth, billing, infrastructure, delivery, and process skills).

Skill Covers
typescript Strict types, narrowing, module boundaries
react Components, hooks, state ownership, accessible UI
postgres Schema, queries, indexes, migrations
testing Test design, fixtures, doubles
security Input validation, auth, secrets, injection
systematic-debugging Reproduce, isolate, hypothesize, fix, regress
expo Expo RN screens, Router, StyleSheet, SafeArea

Marketing Kit (8): each skill reads its inputs from the project's AGENTKREW.md, marks unsupported claims [NEEDS SOURCE], and never invents statistics, quotes, testimonials, rankings, or sources.

Skill Covers
brand-voice-guide Voice rules, tone dials, word lists, before/after rewrites
positioning Value proposition, target customer, differentiators, proof
copywriting-frameworks PAS, AIDA, before-after-bridge, headlines, CTAs
seo-keyword-research Intent types, clustering, keyword-to-page mapping
on-page-seo Titles, metas, headings, links, schema, alt text, audit
content-brief Goal, audience, intent, outline, sources, CTA briefs
competitive-analysis Comparison matrix, positioning gaps, source ratings
launch-planning Phase checklists, channel selection, metrics, timeline

agentkrew list skills --installed prints the full roster.

Creating a custom skill

Create .claude/skills/<name>/SKILL.md (or .agents/ / .opencode/ for the other runtimes) with the same frontmatter shape the renderer produces (name, description). agentkrew update only rewrites files it rendered, so yours survives updates; verify with agentkrew validate --installed.

Naming rules:

  • workflow-<name> is reserved: generated workflow skills occupy that prefix, and a kit skill squatting it would collide.
  • Avoid names that match a command — in Claude Code a skill and a command file claim the same /<name> and the skill wins; agentkrew validate flags the overlap.

See customization for the full authoring workflow.