/claude-code-hero:level-9-the-artificers-workshopfrom claude-code-hero
Guides the creation of a minimal Claude Code plugin with a hero-themed manifest and components, bundling commands, skills, hooks, and agents into a portable artifact.
Ships in claude-code-hero. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a minimal Claude Code plugin with a plugin.json manifest whose name contains "hero", and at least one component.
Everything you've built -- commands, rules, hooks, skills, agents -- lives as individual files in individual directories. Useful. Personal. But not portable. A plugin bundles all of it into a single artifact that anyone can install with one command.
Plugins are how Claude Code's ecosystem grows. Someone else's workflow, packaged and shared. Your workflow, packaged and shared. The thing you've been using this entire time -- Claude Code Hero -- is a plugin. You've been inside one since Level 1.
The final chamber. Not a dungeon. A workshop.
Anvil. Forge. Workbench. Shelves lined with components you recognize: commands, rules, skills, hooks, agents. You've built each one separately. Here, they become one thing.
Look at what's on the shelves. You already have:
hero-spell -- your magic missile, with $ARGUMENTS for targetinghero-protocol -- the path-scoped inscription you carved in the corridorhero-knowledge -- dungeon cartography, bound into a tomehero-agent -- the companion you summonedEvery one of those is a plugin component. You just didn't know it yet.
A plugin is a directory with a .claude-plugin/ folder inside it. That folder contains a plugin.json manifest -- the declaration of what this plugin is and what it provides. The components live alongside .claude-plugin/ as top-level directories: commands/, skills/, agents/, rules/.
Hooks are the exception. They don't get discovered file by file the way commands do -- a plugin declares them in a single hooks/hooks.json, holding the same event structure you wrote into settings.json back in the Tripwire Cavern, wrapped in a top-level hooks key.
Every artifact in this dungeon has carried the hero's mark. Your final creation is no different. The name field in your plugin.json must contain "hero" -- hero-toolkit, my-hero-plugin, hero-utils, whatever fits. This is how the dungeon knows the artifact is yours.
Your task:
.claude-plugin/plugin.json with a name field containing "hero"commands/hero-spell.md, rules/hero-protocol.md, skills/hero-knowledge/SKILL.md, agents/hero-agent.mdThis one is optional. The level passes without it, and /claude-code-hero:verify will tell you whether you earned it.
A plugin on your disk is a plugin only you can use. A marketplace is the listing that makes it installable by someone else -- the difference between building a thing and shipping it.
A marketplace is one more file next to your manifest: .claude-plugin/marketplace.json. It needs three fields:
name -- the marketplace's own identifier, kebab-caseowner -- an object describing who maintains it. A name is enough.plugins -- an array of entries. Each needs a name and a source saying where to fetch the plugin from.Since the plugin sits in the same directory as the marketplace, its source is just "./":
{
"name": "hero-marketplace",
"owner": { "name": "Your Name" },
"plugins": [
{
"name": "hero-toolkit",
"source": "./",
"description": "A toolkit forged in the dungeons"
}
]
}
The name in that entry must contain "hero" -- same mark every artifact in this dungeon carries.
One marketplace can list many plugins, and that's the usual reason to build one: a team publishes a single marketplace, and everyone installs from it with /plugin marketplace add. Yours lists one plugin. The shape is identical either way.
Launch Claude with your plugin loaded: claude --plugin-dir <path-to-your-plugin-directory>. Then test your components. Type /hero-spell the dragon -- if the command fires, your plugin is wired correctly. Ask a question in your skill's domain. Launch claude --agent hero-agent. Each component that works is proof the plugin structure is right.
If a component doesn't appear, check that the directory names match exactly: commands/, skills/, agents/, rules/.
You already know how to build every component type. You've done it across five quests. Now bind them together and watch them come alive as a distributable package.
A plugin is just a directory. The magic is in the structure:
my-plugin/
.claude-plugin/
plugin.json
commands/
my-command.md
The .claude-plugin/plugin.json file is the manifest. Everything else follows the same patterns you've already learned.
The plugin.json manifest can be minimal:
{
"name": "hero-toolkit"
}
Other optional fields: description, version, author. But name (containing "hero") is all you need to start.
Copy your existing hero artifacts from .claude/ into the plugin's component directories. They're the same files, same format -- just organized under one roof.
When you're ready, run /claude-code-hero:verify to check your work.
.claude-plugin/plugin.json.claude-plugin/ (e.g., commands/, skills/, agents/, rules/)plugin.json contains valid JSONplugin.json includes a name field whose value contains "hero" (e.g., "hero-toolkit", "my-hero-plugin")Not required to pass. /claude-code-hero:verify reports whether you earned it.
.claude-plugin/marketplace.json exists next to your plugin.json and is valid JSONname string and an owner objectplugins array holds at least one entry with a hero name and a sourceThe last rune locks into place. The artifact hums. It's whole.
Look at what's on the workbench. A command that fires magic missiles. A rule that activates by path. A hook that reacts when the spell is cast. A skill that holds your expertise. An agent that acts on its own. And now a plugin that binds them all together.
Everything you built across the quests behind you -- it was all plugin components. You just didn't know it yet.
Chamber after chamber. Each one a power claimed, a pattern learned, a tool forged.
You entered this labyrinth mapping walls. You are starting to build them.
The workshop was the point. Everything before it was a component; everything after it is something you can hand to another person. Whatever you build next, you now know how to package it.
You are an artificer.
And the corridor keeps going. Three chambers remain, and each one takes something you already own and sharpens it. Your tripwire learns to decide rather than react. Your toolbelt gains a tool that did not exist in Claude Code at all until you wired it in. And the companion you summoned alone becomes a warband you command several at a time.
The plugin you just built is what makes those three worth having -- a power you cannot package is a power you keep to yourself.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/level-0-the-thresholdClaude Code Hero Level 0: The Threshold -- learn the basics of talking to Claude Code before entering the dungeon/level-10-the-hall-of-watchersClaude Code Hero Level 10: The Hall of Watchers -- add a PreToolUse prompt hook with a multi-tool matcher/level-11-the-oracle-wellClaude Code Hero Level 11: The Oracle Well -- connect an MCP server and gain a new toolnpx claudepluginhub kylesnowschwartz/claude-code-hero --plugin claude-code-heroOther plugins' skills for the same job