Skip to content

Skills: distribution

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
  • The folder name equals name
  • No secrets, personal paths, or machine-specific absolute paths
  • Dependencies are listed in SKILL.md, or in compatibility in the frontmatter
  • There’s a version and changelog (for example metadata: { version: "1.2.0" }, plus CHANGELOG.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 (from pip install skills-ref) or claude plugin validate ./skills --strict passes

To support Claude Code, Cursor, and claude.ai with one source:

  1. Keep the canonical copy in a git repo under skills/<name>/.
  2. Claude Code + Cursor (project): place or symlink it at .claude/skills/<name>/, which both hosts read.
  3. claude.ai: a small script zips each skills/<name>/ folder for upload.
  4. Use only portable frontmatter: name, description, license, compatibility, metadata, and allowed-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 as disable-model-invocation are Claude Code / Cursor only. See the matrix for host-specific fields.
  5. Hosted environments (the API and claude.ai) may not allow runtime package installs, so scripts there should use only pre-installed libraries.

To share one skill between hosts without copying it, create a directory junction in PowerShell:

Terminal window
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.

  • 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: use new-skill instead”) 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.
  • 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.