GUIDES · CLAUDE PLUGINS & SKILLS

Claude Plugins & Agent Skills Packaging: Structure, /plugin CLI, and Unified Management

In Anthropic's extension model, a Skill is a single-purpose playbook folder centered on SKILL.md with progressive disclosure, while a Plugin is the distributable bundle that packages one or more Skills alongside MCP connectors (.mcp.json), custom slash commands, subagents, and lifecycle hooks under .claude-plugin/plugin.json. Developers install and audit bundles in Claude Code with /plugin, while Claude.ai and Cowork sync unified packages under Customize > Plugins.

Scope & operational note: Plugins can execute local scripts, register lifecycle hooks, and connect external MCP servers. Review every script and `.mcp.json` transport before installing third-party bundles. Organization owners on Team and Enterprise plans control which plugins and marketplaces are permitted across member workspaces.

1. Skill vs. Plugin: standard bundle directory layout

Anthropic separates single-task playbooks from multi-component distribution packages so teams can keep context lean while shipping complete workflows:

LayerCore FileWhat It HoldsContext Loading
Agent Skillskills/<name>/SKILL.mdYAML frontmatter (name, description), instructions, reference scriptsProgressive disclosure: metadata loads at startup; full body loads on demand
Claude Plugin.claude-plugin/plugin.jsonManifest (name, version, description) bundling Skills, .mcp.json, commands/, agents/, and hooksInstalled as one versioned unit across Claude Code, Claude.ai, and Cowork

Standard Plugin Directory Tree

my-plugin/
├── .claude-plugin/
│   └── plugin.json       # Required manifest (name, version, description)
├── .mcp.json             # Optional MCP server definitions
├── commands/             # Optional explicit slash commands
├── agents/               # Optional subagent definitions
├── skills/               # One or more skill folders (each with SKILL.md)
│   └── my-skill/
│       └── SKILL.md
└── README.md

Any local folder containing a valid SKILL.md can be used immediately in .claude/skills/ or promoted to a distributable plugin by adding .claude-plugin/plugin.json.

2. Unified management in Claude Code (/plugin) and Claude.ai

Claude Code CLI (/plugin)

Run /plugin inside Claude Code to open the interactive manager with Discover, Installed, Marketplaces, and Errors tabs—including context-window and token-cost estimates before you enable a bundle.

# Add the official Anthropic skills marketplace
/plugin marketplace add anthropics/skills

# Install a plugin from the official registry
/plugin install <plugin-name>@claude-plugins-official

Claude.ai, Desktop & Cowork

  • Manage account-level bundles under Customize > Plugins.
  • Installed plugins sync across your account context so Cowork and API-backed sessions reuse the same skills and connectors without duplicating local config files.
  • Third-party publishers submit and update versions centrally through claude.ai/directory/manage rather than relying on legacy .claude-plugin/marketplace.json routing.

3. Security review and enterprise governance

  • Versioned vetting: Submissions to Anthropic's official directory undergo automated validation scans and human review on each version release.
  • Enterprise allowlists: Team and Enterprise organization owners govern which plugins, external marketplaces, and script-executing skills members can enable.
  • Local audit habit: Before installing community bundles from GitHub, inspect .mcp.json for unpinned npx/uvx commands or plaintext tokens, and run automated pre-install checks with OpenAI×Cisco Shirudo & safe-anything Security Guide.

Frequently asked questions

What is the difference between a Claude Skill and a Claude Plugin?

A Skill is a focused playbook folder built around SKILL.md that loads instructions on demand via progressive disclosure. A Plugin is a versioned distribution package defined by .claude-plugin/plugin.json that bundles one or more Skills with optional MCP connectors (.mcp.json), slash commands, subagents, and lifecycle hooks.

How do I install official Anthropic plugins in Claude Code?

Run /plugin inside Claude Code to browse the interactive manager, or run /plugin marketplace add anthropics/skills followed by /plugin install <plugin-name>@claude-plugins-official.

Do plugins installed in Claude.ai sync to Cowork?

Yes. Plugins enabled under Customize > Plugins in Claude.ai or Desktop sync across your account context for Cowork and compatible sessions.

Primary sources