new-claude-plugin
v1.0.0
Published
Scaffold a new Claude Code plugin
Maintainers
Readme
new-claude-plugin
Scaffold a new Claude Code plugin in seconds.
npx new-claude-plugin my-pluginUsage
npx new-claude-plugin [name] [options]
Options:
--yes Skip prompts, use defaults
--no-git Skip git initialization
--dir <path> Output directory (default: ~/plugin-name)
--help Show helpWhat it generates
~/my-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── skills/
│ └── hello/
│ └── SKILL.md # Starter skill
├── README.md
├── LICENSE
└── .gitignoreOptional components (selected interactively):
- Agents — sub-agent definitions with custom system prompts
- Hooks — event-driven automation (PostToolUse, etc.)
- MCP Server — bundle a Model Context Protocol server
After scaffolding
Install locally in Claude Code:
/plugin marketplace add ~/my-plugin
/plugin install hello@my-pluginTest without installing:
claude --plugin-dir ~/my-pluginLicense
MIT
