No slash command · from autoresearch
Manages git commit and revert patterns for autoresearch experiments, committing successful results with structured metadata and reverting failures while preserving state files.
Ships in autoresearch. 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.
Manages git state during the autoresearch loop. Successful experiments are committed with structured metadata. Failed experiments are reverted while preserving autoresearch state files.
These files are never reverted, regardless of experiment outcome:
autoresearch.jsonlautoresearch.mdautoresearch.ideas.mdautoresearch.shautoresearch.checks.shkeep — CommitWhen an experiment improves the primary metric:
git add -Agit diff --cached --quiet (exit code 1 = changes exist)<description>
Result: {"status":"keep","<metric_name>":<value>,<secondary_metrics>}
The Result: trailer is a JSON object containing:
status: always "keep"Example commit message:
Inline hot loop in render phase
Result: {"status":"keep","total_µs":14600,"compile_µs":4100,"render_µs":9500}
discard, crash, or checks_failed — RevertWhen an experiment fails or doesn't improve:
git add autoresearch.jsonl autoresearch.md autoresearch.ideas.md autoresearch.sh autoresearch.checks.sh 2>/dev/null || true
git stash push -- autoresearch.jsonl autoresearch.md autoresearch.ideas.md autoresearch.sh autoresearch.checks.sh 2>/dev/null || true
git checkout -- .
git clean -fd 2>/dev/null
git stash pop 2>/dev/null || true
This restores the working tree to the last committed state while keeping all autoresearch state files intact.
autoresearch/<goal>-<YYYY-MM-DD> from current HEAD.Discarded and crashed experiments are completely erased from the working tree. The only surviving record is the description and ASI in autoresearch.jsonl. This is why heavy annotation of failures is critical — without it, future iterations will re-discover the same dead ends.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/autoresearch-createSet up and run an autonomous experiment loop for any optimization target. Gathers what to optimize, then starts the loop immediately. Use when asked to "run autoresearch", "optimize X in a loop", "set up autoresearch for X", or "start experiments"./confidence-scoringCompute and interpret MAD-based confidence scores for experiment results. Use when logging experiment results after 3+ data points to determine if improvements are real or within noise./metric-extractionParse METRIC output lines, infer units, and track primary vs secondary metrics. Use when processing experiment output from autoresearch.sh.npx claudepluginhub pbdeuchler/llm-plugins --plugin autoresearchOther plugins' skills for the same job