Cheat sheet
Agent Skills cheat sheet
Where Claude Code, Codex, Cursor, Copilot and Antigravity look for Agent Skills, the install command for each, how to invoke a skill and the size budgets.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOn this page
An Agent Skill is a folder with a SKILL.md file: YAML frontmatter with a name and description, then Markdown instructions, optionally with scripts and reference files. The open format is defined at agentskills.io and read by most coding agents. This page collects the details you look up most when installing skills: folder locations, install commands, invocation and size budgets. Checked against each agent’s documentation and the specification on 19 and 20 November 2026. For the concepts, start with What are Agent Skills?.
Folder locations
| Agent | Project | Personal |
|---|---|---|
| Claude Code | .claude/skills/<name>/ (also nested folders up to the repo root) |
~/.claude/skills/<name>/ |
| Codex (CLI, IDE, app) | .agents/skills/<name>/ from the working directory up to the repo root |
~/.agents/skills/<name>/; admins: /etc/codex/skills/ |
| Cursor | .cursor/skills/ or .agents/skills/; also reads .claude/skills/ and .codex/skills/ |
~/.cursor/skills/ or ~/.agents/skills/ |
| GitHub Copilot | .github/skills/, .claude/skills/ or .agents/skills/ |
~/.copilot/skills/ or ~/.agents/skills/ |
| Google Antigravity | .agents/skills/ (and parents up to the repo root) |
~/.gemini/config/skills/ |
| Gemini CLI | .gemini/skills/ or .agents/skills/ |
~/.gemini/skills/ or ~/.agents/skills/ |
Gemini CLI stopped serving Google AI Pro, Ultra and free Code Assist users on 18 June 2026; enterprise Code Assist licences and paid API keys keep it. Consumer users moved to Antigravity.
The SKILL.md file itself
This page sticks to where skills live and how to install and invoke them. For the file format, the SKILL.md format reference covers every frontmatter field in the open spec and the extra fields each client accepts or rejects, and the SKILL.md template cheat sheet has a copyable starting point. The SKILL.md builder checks a skill against the spec and each client’s rules in your browser.
Install commands
# Cross-agent installer (Vercel's skills CLI); detects installed agents
npx skills add owner/repo
npx skills add owner/repo --skill skill-name -a claude-code -g
npx skills list
npx skills update
# GitHub CLI 2.90+ (pin a tag or SHA)
gh skill install OWNER/REPO SKILL@v1.2.0
gh skill install OWNER/REPO SKILL --agent claude-code --scope user
# Claude Code: plugin marketplaces (pin with #ref)
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills
# Codex: built-in installer skill
$skill-installer <name or GitHub URL>
# Antigravity plugins
agy plugin install https://github.com/<owner>/<repo>
Manual install always works: copy the folder into the right location from the table above.
Invoking a skill
| Agent | Explicit | Automatic |
|---|---|---|
| Claude Code | /skill-name |
Yes, from the description |
| Codex | $skill-name, or /skills |
Yes |
| Cursor | / then pick the skill |
Yes |
| Copilot | /skill-name |
Yes |
| ChatGPT | @ mention |
Yes |
Size budgets
- Keep
SKILL.mdunder 500 lines; move detail toreferences/files, linked one level deep. - Each installed skill costs roughly 50 to 100 tokens at start-up (name and description); the body loads only when used.
- Claude Code truncates
descriptionpluswhen_to_useat 1,536 characters in its skill listing. - Codex caps the initial skills list at 2% of the context window by default; with many skills it shortens descriptions first.
Folder layout
release-notes/
├── SKILL.md # required
├── scripts/ # optional: code the agent runs (output enters context, source does not)
├── references/ # optional: docs the agent reads when needed
└── assets/ # optional: templates, images, data
Before installing someone else’s skill
- Read every file, especially
scripts/and any install instructions. - Check
allowed-tools: pre-approving shell access is a red flag in an unreviewed skill. - Look for instructions to fetch more instructions from a URL, or to hide actions from the user.
- Pin to a commit, not a branch.
Audit a skill before installing it turns this into a 20-minute routine, and the security checklist has the full list.
Install, format and porting guides
- How to install Agent Skills, agent by agent.
- SKILL.md format reference.
- Port a skill across agents.
- Browse reviewed skills in the Agent Skills directory.
Covers
Related
- What are Agent Skills (Claude skills)?
Claude skills, or Agent Skills, are folders with a SKILL.md file that agents load on demand. What goes in one, how loading works and when a skill fits.
- How to install Agent Skills in Claude, Codex, Cursor, Copilot and more
Where each agent looks for SKILL.md folders, and the exact commands to install Agent Skills in Claude Code, Claude apps and API, Codex, Cursor and Copilot.
- SKILL.md format reference
Every SKILL.md frontmatter field in the Agent Skills spec, the extra fields each agent adds, size budgets, folder layout and the mistakes that stop loading.
- Port one Agent Skill across Claude Code, Codex and Cursor
Strip non-portable fields, make scripts path-safe and install one source folder for every agent.
- SKILL.md template and frontmatter cheat sheet
A copy-ready SKILL.md template with frontmatter and body, the six frontmatter fields in the Agent Skills spec with their limits, and the YAML mistakes to avoid.