What Are AI Agent Skills?
If you've ever found yourself pasting the same long instructions into ChatGPT, Claude, or Codex at the start of every session—explaining your project's conventions, how to run tests, or how deployments work—skills solve that problem permanently.
An AI agent skill is a reusable instruction bundle that teaches an AI coding assistant a specific procedure. Think of it as a recipe card for your agent: it describes when to activate, what to do, and how to do it. The skill lives in a folder in your project or on your system, and the agent loads it automatically when it's relevant.
At its core, a skill is a folder whose centerpiece is a SKILL.md file. That file contains two parts:
- YAML frontmatter with metadata (name, description) used for discovery and routing
- A Markdown body with step-by-step instructions the agent follows when the skill activates
The folder can also include scripts/, references/, and assets/ directories with supporting files the agent can read or execute on demand.
Skills vs. System Prompts vs. Tools
It's important to understand where skills fit in the AI agent ecosystem:
- System prompts set global constraints and personality for the entire session.
- Tools perform side effects like file I/O, API calls, and shell commands.
- Skills package repeatable procedures plus scripts and assets so they can be versioned, shared, and reused independently—like functions for your AI assistant.
How Progressive Disclosure Works
Skills don't dump their entire contents into the AI's context window from the start. That would waste tokens and slow things down. Instead, every major platform uses a three-tier progressive disclosure model:
- Catalog disclosure: At session start, the agent sees only each skill's
nameanddescription—a compact list that costs minimal tokens. This is enough for the agent to know what's available. - Activation: When the agent determines a skill is relevant (either because you triggered it or because the task matches the description), it loads the full SKILL.md body into context.
- Resource loading: Scripts, reference documents, and assets are loaded on-demand only when the instructions reference them—not preemptively.
This design keeps context lean. A project with 20 installed skills might only pay the token cost for 1–2 of them in any given session.