Every week someone asks me what those "skills" I keep mentioning actually are. Short answer: it's the simplest way to teach an AI a new trick, and have it repeat that trick the same way, every time. I use skills every day in Claude Code, from how I write a commit to how I review PHP security. No fluff: here's what they are, what they're for, what that SKILL.md file is, and how to build your own, plus 4 ready-made skills to download at the end.
What AI Skills are
Think of a skill as a recipe you hand to the AI: a set of instructions (and, optionally, scripts and supporting files) that teaches the model to do a specific task your way. Instead of re-explaining everything each conversation, you store that knowledge once, and the AI pulls it in on its own when the task shows up.
Agent Skills started at Anthropic (the company behind Claude) and became an open standard. The nice part: the same skill works in Claude, ChatGPT and Gemini, plus coding tools like Claude Code, Codex and Gemini CLI. And it's just text, no SDK or framework to install.
What they're for (in practice)
- Standardize: the AI follows your conventions (commits, reviews, writing tone) without you repeating yourself.
- Save time and context: the knowledge is stored; you don't paste the same instructions every single time.
- Share: version it in Git and hand it to your team. Everyone gets the same built-in "expert".
- Compose: several small, focused skills beat one giant, confusing prompt.
What the SKILL.md file is
Every skill is a folder with at least one file called SKILL.md. It has two parts:
- A YAML frontmatter at the top (between
---) with two required fields:name— the identifier, lowercase with hyphens (e.g.commit-craft);description— what the skill does and when to use it. That sentence is how the model decides, on its own, to trigger the skill.
- The Markdown body: the instructions themselves, the step-by-step the AI should follow.
A minimal SKILL.md:
---
name: commit-craft
description: Use when writing commit messages from a diff.
---
# Commit Craft
You write commit messages in the Conventional Commits format...
The golden tip: nail the description. It's what makes the model remember to use the skill at the right moment. A vague description = a skill that never fires.
How to build your own skill, step by step
- Create a folder named after the skill (e.g.
commit-craft/). - Inside it, create
SKILL.mdwith the frontmatter (name,description) and a body with the instructions. - (Optional) Bundle scripts, examples or reference files in the same folder. The AI can run or consult them.
- Keep
SKILL.mdlean (Anthropic recommends under ~500 lines). A focused skill > a skill that tries to do everything. - Install it: in Claude Code, drop the folder into
~/.claude/skills/(or your project's skills directory). Done. Claude now considers the skill whenever thedescriptionmatches the task.
In Claude Code you can also install official skills via Anthropic's plugin marketplace (anthropics/skills), which auto-update. But the real fun is building your own, in your own style.
How to create a skill in Claude, ChatGPT and Gemini
No terminal needed. All three accept the same folder with a SKILL.md, uploaded from the browser. What changes is the menu and who has access (checked against the official help pages on November 23, 2026; menus change often):
| Where | Path | Who has it |
|---|---|---|
| Claude (claude.ai) | Customize → Skills → + → Create skill → Upload a skill (the .zip) | Paid plans (Pro, Max, Team, Enterprise), with code execution on |
| ChatGPT | Plugins → Skills → Create → Upload from your computer | Business, Enterprise, Healthcare and Edu, if the admin allows uploads |
| Gemini (gemini.google.com) | Customize → Skills → Create → Upload (the SKILL.md, the folder or the .zip) | Personal Google account, 18+, on the web or the Mac app. Gems became skills in November 2026 |
Three things that apply to all of them:
- The folder goes at the top of the zip. Inside the
.zipyou needmy-skill/SKILL.md, not a looseSKILL.md. Compress the folder, not the files inside it. nameis lowercase with hyphens (my-skill), no spaces or accents.- Review third-party skills before uploading. A skill can carry instructions and code; ChatGPT even scans uploads and may flag a skill as "Needs Review".
You can also ask the AI itself to write the skill: Claude and ChatGPT ship a built-in "create a skill" skill. If you'd rather fill in a form that hands you a correctly structured .zip, use SkillForge.
Error "SKILL.md must start with YAML frontmatter (---)": how to fix it
It's the most common error on a first skill, and it's almost never the content: it's the start of the file. The standard is strict: the three dashes --- must be the very first thing on line 1. Causes, most common first:
- A blank line or space before
---. Delete everything above it. - An invisible BOM (Windows Notepad and some editors save "UTF-8 with BOM"). Save as UTF-8 without BOM; in VS Code, click "UTF-8 with BOM" in the status bar and pick "Save with Encoding → UTF-8".
- A Markdown heading before the frontmatter (
# My skillon line 1). The heading goes after the second---. - Wrong dashes: an em dash (—) pasted from a document, or only two hyphens. It's three plain hyphens.
- Unclosed frontmatter. It must open and close with
---, withnameanddescriptionin between.
The right shape, from the first character on:
---
name: my-skill
description: Use when... (what it does and when to use it)
---
# My skill
Instructions here.
If the error is a different one, it's almost always a non-standard name (uppercase, accents, spaces) or an empty description.
Not a developer? Ready-made skills for your profession
The 4 skills below are for developers. For marketing, accounting and law, I put process skills in the Library (in Portuguese): content calendar, month-end checklist, case summary and more, ready to upload to Claude, ChatGPT or Gemini.
The killer move: 4 ready-made skills to download
So you don't start from scratch, I left you 4 generic, useful skills. Download, unzip the folder into ~/.claude/skills/, and use it today:
Each .zip holds the skill folder with its SKILL.md. Open it and read. It's plain text, easy to adapt to your taste in 2 minutes.
SKILL.md (and the .zip folder with attachments) from a form, 100% in your browser.
Open SkillForge →In short
A skill = a folder + a SKILL.md with name, description and instructions. It's the cleanest way to turn "the way you do things" into something the AI repeats on its own, the same way every time. Start with one of these 4, edit it, and soon you'll have a pocket team of experts.
This post is part of the guide How to work with an AI agent (skills, memory, cost and security).
I want to automate the way I work
That's exactly what I do for businesses, in applied AI: take the repetitive task off people's plates, with AI, automation and custom code. If that fits your case, let's talk.