Agent Skills

Overview

Agent Skills provide expert-level, domain-specific knowledge to AI coding assistants through a lightweight, open format

Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows.

At its core, a skill is a directory containing a SKILL.md file with:

  • Metadata (name, description) that helps agents discover when the skill is relevant
  • Instructions that tell agents how to perform specific tasks
  • Optional resources (scripts, references, templates, assets)
my-skill/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code
├── references/       # Optional: detailed documentation
├── assets/           # Optional: templates, resources
└── ...               # Any additional files

Why Agent Skills?

Agents are increasingly capable but often lack the context needed for real work. Skills solve this by packaging:

Domain expertise — Specialized knowledge from legal review to data pipelines to design systems

Repeatable workflows — Multi-step tasks as consistent, auditable procedures

Team conventions — Organizational patterns, testing standards, commit formats

Cross-product reuse — Build once, use across any skills-compatible agent

How Skills Work

Skills work through progressive disclosure in three stages:

1. Discovery (at startup) Agents load only the name and description from each skill's frontmatter—just enough to know when a skill might be relevant. This keeps the context footprint small.

2. Activation (when relevant) When your task matches a skill's description, the agent loads the full SKILL.md instructions into context.

3. Execution (as needed) The agent follows the loaded instructions and may execute bundled scripts or load additional reference files on demand.

This design lets agents maintain awareness of many skills while keeping context windows focused on active work.

Progressive Disclosure Structure

Skills use a three-stage loading system to minimize context usage:

Stage 1: Discovery (~100 tokens per skill)

  • Only name and description loaded at startup
  • Agents scan these to identify potentially relevant skills
  • Low memory footprint enables hundreds of skills

Stage 2: Activation (<5000 tokens recommended)

  • Full SKILL.md body loads when skill is triggered
  • Contains core instructions, workflows, and anti-patterns
  • Keep under 500 lines for optimal performance

Stage 3: Execution (on-demand)

  • Scripts, references, and assets load only when needed
  • Agent executes code or reads detailed documentation
  • Specific files requested by instructions

Our Skill Collection

This documentation covers 23+ specialized agent skills across several categories:

Code Quality & Safety

Defensive programming, type safety, performance optimization, and security auditing

Testing

Test creation, validation, and automation patterns

Frontend/React

React, Next.js, and frontend framework optimization

Documentation

README generation, architecture docs, and code documentation

Project Onboarding

Set up agent behavior, project configuration, and architectural docs

QRSPI/OpenSpec Workflow

Spec-driven development with questions, research, design, and structured implementation

Specialized

Prompt optimization, design review, and skill creation

Next Steps

Learn More

About Agent Skills:

Community:

On this page