Agent Skills guide
How to package and share Agent Skills
Share an Agent Skill as a folder in a repo, a GitHub skills repository, a Claude Code plugin marketplace or a claude.ai upload, with versioning that holds up.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOn this page
To share an Agent Skill, commit its folder to the repository that uses it, publish it in a GitHub skills repository that people install with npx skills add or gh skill install, wrap it in a Claude Code plugin marketplace or an Agent Plugins package, or upload a zip to claude.ai. Whichever you choose, tag releases so people can pin a version.
Once a skill works for you, there are several ways to get it to other people. They differ in who can install it, which agents it reaches and how updates flow. This guide goes from the simplest option to the most involved. If you have not built the skill yet, start with how to create a Claude skill, and test it with a small eval set before anyone else depends on it. Commands were checked against the Claude Code, GitHub CLI and skills CLI documentation on 19 November 2026, and the Agent Plugins section against the specification and vendor docs on 25 November 2026.
Before you share a skill
Run through this list first. It saves your users from problems you can see and they cannot.
- The folder name matches
name, and the name contains no reserved words if you want it to work on claude.ai. - The description says what and when, in the third person.
- Only the six spec fields are used, unless you intend the skill for one client.
- Scripts are non-interactive, pin their dependencies and contain no secrets.
- There is a licence, either in
licenseor as a file in the folder. Without one, others cannot legally reuse it. - A short README explains what it does, what it needs and how to install it, with a pinned command.
- The eval set, if you have one, is in the folder.
Option 1: commit the skill to the repository
For a skill that belongs to one codebase, put it in the repository. Everyone who clones it gets the skill, and changes go through code review like anything else.
your-repo/
├── .claude/skills/release-notes/SKILL.md # Claude Code
└── .agents/skills/release-notes/SKILL.md # Codex, Cursor, Copilot, Gemini CLI and others
Cursor and Copilot also read .claude/skills/, so if your team uses only those and Claude Code, one copy there is enough. If you keep two copies, a symlink from one to the other avoids drift on macOS and Linux; Windows users may need a copy instead.
Option 2: a skills repository on GitHub
For skills you want to share across projects or publicly, give them their own repository with one folder per skill under skills/:
team-skills/
├── README.md
├── LICENSE
└── skills/
├── release-notes/
│ ├── SKILL.md
│ └── scripts/
└── pr-description/
└── SKILL.md
Both cross-agent installers understand this layout without extra configuration:
npx skills add your-org/team-skills --list
npx skills add your-org/team-skills@v1.0.0 --skill release-notes -a claude-code -a codex
gh skill install your-org/team-skills release-notes --pin v1.0.0
GitHub CLI can also validate the repository against the spec and cut a release:
gh skill publish --dry-run # validate only
gh skill publish --tag v1.0.0 # validate, then create a tagged release
The validation checks the naming rules, that each name matches its folder, that name and description are present and that allowed-tools is a string rather than a list. Tag releases with semantic versions so people can pin them.
Option 3: publish the skill in a Claude Code plugin marketplace
Plugins are how most collections reach Claude Code users. A plugin can carry several skills plus hooks, subagents and MCP configuration, and users install it with one command. A marketplace is a repository with a .claude-plugin/marketplace.json file listing plugins.
The simplest setup uses the repository itself as both marketplace and plugin. Anthropic’s own anthropics/skills repository does this, with "strict": false and an explicit list of skill folders per plugin:
{
"name": "team-skills",
"owner": { "name": "Platform team" },
"plugins": [
{
"name": "release-tools",
"description": "Release notes and PR description skills",
"source": "./",
"strict": false,
"skills": ["./skills/release-notes", "./skills/pr-description"]
}
]
}
The more conventional layout puts each plugin in its own folder with a .claude-plugin/plugin.json manifest and a skills/ directory, and the marketplace entry’s source points at that folder ("./plugins/release-tools"). Keep the plugin’s name in plugin.json identical to its entry in marketplace.json; a mismatch is the most common cause of failed installs. Validate before you push:
claude plugin validate .
Users then add the marketplace and install:
/plugin marketplace add your-org/team-skills
/plugin install release-tools@team-skills
Skills from a plugin are namespaced, so users run them as /release-tools:release-notes. Plugin entries can also point at other repositories (github or git-subdir sources) and be pinned to a ref or sha. Third-party marketplaces do not auto-update by default, which protects users but means you should tell them when to update. Admins can require a marketplace on every machine in an organisation.
Option 3b: one Agent Plugins package for Copilot, Cursor and Codex
Agent Plugins 1.0.0, published on 6 August 2026, is an open format for the part every plugin system shares: a root plugin.json with the Agent Plugins $schema and a name, your skills in skills/, and MCP servers in mcp.json. GitHub Copilot (VS Code, Copilot CLI and the Copilot app), Cursor and Codex document support for it as of 25 November 2026, so one folder installs in all three:
release-tools/
├── plugin.json # {"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "release-tools"}
├── mcp.json # optional
└── skills/
├── release-notes/SKILL.md
└── pr-description/SKILL.md
It does not replace Option 3 for Claude Code users: Claude Code’s documentation still describes only .claude-plugin/plugin.json and .mcp.json. Because both formats read skills from skills/ at the plugin root, you can keep both manifests in the same folder. Hooks, commands and subagents are outside the standard, and secrets must never go in mcp.json. Our guide to Agent Plugins covers the manifest, the MCP file, which clients load what, and what still does not carry across.
Option 4: claude.ai and the Claude apps
To share with people who use Claude in the browser or desktop app, zip the folder and upload it in Customize > Skills. On Team and Enterprise plans an admin can provision skills for the whole organisation and control who can create and share them; shared skills are view-only for recipients and update when the owner changes them.
Remember the stricter rules: only spec fields, no “claude” or “anthropic” in the name, and the zip must contain SKILL.md at the root or inside one folder.
Option 5: the Claude API
For applications built on the API, upload the skill to your workspace with POST /v1/skills and reference its skill_id in requests. Each upload of a new version is a full snapshot and must keep the same name. Skills uploaded to the API are available across the workspace but do not sync with claude.ai or Claude Code. See Agent Skills in the Claude API for the request format and upload rules.
Versioning that holds up
- Tag releases (
v1.0.0,v1.1.0) and keep a short changelog. Users who pin need to know what changed before they move. - Avoid rewriting history on tags. A tag that moves breaks every pinned install that trusted it.
- Put a version in
metadataif you like (version: "1.1.0", quoted), but the Git tag is what installers use. - When you change triggering behaviour, say so in the changelog. A rewritten description can change when the skill loads for everyone.
The other side of this, checking a diff and moving a pin as a user, is in how to update Agent Skills safely.
Getting your skill found
Add a clear README with pinned install commands, the agent-skills topic on GitHub (gh skill publish offers to add it), and a licence. Directories, including ours, look for those signals. If you think a skill belongs in our directory, the details we record for each entry are on any skill page in the Agent Skills directory: source, commit, licence, requirements and what the skill can do. Reviewers will also read it the way our security checklist for third-party skills suggests, so make that easy.
For a whole team, a single private Claude Code plugin marketplace keeps everyone on reviewed versions, and the end-to-end workflow for shipping a team skill runs through the full path from first draft to published skill.
Related
- Ship a team Agent Skill end to end: build, test, share
An Agent Skill example project from idea to install: write SKILL.md, validate it against the spec, test when it fires and share it with one install command.
- Port one Agent Skill across Claude Code, Codex and Cursor
Strip non-portable fields, make scripts path-safe and install one source folder for every agent.
- skills CLI (skills.sh)
Vercel's skills directory and the npx skills installer for many agents.
- Agent Plugins: package skills and MCP servers once for every agent
What an Agent Plugins 1.0 package holds, which agents load one today, how it differs from a Claude Code plugin, and what still does not carry across clients.
- Roll out Agent Skills across your organisation
How admins provision skills for a whole organisation in Claude, what Cursor, Codex and GitHub Copilot offer for the same job, and a checklist for the rollout.