Where skills live: folders for every agent
The folders each agent reads skills from, which copy wins when two share a name, and what cloud agents can see.
- For
- Anyone whose agent can’t find a skill, or lists it twice
- Works with
- Claude CodeCodexCursorGitHub CopilotGemini CLIOpenCodeAny agent that reads SKILL.md folders
- Time
- 4 min read · updated Oct 26, 2026
The short answer
Every agent reads a folder in your home directory and a folder in your repository. Claude Code reads .claude/skills. Codex, Gemini CLI and Copilot CLI read .agents/skills. Cursor, OpenCode and VS Code read both. When two copies share a name, which one wins depends on the agent.
The two kinds of place
A personal folder lives in your home directory and serves every project on your computer. A project folder lives inside a repository and serves that repository. Either way, each skill is its own folder with SKILL.md directly inside it, so the skill’s name is the last part of the path.
Keep the folder name the same as the skill’s name. Cursor, VS Code and OpenCode require it to match, and a mismatch can stop the skill loading.
Folders by agent
- Cursor also reads
.claude/skillsand.codex/skills, at home and in projects. - Claude Code, Codex and OpenCode look in the folder you start from and each parent up to the repository root. Cursor finds a
.cursor/skillsor.agents/skillsfolder anywhere inside the repository, and scopes a nested one to the files under it. - Gemini CLI finds
SKILL.mdat the root of the skills folder or one folder down, never deeper.
Which copy wins
You can end up with the same skill in two places, such as a personal copy and a project copy. What happens next depends on the agent.
What the Lookbook installer does
The installer writes the copy your agent reads, and no more than that. Inside Claude Code it writes only ~/.claude/skills/<skill>. In your own terminal it writes ~/.agents/skills/<skill> and, if you have Claude Code, ~/.claude/skills/<skill> too. With --project it does the same inside the current folder. --claude and --shared pick one folder.
Cloud agents
A cloud agent starts from a copy of your repository, not your computer, so a skill in your home folder isn’t there.
- Claude Code cloud sessions load the repository’s
.claude/skillsand not~/.claude/skills. - Codex cloud tasks get skills stored in your repository. Personal skills aren’t synced.
- Cursor doesn’t copy
~/.agents/skillsto Cloud Agents. Only~/.cursor/skillssyncs, with Sync Skills for Cloud Agents turned on. - GitHub Copilot cloud agent works from project skills in
.github/skills,.claude/skillsor.agents/skills. GitHub says not to assume a personal skill is available there.
To get a skill to a cloud agent, run the installer from the repository root with --project, then commit the folders it writes.
Common questions
- Can one folder serve two agents?
- Yes.
~/.agents/skillsis read by Codex, Cursor, Copilot, Gemini CLI and OpenCode. Claude Code’s docs list only.claude/skills. - Do I need to install a skill in every project?
- No. Put it in a personal folder to have it in every project, or in a project folder to keep it to one repository.
- Why does my agent list a skill twice?
- The same skill is probably in two folders it reads, such as
~/.agents/skillsand~/.claude/skills. Delete one copy.
Sources
What this guide says about other companies’ tools comes from their own documentation, checked on Oct 26, 2026.
- Claude Code: choose where skills load (opens in a new tab)
- Claude Code: cloud environments (opens in a new tab)
- Codex: where Codex loads local skills (opens in a new tab)
- Codex: cloud environments (opens in a new tab)
- Cursor: skill directories (opens in a new tab)
- GitHub Copilot CLI: skill locations (opens in a new tab)
- GitHub Copilot: about agent skills (opens in a new tab)
- VS Code: Agent Skills (opens in a new tab)
- Gemini CLI: Agent Skills (opens in a new tab)
- Gemini CLI: get started with Agent Skills (opens in a new tab)
- OpenCode: Agent Skills (opens in a new tab)
Did this guide help?
Read next
All guidesInstall a skill in any agent
Install a Lookbook skill in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI or OpenCode: where each looks, how to check it loaded and how to run it.
Skill not working? Find your symptom
Fix a Lookbook skill by what you see: the agent can’t find it, it won’t trigger, the wrong skill runs, output looks off, a render fails or install stops.
Lookbook skills cheat sheet
One page of Lookbook installer commands, the folders each agent reads, and how to run, update and remove a skill, plus what each file in a skill does.
See a skill’s result before you install it.
Every skill page shows what it makes, what it needs and which agents can run it.