Skip to content Black Friday 2026: 10 AI tool deals, each checked on the vendor's own page →

Agent Skills: The SKILL.md Format, and Where Claude, ChatGPT, Gemini and Codex Keep Them

An agent skill is a folder with a file called SKILL.md inside: a name, a one-paragraph description of when to use it, and instructions. The AI reads only the name and description up front, and loads the rest when a task matches. Claude, ChatGPT, Gemini, Codex, GitHub Copilot and Cursor all read the same format, so a skill written once can be installed in each of them, within a few limits that differ by app.

Anthropic built the format, published it as an open standard in December 2025, and in October 2026 handed it to the Linux Foundation's Agentic AI Foundation, saying more than 70 agent platforms had adopted it by then.

What's inside a SKILL.md

The file is YAML front matter followed by plain Markdown. The specification at agentskills.io requires two fields:

  • name: 1 to 64 characters, lowercase letters, digits and hyphens, no hyphen at either end and no double hyphen. It must match the folder's name.
  • description: up to 1,024 characters, saying both what the skill does and when to use it. This is the only part the AI sees before deciding to load the skill, so it carries the trigger words.

Four optional fields exist: license, compatibility (up to 500 characters, for things like "needs Python 3"), metadata (any key-value pairs) and an experimental allowed-tools. The body below the front matter has no required format.

A skill can also carry three optional folders: scripts/ for code it runs, references/ for longer documents and assets/ for templates or images. A complete one looks like this:

weekly-status-report/
├── SKILL.md
├── references/
│   └── team-glossary.md
└── assets/
    └── report-template.md
---
name: weekly-status-report
description: Use when the user pastes task updates, commit notes or meeting notes and asks for a weekly status report, a progress update or a summary for their manager.
---
# Weekly status report

1. Group the input into: done this week, in progress, blocked, next week.
2. Fill assets/report-template.md with those groups. Keep each line under 20 words.
3. Write team terms as defined in references/team-glossary.md.
4. If an item has no owner, write "owner: ?". Don't guess.
5. End with one line naming the biggest risk, or "No new risks."

Why skills don't fill up the context window

The spec calls the loading pattern progressive disclosure, and it has three steps. At startup the AI loads only each skill's name and description, about 100 tokens per skill. When a request matches, it reads the full body, which the spec recommends keeping under 5,000 tokens and 500 lines. Files in the subfolders load only if the instructions point to them, and in Claude a script's code never enters the context at all, only its output does.

That's what makes fifty installed skills affordable: you pay roughly a paragraph each until one is used.

Skill, prompt, project, MCP server or subagent?

ThingWhat it doesWhen it loadsUse it for
PromptConversation-level instructions for one-off tasksWhen you paste itA job you do once
Custom instructionsApply broadly to all your conversationsEvery chatYour role, language, preferred format
ProjectStatic background knowledge for chats inside itEvery chat in that projectOne client, course or codebase
SkillA procedure, with files and scripts if neededOnly when a task matchesA job you repeat across subjects
MCP serverConnects the AI to external servicesIts tools are listed each sessionReading your calendar, a database, an API
SubagentAn isolated worker with its own context windowWhen the main agent hands off a taskLong side jobs that would clutter the chat

Anthropic's Claude Code docs sum it up in one line: skills handle on-demand knowledge and workflows, MCP handles external connections, subagents handle isolation. They combine: a skill can tell the AI how to use an MCP server's tools well. Inside Claude, the difference between a skill and a project is worked through in what Claude skills are.

Where each app keeps skills

Chat apps on the web, desktop and phone take an upload; coding tools read folders on disk. As of November 2026:

AppWhere skills goHow it's calledWho gets it
Claude (web, desktop, mobile)Upload a ZIP of the folder under Customize > Skills, with code execution turned onAutomaticallyAll plans, Free included, per the help center
Claude Code~/.claude/skills/ for you, .claude/skills/ for one repoAutomatically, or /skill-nameAny Claude Code user
Claude APIUploaded through /v1/skills, attached in container.skills; up to 20 per requestBy the requestAPI accounts
ChatGPTPlugins > Skills: create with chat, with the editor, or uploadAutomatically, or @Business, Enterprise, Healthcare and Edu
Codex (CLI, IDE, app).agents/skills from the working folder up to the repo root, or ~/.agents/skills$skill-name or /skillsCodex users
Gemini appCustomize > Skills: upload a SKILL.md, folder or .zip (web and Mac)/ (moving to @), or automaticallyPersonal accounts, 18+
Gemini CLI.gemini/skills or .agents/skills, and the same under ~/Automatically, after you consentGemini CLI users
VS Code with Copilot.github/skills, .claude/skills or .agents/skillsAutomatically, or /Copilot users
Cursor.agents/skills or .cursor/skills, and it also reads Claude's and Codex's foldersAutomatically, or / in Agent chatCursor users

Anthropic's developer docs list custom skills on claude.ai for paid plans only, while its help center includes Free, so a free account may not see the upload button. And ChatGPT's help page names only the business and education plans; if you're on Plus and don't see a Skills tab, that's why. In Gemini, skills are replacing Gems on personal accounts; what that means for an existing Gem is in saving and rebuilding your Gems.

One skill that installs everywhere

No single folder is read by every coding tool. .agents/skills covers Codex, Gemini CLI, VS Code and Cursor, but Claude Code's docs list only .claude/skills; and .claude/skills isn't on Codex's or Gemini CLI's list. A repo that should work for everyone keeps the skill in both folders.

The file itself travels if you stay inside the shared rules:

  1. Use only the six spec fields. Claude Code adds extras such as disable-model-invocation and context: fork, and an upload to claude.ai or the API fails with a hard error on a field it doesn't know.
  2. Keep the description under 200 characters. The spec allows 1,024, but Claude's help center caps it at 200.
  3. Leave "claude" and "anthropic" out of the name. The Claude API rejects both as reserved words.
  4. Don't make scripts depend on the internet. The Claude API runs skills with no network access, and the Gemini app blocks scripts that call out. Gemini also refuses some script types, TypeScript and Ruby among them, so Python is the safe choice.
  5. Test it in each app. GitHub's own guide to shipping one skill to several agents warns that clients can differ in their available models, tools, credentials, and permissions.

Uploaded skills don't sync between apps either. Anthropic says custom skills do not sync even between claude.ai, the API and Claude Code, so each copy gets updated by hand.

When a skill is the wrong tool

Google's skill-writing advice says not every task requires a skill, and lists the cases: a one-off job, something the AI already does well without help, and a process that keeps changing.

A good first candidate is a job you've explained to the AI three times, with the same corrections each time.

Draft a skill from a job you already do

Paste this into Claude, ChatGPT or Gemini, then describe the job in your own words underneath. It produces a SKILL.md that stays inside the portable rules above.

I want you to act as an author of agent skills in the open SKILL.md format.
I'll describe a task I repeat. Write one complete SKILL.md for it:
- Front matter with only "name" and "description".
- name: lowercase words joined by hyphens, starting with a verb, no "claude" or "anthropic".
- description: under 200 characters, starting with "Use when", listing the phrases I'd actually type to ask for this task.
- Body: numbered steps, an example of a good result, a "Common mistakes" list, and a rule for what to do when information is missing (ask, never invent).
- Keep the body under 60 lines.
Before writing, ask me up to three questions if the task is unclear.

My task: [describe the job, the input you start from, and what a finished result looks like]

For skills other people already wrote and tested, browse our catalog of 60+ Claude skills and check each against the five rules above before installing it elsewhere. Building one by hand, with scripts and test prompts, is covered step by step in how to create a Claude skill; Anthropic's skill-creator interviews you and writes the file. For coding, Addy Osmani's agent-skills pack bundles 25 engineering skills, and our pick of Claude skills to install first covers the rest.

Sources

Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Confirm by email and get the free Prompt Cheat Sheet (PDF). Unsubscribe any time. Privacy policy