meta-plugin-creator

v2026.09.24

Create plugins for Claude Code that bundle skills, agents, commands, hooks, and MCP servers. Use when packaging reusable tooling, distributing agent capabilities, or building plugin manifests. Use for plugin creation, manifest configuration, component bundling.

GitHub
Install command
npx skhub add oakoss/meta-plugin-creator
Markdown
SKILL.md

Plugin Creator

Overview

Plugins are shareable packages that bundle skills, agents, commands, hooks, MCP servers, and LSP servers into installable units for Claude Code. A plugin requires only a .claude-plugin/plugin.json manifest at minimum; all other components are optional and auto-discovered from conventional directories at the plugin root.

When to use: Sharing functionality across projects or teams, distributing through marketplaces, versioning reusable agent capabilities, bundling MCP servers with skills.

When NOT to use: Single-project customizations (use .claude/ directory instead), quick experiments before packaging, personal workflows that do not need distribution.

Quick Reference

ComponentLocationFormatDiscovery
Manifest.claude-plugin/plugin.jsonJSONRequired
Skillsskills/*/SKILL.mdMarkdown + YAMLAuto by context
Commandscommands/*.mdMarkdown + YAMLAuto, namespaced
Agentsagents/*.mdMarkdown + YAMLAuto, /agents UI
Hookshooks/hooks.jsonJSONAuto on events
MCP servers.mcp.jsonJSONAuto on enable
LSP servers.lsp.jsonJSONAuto on enable
Output stylesCustom pathPer configVia manifest
Plugin env var${CLAUDE_PLUGIN_ROOT}Absolute pathAll configs/scripts
Project env${CLAUDE_PROJECT_DIR}Absolute pathAll configs/scripts
CLI test flag--plugin-dir ./my-pluginLocal devManual load
CLI validateclaude plugin validate .Local devManual check
Install scope--scope user|project|localCLI flagPer install

Common Mistakes

MistakeCorrect Pattern
Placing components inside .claude-plugin/Only plugin.json goes in .claude-plugin/; components at plugin root
Using absolute paths in configsUse ${CLAUDE_PLUGIN_ROOT} for all plugin file references
Missing plugin.json manifestCreate .claude-plugin/plugin.json with at least a name field
Path traversal with ../Keep all files inside the plugin directory
Non-executable hook scriptsRun chmod +x on all scripts referenced by hooks
Forgetting namespacingPlugin skills are invoked as /plugin-name:skill-name
Inline hooks missing event casingEvent names are case-sensitive: PostToolUse, not postToolUse
Expecting custom paths to replace defaultsCustom component paths supplement default directories, not replace them

Delegation

  • Plugin component creation: Build skills, agents, and commands following their respective standards
  • Pattern discovery: Use Explore agent to find existing plugin patterns in the codebase
  • Code review: Use Task agent for plugin structure validation

If the meta-skill-creator skill is available, delegate skill authoring within plugins to it. Otherwise, recommend: npx skills add oakoss/agent-skills --skill meta-skill-creator

References

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/meta-plugin-creator

Default branch

main

Latest commit

85e3a39

Tree SHA

a4c9e7b