Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

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.

By 3 min read
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On 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.md under 500 lines; move detail to references/ 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 description plus when_to_use at 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

Covers

Back to top