From superbuilder
Run a measured self-healing experiment — baseline → one mutation → fixed eval → keep/revert. Never weakens safety gates.
How this command is triggered — by the user, by Claude, or both
Slash command
/superbuilder:superheal problem statement e.g. "US-003 keeps failing test depth"This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Self-heal target: $ARGUMENTS You MUST follow the Autoresearch-style protocol. Anything that skips a step is invalid. ## Required artifacts (write all of these to .superbuilder/experiments/EXP-NNN.json) 1. **problemStatement** — what is failing, observed N times. 2. **baselineMetric** — measured number BEFORE any change. Pick from: `storyPassRate`, `falsePassRate` (must be 0), `averageRetries`, `diagnosisQuality`, `securityBlockSuccess`, `regressionCount`, `tokenCost`, `sourceGroundingRate`, `contextSufficiency`. 3. **editableSurface** — exactly one of: `skills/*/SKILL.md`, `agents/*.md`,...
Self-heal target: $ARGUMENTS
You MUST follow the Autoresearch-style protocol. Anything that skips a step is invalid.
storyPassRate, falsePassRate (must be 0), averageRetries, diagnosisQuality, securityBlockSuccess, regressionCount, tokenCost, sourceGroundingRate, contextSufficiency.skills/*/SKILL.md, agents/*.md, commands/*.md, orchestrator config defaults, gate ordering, retry policy, eval rubric.none to keep.keep | revert.The mutation must NOT touch:
hooks/hooks.json blocking rulesInvoke 10-self-improve skill which holds the full protocol. Hand the resulting EXP-NNN.json to self-improvement-researcher agent for synthesis.
The numeric measurement step runs through the orchestrator's heal verb,
not by hand:
# Baseline-only run (no mutation): re-establish current numbers.
bin/superbuilder-heal --baseline-set B
bin/superbuilder-heal --baseline-set A # uses examples/eval-fixture/
# With a mutation (one change at a time):
bin/superbuilder-heal --mutation /tmp/EXP-XYZ.patch --baseline-set A
The verb writes .superbuilder/experiments/EXP-NNN.json matching the shape
in docs/EVALS.md and prints the same JSON to stdout. The agent reads the
JSON and applies the keep/revert rule:
Keep iff
securityBlockSuccess == 1.0ANDfalsePassRate == 0AND the target metric improved (or held flat in baseline-only runs).
Print a one-screen summary:
npx claudepluginhub solomonsjoseph/superbuilder-skill