cd /news/ai-agents/what-is-skill-md-a-practical-guide-t… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-34682] src=dev.to β†— pub= topic=ai-agents verified=true sentiment=Β· neutral

What Is SKILL.md? A Practical Guide to AI Agent Skills

SKILL.md has rapidly become a standard format adopted by AI coding agents including Claude Code, Cursor, Codex CLI, and Gemini CLI. A skill is a folder containing a SKILL.md file that teaches an AI agent to perform a specific task, with frontmatter metadata and markdown instructions. The format solves the problem of agents starting from zero each session by allowing developers to write conventions once and have them applied consistently across all supporting agents.

read3 min views1 publishedJun 20, 2026

If you work with AI coding agents, you have probably seen SKILL.md mentioned and wondered what it actually is. In a matter of months it went from one company's feature to a standard adopted across Claude Code, Cursor, Codex CLI, Gemini CLI and more. Here is the plain explanation, with no hype. A skill is a folder containing a SKILL.md file that teaches an AI agent to do a specific task well. Instead of re-explaining your conventions, your workflow, or your standards every single session, you write them down once. The agent reads them automatically whenever they are relevant.

Think of it as the onboarding note you would give a capable colleague taking over a task β€” except you write it once, and every agent that supports the standard reads it.

Before skills, every agent started from zero each session. You re-explained your code review standards, your documentation style, the quirks of your project β€” over and over. A skill captures that knowledge permanently. And because SKILL.md is a shared format, the same skill works across every agent that supports it. Write once, use everywhere. That combination β€” solving a real shared problem, simply β€” is why it spread so fast.

Every SKILL.md has two parts.

The frontmatter is YAML metadata between two lines of three dashes. It has two required fields: a name

(short, lowercase, hyphenated) and a description

(what the skill does and, crucially, when to use it).

The body is plain markdown β€” the actual instructions. The steps, the order, the conventions, the things to check.

The frontmatter tells the agent when to use the skill. The body tells it how.

Skills range from simple to powerful:

You do not need to start complex. A markdown-only skill that encodes how you like code reviewed, or commits written, or docs formatted, is genuinely useful on day one.

Of the two required fields, the description matters far more than people expect. The agent decides whether to load a skill by reading its description and matching it against what you asked. Write the description too narrowly and the skill never fires β€” no matter how good the instructions inside are.

The fix is to write the description around the words you would actually type, including the synonyms. Not "Reviews pull requests" but "Reviews code for bugs, style and security. Use when the user asks to review, check, audit or look over code, a pull request, a diff or a file." That one habit prevents most "my skill does not work" problems.

A skill is a small, durable investment: a markdown file that teaches your agent something, once, and applies it consistently across every agent you use. Start with whatever you explain most often, get the description right, and you will wonder how you worked without it.

Free starter: The format, a working template, and the description technique are all on a free cheat sheet: AI Agent Skills Quick-Start Cheat Sheet

Go deeper: The full guide covers the complete specification, five build walkthroughs, ten production-ready templates, security, and a 30-day plan: AI Agent Skills: The Complete SKILL.md Standard Guide

What is the first skill you would write β€” the thing you explain to your AI most often? Curious to hear in the comments.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/what-is-skill-md-a-p…] indexed:0 read:3min 2026-06-20 Β· β€”