Plugin Dashboard
Relevant source files
The following files were used as context for generating this wiki page:
- cli-tool/components/skills/development/plugin-structure/SKILL.md
- cli-tool/components/skills/development/plugin-structure/references/manifest-reference.md
- cli-tool/components/skills/development/plugin-structure/references/component-patterns.md
- cli-tool/components/skills/development/plugin-forge/SKILL.md
- cli-tool/components/skills/development/plugin-forge/references/workflows.md
Introduction
The Plugin Dashboard serves as the central architectural framework for managing, discovering, and deploying Claude Code plugins. It facilitates the integration of various components including commands, agents, skills, and hooks through a standardized directory structure and manifest-driven configuration. The system is designed to provide developers with a comprehensive overview of plugin lifecycles, from initial scaffolding to marketplace registration.
The core purpose of the dashboard's underlying system is to enable automatic discovery of plugin components while maintaining strict organizational standards. This allows for portable path references and seamless integration with the Claude Code ecosystem, ensuring that plugins remain maintainable and scalable across different environments.
Sources: cli-tool/components/skills/development/plugin-structure/SKILL.md, cli-tool/components/skills/development/plugin-forge/SKILL.md
Architectural Framework
Directory Layout and Discovery
The architecture relies on a conventional directory layout that allows Claude Code to automatically scan and load components. Each plugin must contain a specific set of directories at its root to be properly recognized by the system.
The diagram above illustrates the standard file hierarchy required for automatic component discovery.
Sources: cli-tool/components/skills/development/plugin-structure/SKILL.md:16-33
Manifest Configuration (plugin.json)
The plugin.json manifest is the primary configuration file located within the .claude-plugin/ directory. It defines the plugin's identity, versioning, and metadata, as well as custom paths for component overrides.
| Field | Type | Required | Description |
|---|---|---|---|
name | String | Yes | Kebab-case unique identifier for the plugin. |
version | String | No | Semantic versioning (MAJOR.MINOR.PATCH). |
description | String | No | Brief explanation of the plugin's purpose. |
commands | String/Array | No | Custom paths for command discovery. |
agents | String/Array | No | Custom paths for agent definitions. |
hooks | String | No | Path to hooks.json or inline config. |
Sources: cli-tool/components/skills/development/plugin-structure/references/manifest-reference.md:11-133
Component Management
The dashboard system manages four primary types of components, each with unique implementation requirements and execution patterns.
Component Discovery Lifecycle
The sequence diagram shows the automated flow from initialization to component registration.
Sources: cli-tool/components/skills/development/plugin-structure/references/component-patterns.md:5-18
Key Component Types
- Commands: Native slash commands implemented as Markdown files. They support dynamic arguments (
$ARGUMENTS,$1,$2) and bash execution for context gathering. - Agents: Specialized subagent definitions with defined roles and capabilities, used for delegating complex tasks.
- Skills: Modular packages providing specialized workflows and domain expertise, identified by a mandatory
SKILL.mdfile. - Hooks: Event-driven handlers that execute in response to Claude Code events like
PreToolUseorSessionStart.
Sources: cli-tool/components/skills/development/plugin-structure/SKILL.md:73-125, cli-tool/components/skills/development/command-development/SKILL.md:129-150
Portability and Pathing
A critical feature of the dashboard's technical implementation is the use of the ${CLAUDE_PLUGIN_ROOT} environment variable. This ensures that plugins remain functional regardless of where they are installed on a user's system.
Path Resolution Standards
- Intra-plugin References: All paths to scripts, templates, or assets must use the root variable (e.g.,
${CLAUDE_PLUGIN_ROOT}/scripts/tool.sh). - Manifest Paths: Paths in
plugin.jsonmust be relative and start with./. - Operating System Agnosticism: Standardized pathing prevents breakage between macOS, Linux, and Windows environments.
Sources: cli-tool/components/skills/development/plugin-structure/SKILL.md:139-165, cli-tool/components/skills/development/plugin-structure/references/manifest-reference.md:154-170
Marketplace and Deployment Workflows
The Plugin Dashboard integrates with a marketplace system for distribution. This requires dual registration in both the plugin-specific manifest and a global marketplace.json.
This flowchart details the standard workflow for moving a plugin from development to a published state.
Sources: cli-tool/components/skills/development/plugin-forge/references/workflows.md:3-35
Versioning Requirements
Developers must update versions in two locations simultaneously to ensure marketplace consistency:
- The local plugin manifest:
plugins/<name>/.claude-plugin/plugin.json - The global marketplace manifest:
.claude-plugin/marketplace.json
Sources: cli-tool/components/skills/development/plugin-forge/SKILL.md:94-98
Summary
The Plugin Dashboard framework provides a structured environment for the modular expansion of Claude Code. By enforcing standardized directory layouts, semantic versioning, and portable pathing through ${CLAUDE_PLUGIN_ROOT}, it creates a robust ecosystem for sharing specialized AI tools and domain-specific knowledge. Its reliance on automatic discovery and manifest-driven configuration minimizes the overhead for developers while maximizing the reliability of plugin integration.