Share skills between Claude Code, Codex and Cursor
You keep your skills in one folder, such as ~/skills, with one SKILL.md folder per skill, and
you want Claude Code, Codex and Cursor to load them in a project. The three agents do not read the
same folder: Claude Code reads .claude/skills, Codex reads .agents/skills, and Cursor reads
.cursor/skills and also .agents/skills. Agent support lists every agent's
folders.
By hand
Two links reach all three agents in one repository:
$ mkdir -p ~/code/app/.claude/skills ~/code/app/.agents/skills
$ ln -s ~/skills/review ~/code/app/.claude/skills/review
$ ln -s ~/skills/review ~/code/app/.agents/skills/review
An edit in ~/skills/review reaches every agent at once, because each link points at the same
folder. This holds for one repository on one machine. It stops when:
- You open a second project. Each skill needs its links again, in each agent's folder.
- You add a Git worktree. A new worktree has none of the links, and a committed link points to a folder on your machine, which a teammate's does not have.
- You remove or rename a skill. Every link to it breaks, in every project, and nothing lists them.
- You try another agent. Each project needs another folder of links.
- A teammate joins. They rebuild the links by hand, or run your script on their paths.
With Tack
Register the folder once as a source. Tack previews the tack.yaml it would write; --apply
writes it and registers the source.
$ tack init
$ tack source add ~/skills --config '{"version": 1, "name": "skills", "skills": [{"path": "."}]}'
$ tack source add ~/skills --config '{"version": 1, "name": "skills", "skills": [{"path": "."}]}' --apply
tack init enables each agent whose folder it finds in your home. Enable the others, then register
the project and link it. tack project add app prints its plan and writes nothing; --apply
registers the project and makes the links.
$ tack adapter enable claude codex cursor --apply
$ tack project add app
$ tack project add app --apply
Run tack project add app from inside the repository. After git worktree add, refresh the project
and sync again, and the new worktree gets the same links:
$ tack project refresh --project app --apply
$ tack sync --project app --apply
When you remove a skill from ~/skills, the next sync removes its links, and only the links Tack
made. tack status --project app lists a link that broke. To give a teammate the same skills, see
Onboard a team.
When you do not need Tack
With one repository, one machine and agents that all read .agents/skills, commit the folder to the
repository and use no tool. Compare sets Tack beside a link script, a shared folder and
the other tools.