How to install a Claude Code skill: 3 ways that work
A Claude Code skill is a folder with a SKILL.md file in it. Installing one means putting that folder where Claude Code looks: .claude/skills/ in your project, or ~/.claude/skills/ for every project. Claude Code picks up a new or changed skill in the current session.
There are three ways to get it there. All three end with the same folder on disk.
Where skills live
| Agent | This project | All projects |
|---|---|---|
| Claude Code | .claude/skills/<skill-name>/SKILL.md | ~/.claude/skills/<skill-name>/SKILL.md |
| Cursor | .agents/skills/ or .cursor/skills/ (also reads .claude/skills/) | ~/.agents/skills/ or ~/.cursor/skills/ |
| Codex | .agents/skills/ (in the folder and each parent up to the repo root) | ~/.agents/skills/ |
Way 1: copy the folder
This works for any skill you can download or clone. The folder name should match the name field in the skill's SKILL.md.
# this project only
mkdir -p .claude/skills
cp -r ~/Downloads/code-review .claude/skills/
# every project
mkdir -p ~/.claude/skills
cp -r ~/Downloads/code-review ~/.claude/skills/Check it: the file must be at .claude/skills/code-review/SKILL.md, not one folder deeper. A zip that unpacks into code-review/code-review/SKILL.md is the most common reason a skill does not show up.
Way 2: npx skills add
The open-source skills CLI from Vercel Labs installs skills from a GitHub repo, a git URL, a local path, or a direct link to a SKILL.md or an archive, into the right folder for each agent. It needs Node 22.20 or later.
# list the skills in a repo without installing
npx skills add anthropics/skills -l
# install one skill for Claude Code in this project
npx skills add <owner>/<repo> -s <skill-name> -a claude-code
# install for every project (-g) and copy files instead of linking (safer on Windows)
npx skills add <owner>/<repo> -s <skill-name> -a claude-code -g --copyUse -a cursor or -a codex to install the same skill for those agents. By default the CLI links files rather than copying them; --copy avoids broken links on Windows. The CLI sends usage telemetry unless you set DISABLE_TELEMETRY=1.
Way 3: a plugin marketplace
Claude Code plugins can bundle skills, hooks and MCP servers. You add a marketplace once, then install plugins from it by name. Skills from a plugin are called as /plugin-name:skill-name.
claude plugin marketplace add <owner>/<repo-or-url>
claude plugin install <plugin>@<marketplace>
# later
claude plugin update <plugin>Inside a session the same commands start with a slash: /plugin marketplace add and /plugin install.
Check that it worked
- Ask Claude Code "what skills do you have?" The new skill should be in the list.
- Call it by name: /code-review. Claude also uses a skill on its own when your request matches the skill's description.
- If it is missing, check the folder depth, then run /reload-skills. If it still does not appear, restart Claude Code.
Read a skill before you install it. A skill can include scripts that your agent runs on your machine. Look for network calls, reads of ~/.ssh or .env files, and curl | sh lines.
Questions people ask
- Do I need to restart Claude Code after installing a skill?
- Usually not. Claude Code picks up new and changed skills in the current session. If one does not appear, run /reload-skills, and restart Claude Code if that does not help.
- Can one skill work in Claude Code, Cursor and Codex?
- Yes. All three read the SKILL.md format. Cursor even reads .claude/skills/. Keep the frontmatter to the open-standard fields (name, description, license, compatibility, metadata, allowed-tools) so the same file works everywhere.