/wizard:building-a-discipline-spellfrom wizard
Generates a discipline spell (SKILL.md) that enforces a non-negotiable rule against agent rationalization. Includes rule sharpening, excuses table, warning signs, and a hard gate.
Ships in wizard. 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.
Read when SKILL.md points to them.
Specialist builder for kind: discipline spells. A discipline is a non-negotiable rule the agent (or the user) keeps slipping on. This skill produces a SKILL.md tuned to enforce the rule against the agent's own rationalization.
building-a-spell Stage 2 when kind: disciplineA draft SKILL.md with all required discipline sections, ready for pressure-testing-a-spell to harden.
This is a workflow chain. Stages are explicit.
If the rule has any of these words, push back: "should", "try to", "consider", "when possible", "usually". A discipline rule is a hard rule.
Re-write the rule until it's:
Ask the user (or extract from prior turns):
Capture verbatim. Don't paraphrase. Aim for 4-6 excuses.
For each excuse, write the counter — sharp enough to actually stop the action.
What patterns in the agent's own reasoning would predict the rule is about to break? Examples:
These warning signs let the agent self-detect.
Identify the latest possible moment in the workflow where the rule could be enforced. Place a <MUST-STOP> block there with explicit "if this isn't true, STOP" language.
Discipline skills have ONE gate, placed late. Multiple gates dilute the effect.
pressure-testing-a-spellHand off the draft to pressure-testing-a-spell. That skill orchestrates the discipline-mode tester (which runs the baseline + with-skill comparison).
If the tester returns NEEDS-REFINEMENT, the typical fixes are:
Return the PASSing draft. Meta-builder takes over for save.
<MUST-STOP> gate in the bodyReturn to Stage 2 when the tester finds a rationalization not in the table. Return to Stage 4 when the gate is being rationalized past. Return to Stage 1 when the tester finds the rule itself is too soft to enforce.
The draft is good enough when:
<SUBAGENT-STOP> at top to prevent recursive enforcementSee skills/building-a-spell/examples/example-discipline.md for a full walkthrough of building verifying-before-citing.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub redhuntlabs/wizard --plugin wizard12 skills in this plugin
/building-a-spellUse when the user wants to capture a repeatable task as a reusable spell, or asks "how do I build a workflow / skill / framework for X"/building-a-subagent-spellUse when the meta-builder routes to kind=subagent. Generates a spell that dispatches one or more subagents to do work in parallel or in isolation./building-a-workflow-spellUse when the meta-builder routes to kind=workflow. Generates a workflow spell with explicit stages, checkpoints, and loop-back conditions./chaining-spellsUse when composing multiple spells into a chain that runs end-to-end (e.g. brainstorm -> plan -> execute -> verify)./discovering-spellsUse when browsing what spells are available - bundled seeds, your personal library, or both. Filter by kind, audience, or update status./inferring-a-spell-from-examplesUse when the user invokes /capture-this-chat or /build-spell --from-transcript. Reads a transcript and produces a context dictionary plus a draft SKILL.md, which hands off to building-a-spell at Stage 2.Other plugins' skills for the same job