Skills: distribution
Choose a channel
Section titled “Choose a channel”| Channel | Audience | How | Updates |
|---|---|---|---|
| Personal folder | You | ~/.claude/skills/<name>/ (Claude Code + Cursor) or ~/.cursor/skills/<name>/ |
Edit in place |
| Project repo | Everyone who clones the repo | Commit .claude/skills/<name>/ to reach both Claude Code and Cursor. .cursor/skills/ and .agents/skills/ reach Cursor (and, for .agents/, Codex) but not Claude Code |
Through PRs |
| Shared skills repo | Team / organisation | A dedicated git repo; people clone or symlink it into their personal folder | git pull |
| Plugin | Team / organisation / public | Package the skills (plus optional agents, MCP config, and hooks) as a Claude Code plugin or Cursor plugin, and publish to a marketplace | Plugin versioning |
| claude.ai / Claude Desktop | Individuals or organisation members on Claude apps | ZIP the skill folder (with the folder at the root of the ZIP), then upload it under Customize → Skills. This needs “Code execution and file creation” turned on; on Team and Enterprise plans an admin must enable Skills first | Re-upload |
| Claude API | Your applications | Upload via the Skills API (up to 30 MB per upload), then reference it by skill_id in Messages API requests that use the code execution tool (up to 20 skills per request) |
Versioned by the API |
Packaging checklist
Section titled “Packaging checklist”- The folder name equals
name - No secrets, personal paths, or machine-specific absolute paths
- Dependencies are listed in
SKILL.md, or incompatibilityin the frontmatter - There’s a version and changelog (for example
metadata: { version: "1.2.0" }, plusCHANGELOG.md) - There’s a short README section or announcement with 2–3 example prompts
- A licence is declared if you share it outside your organisation (
license:in the frontmatter) - The frontmatter uses only fields every target accepts (see Cross-platform packaging)
-
agentskills validate path/to/your-skill(frompip install skills-ref) orclaude plugin validate ./skills --strictpasses
Cross-platform packaging
Section titled “Cross-platform packaging”To support Claude Code, Cursor, and claude.ai with one source:
- Keep the canonical copy in a git repo under
skills/<name>/. - Claude Code + Cursor (project): place or symlink it at
.claude/skills/<name>/, which both hosts read. - claude.ai: a small script zips each
skills/<name>/folder for upload. - Use only portable frontmatter:
name,description,license,compatibility,metadata, andallowed-tools. claude.ai uploads and the Skills API reject any other key with “Unexpected key(s) in SKILL.md frontmatter”. Only Claude Code and Cursor ignore extra fields, so keys such asdisable-model-invocationare Claude Code / Cursor only. See the matrix for host-specific fields. - Hosted environments (the API and claude.ai) may not allow runtime package installs, so scripts there should use only pre-installed libraries.
Windows notes
Section titled “Windows notes”To share one skill between hosts without copying it, create a directory junction in PowerShell:
New-Item -ItemType Junction -Path "$HOME\.claude\skills\my-skill" -Target "C:\Projects\skills-repo\skills\my-skill"Cursor also reads ~/.claude/skills, so one junction there serves both Claude Code and Cursor.
Inside skills, keep paths forward-slashed.
Versioning & change management
Section titled “Versioning & change management”- Use semantic versioning: major when the output format or behaviour changes incompatibly, minor for new capabilities, patch for wording fixes.
- Re-run the eval set before bumping the version.
- Record notable changes in the skill’s
CHANGELOG.md. - Deprecate a skill by updating its
description(for example “Deprecated: usenew-skillinstead”) and adding a line at the top of its body pointing to the replacement, then remove it one release later. Editing only the body doesn’t stop the agent choosing the skill, because the agent selects on the description.
Governance for teams
Section titled “Governance for teams”- Assign an owner for every shared skill.
- Require review for changes to
scripts/, the same as for any other code. - Audit third-party skills before adding them to a shared repo or plugin.
- Hold a quarterly review to retire skills the models no longer need.