
plugin-creator
Scaffold a complete cave plugin bundle — generates .cave-plugin/plugin.json manifest and the standard directory structure (commands/, skills/, agents/, themes/, hooks/). Use when a user wants to create, publish, or package a cave plugin for the marketplace. Triggered by "create a plugin", "scaffold a plugin", "/plugin create", or "new cave plugin".
- Installs
- 106
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/juliusbrussee/caveman-code --skill plugin-creator- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads plugin-creator automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Plugin Creator
You scaffold new cave plugins. A cave plugin is a directory published to GitHub (or any zip URL) with a .cave-plugin/plugin.json manifest and optional sub-directories for commands, skills, agents, themes, and hooks.
Manifest Schema
{
"name": "my-plugin",
"version": "0.1.0",
"description": "A short, clear description of what this plugin does.",
"author": "your-github-handle",
"license": "MIT",
"homepage": "https://github.com/your-handle/my-plugin",
"caveVersion": ">=0.65.0",
"tags": ["productivity", "git"],
"capabilities": {
"commands": true,
"skills": true,
"agents": false,
"themes": false,
"mcp": false,
"hooks": []
}
}
Field Rules
name: kebab-case, a-z0-9 and hyphens only. Must be unique in the marketplace.version: semver ("major.minor.patch").description: one sentence, plain text.tags: free-form strings forcaveman plugin searchmatching.capabilities.commands: settrueifcommands/directory is present.capabilities.skills: settrueifskills/directory is present.capabilities.agents: settrueifagents/directory is present.capabilities.themes: settrueifthemes/directory is present.capabilities.mcp: settrueif.mcp.jsonis present.capabilities.hooks: array of hook entries (see below).
Hook Entry Shape
{ "event": "PostToolUse", "command": "hooks/post-tool-use.sh", "matcher": "Bash" }
Directory Structure
my-plugin/
├── .cave-plugin/
│ └── plugin.json ← required
├── commands/
│ └── my-command.md ← markdown slash commands
├── skills/
│ └── my-skill/
│ └── SKILL.md ← skill with frontmatter
├── agents/
│ └── my-agent.md ← agent definition markdown
├── themes/
│ └── my-theme.json ← theme JSON (cave theme format)
├── hooks/
│ └── post-tool-use.sh ← hook scripts (chmod +x)
├── .mcp.json ← optional MCP server definitions
└── README.md
Scaffolding Steps
When the user asks to create a plugin, follow these steps:
- Ask for plugin details (name, description, which capabilities are needed).
- Create
.cave-plugin/plugin.jsonusing the schema above. - Create only the sub-directories that are needed (do not create empty dirs).
- Add placeholder files for each enabled capability:
commands/example.mdwith frontmatter---\ndescription: Example command.\n---\n\n# Example\n\nDescribe what this command does.\nskills/example/SKILL.mdwith the standard skill frontmatter.agents/example.mdwith agent frontmatter.hooks/example.shwith#!/bin/bash\n# Hook: <event>\nandchmod +x.
- Create a
README.mdwith install instructions and a short description. - Validate the manifest by echoing it back and checking all required fields.
Publishing
After scaffolding, instruct the user to:
- Push the plugin to a public GitHub repository.
- Submit it to a marketplace by adding an entry to a
marketplace.json:{ "plugins": [ { "ref": "your-handle/my-plugin", "name": "my-plugin", "description": "...", "tags": ["..."], "version": "0.1.0" } ] } - Users install it with:
caveman plugin install your-handle/my-plugin
Example Interaction
User: "Create a plugin that adds a /summarize command and a post-save hook."
You:
- Create
.cave-plugin/plugin.jsonwith"commands": true, "hooks": [{ "event": "PostToolUse", "command": "hooks/post-save.sh", "matcher": "Write" }]. - Create
commands/summarize.mdwith a summarize slash command description. - Create
hooks/post-save.shwith a stub hook script. - Create
README.md. - Report the file tree created.
FAQ
What does the plugin-creator skill do?
Scaffold a complete cave plugin bundle — generates .cave-plugin/plugin.json manifest and the standard directory structure (commands/, skills/, agents/, themes/, hooks/). Use when a user wants to create, publish, or package a cave plugin for the marketplace. Triggered by "create a plugin", "scaffold a plugin", "/plugin create", or "new cave plugin".
How do I install plugin-creator?
Run npx skills add https://github.com/juliusbrussee/caveman-code --skill plugin-creator in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/plugin-creator/ (personal) or .claude/skills/plugin-creator/ (project).
Which AI agents can use plugin-creator?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is plugin-creator safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains plugin-creator?
It is published by juliusbrussee in juliusbrussee/caveman-code. It has 106 recorded installs.
More from juliusbrussee/caveman-code
caveman-compress
juliusbrussee/caveman-code
Ultra-compressed communication mode (lite / full / ultra) that cuts token usage 75% by speaking like caveman while keeping full technical accuracy. Use when the user requests "caveman mode", "less tokens", "be brief", or when output budget is tight.
cavekit-revision
juliusbrussee/caveman-code
Trace bugs and manual fixes back to kits and prompts; fix at the source so the iteration loop can reproduce the fix autonomously. Six-step revision process plus the single-failure backpropagation protocol. Use when a manual hot-fix has been applied, when convergence stalls, or when the same class of bug keeps reappearing.
cavekit-design-system
juliusbrussee/caveman-code
Open the skill to read its SKILL.md instructions.
cavekit-validation-first
juliusbrussee/caveman-code
Open the skill to read its SKILL.md instructions.
cavekit-methodology
juliusbrussee/caveman-code
Open the skill to read its SKILL.md instructions.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.