example-plugin
A comprehensive example plugin demonstrating all Claude Code extension options including commands, agents, skills, hooks, and MCP servers
pinned to #6fbe3b0updated 3 months ago
Ask your AI client: “install plugins/example-plugin”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/example-pluginmetahub onboarded this repo on the author's behalf.
If you own github.com/anthropics/claude-plugins-official on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
31,973
Last commit
3 months ago
Latest release
published
- #claude-code
- #mcp
- #skills
Automated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.6fbe3b0· 3 months ago
Kind-specific
2 passed2 warningsPlugin: manifest fields completewarn
plugin.json is missing: version
Add the missing fields so the catalog detail page is complete.
Plugin: bundled artifacts presentwarn
Couldn't find a skills/ subdir or an MCP server config inside the plugin
A plugin is most useful when it bundles ≥ 1 skill or an MCP server.
Plugin: bundle shape
empty bundle
Plugin: manifest location
manifest at plugin.json
Release history
1- releasecurrent6fbe3b0warn3 months ago
Contents
A comprehensive example plugin demonstrating Claude Code extension options.
Structure
example-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .mcp.json # MCP server configuration
├── skills/
│ ├── example-skill/
│ │ └── SKILL.md # Model-invoked skill (contextual guidance)
│ └── example-command/
│ └── SKILL.md # User-invoked skill (slash command)
└── commands/
└── example-command.md # Legacy slash command format (see note below)
Extension Options
Skills (skills/)
Skills are the preferred format for both model-invoked capabilities and user-invoked slash commands. Create a SKILL.md in a subdirectory:
Model-invoked skill (activated by task context):
---
name: skill-name
description: Trigger conditions for this skill
version: 1.0.0
---
User-invoked skill (slash command — /skill-name):
---
name: skill-name
description: Short description for /help
argument-hint: <arg1> [optional-arg]
allowed-tools: [Read, Glob, Grep]
---
Commands (commands/) — legacy
Note: The
commands/*.mdlayout is a legacy format. It is loaded identically toskills/<name>/SKILL.md— the only difference is file layout. For new plugins, prefer theskills/directory format. This plugin keepscommands/example-command.mdas a reference for the legacy layout.
MCP Servers (.mcp.json)
Configure external tool integration via Model Context Protocol:
{
"server-name": {
"type": "http",
"url": "https://mcp.example.com/api"
}
}
Usage
/example-command [args]- Run the example slash command- The example skill activates based on task context
- The example MCP activates based on task context
Reviews
No reviews yet. Be the first.
Related
Superpowers
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
ECC
Harness-native ECC plugin for engineering teams - 63 agents, 249 skills, 79 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
taste-skill
Frontend design taste skills including brutalist, minimalist, soft, redesign, stitch, and more
mh install plugins/example-plugin