
Plugin Structure
This is the reference documentation for how Claude Code plugins are structured under the hood. You'll want this when you're building your own plugin and need to understand the conventional directory layout, how the manifest system works with plugin.json, and how component discovery happens automatically. It covers the portable path references using CLAUDE_PLUGIN_ROOT and explains when components load explicitly versus auto-discovery. The actual directory tree and manifest details are cut off in the preview, but this is essentially the structural specification you'd reference while scaffolding a new plugin or debugging why your commands or agents aren't being recognized.
- GitHub stars
- 141.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add anthropics/claude-code --skill 'Plugin Structure' --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is the reference documentation for how Claude Code plugins are structured under the hood. You'll want this when you're building your own plugin and need to understand the conventional directory layout, how the manifest system works with plugin.json, and how component discovery happens automatically. It covers the portable path references using CLAUDE_PLUGIN_ROOT and explains when components load explicitly versus auto-discovery. The actual directory tree and manifest details are cut off in the preview, but this is essentially the structural specification you'd reference while scaffolding a new plugin or debugging why your commands or agents aren't being recognized.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/anthropics/claude-code
- Categories
- Frontend Development, Code Review & Quality, Automation & Workflows, Sales & Marketing
- First seen
- Jun 3, 2026