How to Build a Claude Plugin: Files and Shipping

A Claude plugin is a directory of skills, hooks and MCP servers. Here is the layout, the two names that trip up installs, and the three ways to ship it. Skills, hooks and MCP servers all work on their own. A plugin is how you hand the whole setup to a team and keep it current. Shaavir uses Claude in its own proposal work, so this question lands on the desk often. Here is the short answer on how to build a Claude plugin. Create a directory. Put your skills in skills/ , your MCP server definitions in .mcp.json , and your hooks in hooks/hooks.json . Add a manifest at .claude-plugin/plugin.json that names the plugin. Run claude plugin validate against the directory. Then hand someone the folder, or list it in a marketplace so they install it by name. Anthropic's plugins overview (https://code.claude.com/docs/en/plugins/overview), read on 22 November 2026, calls a plugin "a directory of skills, agents, hooks, MCP servers, or other components". Claude Code installs and loads that directory as one unit. Every one of those parts also works on its own. Building a plugin is a packaging decision, never a capability decision. What A Plugin Actually Is A plugin holds components. The manifest names it. The components do the work. Skills are SKILL.md instructions Claude loads when they fit the task, and you can run one as a command too. Agents are subagent definitions Claude delegates to. Hooks are commands Claude Code runs at lifecycle points, such as after every edit. A hooks module holds the same hooks as JavaScript functions instead of shell commands, and a plugin carrying one goes by the name mod. MCP servers are tool servers Claude Code connects to while the plugin stays enabled. The overview is blunt about when the wrapper earns its place. "Use a plugin when you want several skills, subagents, hooks, or MCP servers packaged as one unit." One skill for one project does not need it. A format lock, a banned-word script, a compliance matrix template and an opportunity-search connector, all going to nine writers at once, does. How To Build A Claude Plugin The manifest is optional. Without one, Claude Code loads whatever it finds in the standard layout and names the plugin after its directory. The layout, not the manifest, is the real contract. | Location | What goes there | |---|---| | .claude-plugin/plugin.json | The manifest: name, version, description, author | | skills/ | One <name /SKILL.md directory per skill | | agents/ | One Markdown file per subagent | | hooks/hooks.json | Hook configuration | | .mcp.json | MCP server definitions | One rule catches most first attempts. Only plugin.json belongs inside .claude-plugin/ . The create page warns that "components saved there don't load", so skills/ sits at the plugin root beside that folde

Skip to content

How to Build a Claude Plugin: Files and Shipping

By

A Claude plugin is a directory of skills, hooks and MCP servers. Here is the layout, the two names that trip up installs, and the three ways to ship it. Skills, hooks and MCP servers all work on their own. A plugin is how you hand the whole setup to a team and keep it current. Shaavir uses Claude in its own proposal work, so this question lands on the desk often. Here is the short answer on how to build a Claude plugin. Create a directory. Put your skills in skills/ , your MCP server definitions in .mcp.json , and your hooks in hooks/hooks.json . Add a manifest at .claude-plugin/plugin.json that names the plugin. Run claude plugin validate against the directory. Then hand someone the folder, or list it in a marketplace so they install it by name. Anthropic's plugins overview (https://code.claude.com/docs/en/plugins/overview), read on 22 November 2026, calls a plugin "a directory of skills, agents, hooks, MCP servers, or other components". Claude Code installs and loads that directory as one unit. Every one of those parts also works on its own. Building a plugin is a packaging decision, never a capability decision. What A Plugin Actually Is A plugin holds components. The manifest names it. The components do the work. Skills are SKILL.md instructions Claude loads when they fit the task, and you can run one as a command too. Agents are subagent definitions Claude delegates to. Hooks are commands Claude Code runs at lifecycle points, such as after every edit. A hooks module holds the same hooks as JavaScript functions instead of shell commands, and a plugin carrying one goes by the name mod. MCP servers are tool servers Claude Code connects to while the plugin stays enabled. The overview is blunt about when the wrapper earns its place. "Use a plugin when you want several skills, subagents, hooks, or MCP servers packaged as one unit." One skill for one project does not need it. A format lock, a banned-word script, a compliance matrix template and an opportunity-search connector, all going to nine writers at once, does. How To Build A Claude Plugin The manifest is optional. Without one, Claude Code loads whatever it finds in the standard layout and names the plugin after its directory. The layout, not the manifest, is the real contract. | Location | What goes there | |---|---| | .claude-plugin/plugin.json | The manifest: name, version, description, author | | skills/ | One <name /SKILL.md directory per skill | | agents/ | One Markdown file per subagent | | hooks/hooks.json | Hook configuration | | .mcp.json | MCP server definitions | One rule catches most first attempts. Only plugin.json belongs inside .claude-plugin/ . The create page warns that "components saved there don't load", so skills/ sits at the plugin root beside that folde

Skills, hooks and MCP servers all work on their own. A plugin is how you hand the whole setup to a team and keep it current.

Shaavir uses Claude in its own proposal work, so this question lands on the desk often. Here is the short answer on how to build a Claude plugin. Create a directory. Put your skills in skills/ , your MCP server definitions in .mcp.json , and your hooks in hooks/hooks.json . Add a manifest at .claude-plugin/plugin.json that names the plugin. Run claude plugin validate against the directory. Then hand someone the folder, or list it in a marketplace so they install it by name. Anthropic's plugins overview (https://code.claude.com/docs/en/plugins/overview), read on 22 November 2026, calls a plugin "a directory of skills, agents, hooks, MCP servers, or other components". Claude Code installs and loads that directory as one unit. Every one of those parts also works on its own. Building a plugin is a packaging decision, never a capability decision. What A Plugin Actually Is A plugin holds components. The manifest names it. The components do the work. Skills are SKILL.md instructions Claude loads when they fit the task, and you can run one as a command too. Agents are subagent definitions Claude delegates to. Hooks are commands Claude Code runs at lifecycle points, such as after every edit. A hooks module holds the same hooks as JavaScript functions instead of shell commands, and a plugin carrying one goes by the name mod. MCP servers are tool servers Claude Code connects to while the plugin stays enabled. The overview is blunt about when the wrapper earns its place. "Use a plugin when you want several skills, subagents, hooks, or MCP servers packaged as one unit." One skill for one project does not need it. A format lock, a banned-word script, a compliance matrix template and an opportunity-search connector, all going to nine writers at once, does. How To Build A Claude Plugin The manifest is optional. Without one, Claude Code loads whatever it finds in the standard layout and names the plugin after its directory. The layout, not the manifest, is the real contract. | Location | What goes there | |---|---| | .claude-plugin/plugin.json | The manifest: name, version, description, author | | skills/ | One <name /SKILL.md directory per skill | | agents/ | One Markdown file per subagent | | hooks/hooks.json | Hook configuration | | .mcp.json | MCP server definitions | One rule catches most first attempts. Only plugin.json belongs inside .claude-plugin/ . The create page warns that "components saved there don't load", so skills/ sits at the plugin root beside that folde

Contact Shaavir · View services · Read the blog · Careers · Case studies · Privacy policy · Terms