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
安装命令
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

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

未指定

源路径

skills/meta-plugin-creator

默认分支

main

最新提交

85e3a39

Tree SHA

a4c9e7b