Claude Code Plugins Marketplace

A powerful, extensible plugin framework for Claude Code that enables custom slash commands, agent coordination, and workflow automation through a marketplace of plugins.
Overview
The Claude Code Plugins Marketplace is a comprehensive framework that allows developers to:
- Create custom slash commands for Claude Code
- Build multi-agent coordination systems for complex tasks
- Share and distribute plugins through a centralized marketplace
- Extend Claude Code's capabilities with specialized workflows
- Manage plugin lifecycles with version control and dependency management
Features
Core Framework
- Plugin System: Extensible plugin architecture with metadata, versioning, and lifecycle management
- Command Registry: Centralized slash command registration and execution
- CLI Tools: Command-line interface for plugin management and testing
- TypeScript Support: Fully typed with comprehensive interfaces
- Hot Reloading: Development mode with automatic plugin reloading
- Validation: Schema validation for plugin metadata and commands
Marketplace Capabilities
- Plugin Discovery: Browse and search available plugins
- Version Management: Track plugin versions and updates
- Enable/Disable: Control which plugins are active
- Statistics: View marketplace and plugin analytics
- Testing: Built-in command testing and validation
Quick Start
Installation
# Clone the repository
git clone https://github.com/claude-code/plugins-marketplace.git
cd plugins-marketplace/marketplace
# Install dependencies
npm install
# Build the project
npm run build
Basic Usage
# List all installed plugins
npm run list
# View all available slash commands
npm run commands
# Show marketplace statistics
npm run stats
# Get plugin details
marketplace info work
# Enable/disable a plugin
marketplace enable work
marketplace disable work
# Test a command
marketplace exec work:creatework "Add user authentication"
Architecture
marketplace/
├── core/ # Framework core
│ ├── plugin-loader.ts # Plugin loading and management
│ ├── marketplace.ts # Marketplace orchestration
│ ├── cli.ts # Command-line interface
│ └── index.ts # Public API exports
├── plugins/ # Plugin directory
│ └── work/ # Example: Work plugin
│ ├── plugin.json # Plugin metadata
│ ├── commands/ # Slash command definitions
│ │ ├── creatework.md # Create Linear issues
│ │ ├── performwork.md # Execute Linear issues
│ │ ├── validate.md # Validation
│ │ ├── diagnostic.md # Diagnostics
│ │ └── linear-setup.md # Setup
│ └── README.md # Plugin documentation
├── registry.json # Plugin registry
├── package.json # Project configuration
└── tsconfig.json # TypeScript configuration
Plugin Structure
Each plugin follows this structure:
plugins/your-plugin/
├── plugin.json # Required: Plugin metadata
├── commands/ # Slash command prompts
│ └── command-name.md # Command prompt file
├── README.md # Plugin documentation
└── assets/ # Optional: Plugin assets
plugin.json Schema
{
"id": "plugin-id",
"name": "Plugin Name",
"version": "1.0.0",
"description": "Plugin description",
"author": "Author Name",
"repository": "https://github.com/...",
"license": "MIT",
"tags": ["tag1", "tag2"],
"commands": [
{
"name": "command-name",
"description": "Command description",
"parameters": [
{
"name": "param1",
"type": "string",
"description": "Parameter description",
"required": true
}
]
}
]
}
Creating a Plugin
Step 1: Create Plugin Directory
mkdir -p marketplace/plugins/my-plugin/commands
cd marketplace/plugins/my-plugin
Step 2: Create plugin.json
{
"id": "my-plugin",
"name": "My Plugin",
"version": "1.0.0",
"description": "My awesome plugin",
"author": "Your Name",
"commands": [
{
"name": "my-command",
"description": "Does something awesome"
}
]
}
Step 3: Create Command Prompt
Create commands/my-command.md:
# My Command
This is the prompt that Claude will receive when the command is executed.
You can use parameters like {{param1}} that will be substituted.
Step 4: Test Your Plugin
marketplace list
marketplace exec my-plugin:my-command
Included Plugins
Work