/internal:create-pluginfrom internal
Scaffolds a new RedSkills plugin with marketplace, skill, README, CHANGES, and structural-smoke contracts. Run from repo root with a plugin name.
Ships in internal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Scaffold the plugin contract before changing the contract. Any marketplace, skill-body, README, CHANGES, or smoke-script requirement change must update this scaffolder first, then the rest of the repo can follow from generated output.
Run the scaffolder from the RedSkills repository root:
red-skills-resource run plugins/internal/skills/maintainer/create-plugin/scripts/create-plugin.sh <plugin-name>
Use --root <repo-root> when operating on a copied fixture or another checkout:
red-skills-resource run plugins/internal/skills/maintainer/create-plugin/scripts/create-plugin.sh --root /tmp/red-skills-fixture acme-tools
The command creates:
plugins/<plugin-name>/.claude-plugin/plugin.jsonplugins/<plugin-name>/.codex-plugin/plugin.jsonplugins/<plugin-name>/skills/core/<seed-skill>/SKILL.mdplugins/<plugin-name>/scripts/structural-smoke.shplugins/<plugin-name>/README.mdplugins/<plugin-name>/CHANGES.mdIt also appends matching entries to .claude-plugin/marketplace.json,
.agents/plugins/marketplace.json, and the root README.md.
After scaffolding, run the printed validation commands. They are the contract for generated plugins: marketplace validation, frontmatter audit, and the generated plugin's own structural smoke script.
The seed SKILL.md deliberately follows the two-section body convention:
<what-to-do> carries executable steps and <supporting-info> carries context.
Its first content sentence uses a bold imperative lead, and its frontmatter
description includes a concrete Use when trigger so it passes both the
frontmatter audit and the report-only body lint.
The generated CHANGES.md starts with status: added and upstream: none so
new plugins have a provenance stub before they accumulate inherited skills.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub reddb-io/red-skills --plugin internal2 skills in this plugin
Other plugins' skills for the same job