
Plugin Structure
Reference for building a Claude Code plugin's directory layout, manifest, and component files.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 6
- skills.sh installs
- 7.6K
- GitHub stars
- 47.9K
- last updated
- Aug 21, 2026
What it does
- Covers the plugin directory layout,
plugin.jsonmanifest fields, and naming conventions for commands, agents, skills, and hooks - Includes guidance on
${CLAUDE_PLUGIN_ROOT}for portable paths in hooks, MCP server definitions, and scripts - Enforces kebab-case names, manifest placement in
.claude-plugin/, and relative./paths for custom component locations - Designed for developers scaffolding a new Claude Code plugin or reorganizing an existing one
Install
$ npx -y skills add anthropics/claude-plugins-official --skill plugin-structure -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Plugin Structure for Claude Code
Overview
Claude Code plugins follow a standardized directory structure with automatic component discovery. Understanding this structure enables creating well-organized, maintainable plugins that integrate seamlessly with Claude Code.
Key concepts:
- Conventional directory layout for automatic discovery
- Manifest-driven configuration in
.claude-plugin/plugin.json - Component-based organization (commands, agents, skills, hooks)
- Portable path references using
${CLAUDE_PLUGIN_ROOT} - Explicit vs. auto-discovered component loading
Directory Structure
Every Claude Code plugin follows this organizational pattern:
Details
- Repository
- github.com/anthropics/claude-plugins-official
- Category
- Skill & Plugin Building
- First seen
- May 16, 2026
More from anthropics/claude-plugins-official
All 23- Plugin Settings7.5K
- Build Mcp App7.4K
- Build Mcpb7.1K
- Math Olympiad4.9K
- Configure4.7K
- Access4.7K
- Session Report4.6K
- M5 Onboard3.8K
- Cardputer Buddy3.8K
- Example Skill213
- Frontend Design19.1K
- Claude Md Improver15K
- Claude Automation Recommender11.5K
- Playground8.9K
- Skill Creator8.6K
- Agent Development8.1K
- Skill Development8K
- Hook Development7.8K
- Mcp Integration7.7K
- Command Development7.7K
- Build Mcp Server7.6K
- Writing Hookify Rules7.6K
Similar to Plugin Structure
More Skill & Plugin Building
hook-developmentSkillanthropics/claude-plugins-official7.8K installsGuide for writing Claude Code plugin hooks, covering prompt-based and command hook types across lifecycle events.
skill-developmentSkillanthropics/claude-plugins-official8K installsGuidance for creating Claude Code plugin skills, with progressive disclosure and reusable bundled resources.
plugin-forgeSkillsoftaworks/agent-toolkit4K installsScaffolding and maintenance toolkit for Claude Code plugins, covering manifests, components, and marketplace registration.
plugin-creatorSkillopenai/skills2.7K installsScaffolds Codex plugin directories with a required manifest and optional companion folders, plus marketplace entries.
create-cowork-pluginSkillanthropics/knowledge-work-plugins3K installsStep-by-step guide that builds a new Cowork plugin from scratch through five guided phases.
plugin-builderPluginclaude-market/marketplace27 starsInteractive plugin builder for Claude Code - serves as both an example plugin and a tool to create new plugins through guided prompts with specialized builder s