From autoresearch
Manages Git state in autoresearch experiments: commits successful changes with metric JSON metadata, reverts failures while preserving autoresearch state files like autoresearch.jsonl.
npx claudepluginhub pbdeuchler/llm-plugins --plugin autoresearchThis skill uses the workspace's default tool permissions.
Manages git state during the autoresearch loop. Successful experiments are committed with structured metadata. Failed experiments are reverted while preserving autoresearch state files.
Orchestrates autonomous experiments to optimize measurable metrics like build time, latency, accuracy, or configs via git branches and .lab/ logging.
Sets up and runs autonomous experiment loops to optimize any target metric using git branches, autoresearch.md configs, bash benchmark scripts, and JSONL state logging. Activates on 'run autoresearch' or optimization loop requests.
Runs one AutoResearch experiment iteration: reviews history, edits target file per strategy, commits via git, evaluates metrics, keeps or discards changes.
Share bugs, ideas, or general feedback.
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.