How to add Skills with an AI agent
A skill is a folder with a SKILL.md file that tells the agent how to do one job. Put it in .claude/skills/ for Claude Code, or in .agents/skills/ for Codex and Cursor. The agent loads it when the task matches the description, or when you call it by name.
Checked against official docs on Oct 26, 2026.
Get the free starter kit. One short email a day when our setups change.
Free starter kit on signup: 2 Claude Code skills and 1 agent persona from our paid packs. By subscribing you agree to get The AI Loadout Daily, one email each morning. No spam, we never sell your email, and every email has a one-click unsubscribe link.
Claude Code
mkdir -p .claude/skills/release-notes (or ~/.claude/skills/ for all projects)Create .claude/skills/release-notes/SKILL.md with YAML frontmatter (name, description) between --- lines, then the instructionsCall it with /release-notes, or let Claude pick it when the description matches
Codex
mkdir -p .agents/skills/release-notes (or ~/.agents/skills/ for all projects)Write SKILL.md with name and description in the frontmatterAdd optional scripts/, references/ and assets/ folders next to it
Cursor
Use .agents/skills/ or .cursor/skills/ in the project, or ~/.cursor/skills/ globallyEach skill is a folder with a SKILL.mdCursor walks the skills folder recursively, so you can group skills in subfolders
Grok Bot
Do the task once with Grok BotAsk it to save what worked as a skill so it repeats the same steps next time
Gotchas
- The description decides when a skill loads. Write it as "Use when..." with the words people actually type.
- A skill that runs scripts runs them with the agent's permissions. Read third-party skills before installing.
- One .agents/skills/ folder works for both Codex and Cursor.
The loadout for this job
- Tools: Claude, Cursor
- Skill: Claude TDD skill
- Repo: Anthropic Agent Skills
- Model: Claude Opus 5.5
- Bot: Grok Bot
- Full setup: Best AI coding agent
FAQ
Where do Claude Code skills go?
In .claude/skills/<name>/SKILL.md for one project or ~/.claude/skills/<name>/SKILL.md for all of them.
What is the difference between a skill and an MCP server?
A skill is instructions and scripts the agent reads. An MCP server is a running program that gives the agent tools.
Related how-tos
Sources
Commands change. Check the linked docs before you run anything. All how-to guides