SKILL.md Format Guide: Structure, Pitfalls, and Examples

AlqEdge · November 2026 · 6 min read

If you've been reading about AI agents in 2026, you've seen "SKILL.md" everywhere. Claude Code uses them, OpenClaw/Hermes reads them, Gemini CLI loads them. But most guides explain what they are, not how to write one that actually gets used.

I've shipped five skills to GitHub and sold several via a one-person-company storefront. This is the format guide I wish I'd had — what the file looks like, the rules that matter, and the mistakes that get your skill rejected or ignored.

What a SKILL.md actually is

A SKILL.md is a plain-text playbook an agent reads before it does a task. That's it. No code execution, no hidden automation — the agent reads your instructions, then uses its own tools to follow them.

The magic isn't the format, it's the encoding: you're writing down a workflow you've run a hundred times, so the agent doesn't have to improvise.

The structure that works

Every skill I sell follows the same skeleton:

---
name: virtual-cfo
description: Run a one-person-company financial health check. Use when the user asks about runway, burn multiple, NDR, or LTV:CAC.
---

## Context
(When this skill applies, what problem it solves, what the output looks like)

## Steps
1. ...
2. ...

## Data
(Any benchmarks, reference tables, or sources the agent should use)

## Pitfalls
(The mistakes you've made — so the agent doesn't repeat them)

Three rules matter more than anything else:

  1. The description is your contract. Agents decide whether to load a skill based on its description alone. Write it as "Use when X" — concrete trigger conditions, not marketing copy. "Use when the user asks about runway, burn multiple, NDR, or LTV:CAC" beats "Advanced financial analysis for modern startups" every time.
  2. Write imperatively. Agents follow commands, not vibes. "Calculate burn multiple = monthly burn ÷ ARR" works. "Let's think about how the company is burning through money" gets you a paragraph instead of a number.
  3. Include the pitfalls. The most undervalued section. Every workflow has 5-10 ways it can go wrong — data unavailable, edge cases, wrong tool for the job. Write those down. An agent that knows your failure modes performs better than one that only knows your happy path.

Three mistakes that get skills rejected

Mistake 1: Generic prompts dressed up as skills. "If you could please analyze the financials..." — that's a prompt. Marketplaces (PromptBase, Agensi) reject these outright. A skill needs structure, decision rules, and ideally real data. We had exactly this happen: our first submission was rejected for being "too simple and reproducible." The fix: adding actual benchmark tables and computation scripts.

Mistake 2: Secrets in the file. Skipped this one the hard way. Scan for API keys, tokens, and internal paths before you publish. One commit with a hardcoded key and your skill's trust is gone.

Mistake 3: No data, no sources. A skill that says "use 2026 SaaS benchmarks" without naming them is fiction. Name your sources (Grid 130+, SaaSrise 2,500, Benchmarkit 342 companies in our case) so the agent — and your buyer — can verify.

Example: one section done right

From Virtual CFO's decision rules:

  • Runway < 6 months
  • Burn multiple > 2.0 (burning faster than growth)
  • NDR < 90% (existing customers are shrinking)
  • LTV:CAC < 3 (customer economics don't work)

Short, numeric, actionable. The agent can check each one and produce a verdict instead of an essay.

The 30-second install promise

The reason SKILL.md won as a format: installation is just dropping a file into a folder. No config, no dependencies, no prompt engineering. If your skill needs more than "save this file and restart", it's too complicated.

Where to go from here

If you want to see a full working example, the free Lite version of our Opportunity Validation skill shows the whole structure with real density-check data. The paid version adds the computation scripts and verified benchmarks.

And if you're packaging your own methodology into a skill, the 5-step playbook covers the full pipeline — from methodology to marketplace to payout, including which marketplaces actually work from China.

See a real SKILL.md before you write your own

Free Lite versions of every skill are on the site — install in 30 seconds.

Get the free Lite →