/autoresearch-ai-plugin:run-autoresearch [optimization goal | status | cancel]from autoresearch-ai-plugin
Manages an autonomous experiment loop — start, resume, or check status of an autoresearch session. Also supports cancel and status subcommands.
Ships in autoresearch-ai-plugin. Installing the plugin adds it to Claude Code.
Manage an autoresearch session for this project. Arguments: "$ARGUMENTS"
If the argument is status (or asks how the session is going): follow the Checking Session Status procedure from the autoresearch skill — read autoresearch.jsonl and autoresearch.md, compute totals/baseline/best/confidence, and display the summary. Do not launch the agent.
If the argument is cancel or stop: follow the Cancelling an Autoresearch Session procedure from the autoresearch skill — summarize results, preserve autoresearch.jsonl/autoresearch.md and kept commits. Do not launch the agent.
Otherwise, run a session:
Detect session type.
autoresearch.jsonl present (the authoritative state file). Check the last {"type":"status",...} record: if its state is running (or there is no status record — legacy log) → resume, no questions needed. If it is cancelled/done/wall → the session is concluded; do not silently resume — tell the user its final state and ask whether to restart (a new segment) or leave it. Also resume-guard on goal: if the requested goal clearly differs from the log's config-header goal, ask rather than resume. If only autoresearch.md exists (interrupted setup), treat it as a new session — setup reuses the doc's parameters.val_bpb, pretraining — or the project contains the train.py/prepare.py template → use the autoresearch-ml skill protocol.autoresearch skill protocol.Gather setup parameters (new sessions only). Required before dispatch: goal, benchmark command, primary metric (name, unit, direction), files in scope, constraints. Take them from "$ARGUMENTS" and the project; ask the user only for what cannot be inferred. Check .claude/autoresearch-ai-plugin.local.md for max_iterations, working_dir, and timeouts.
Dispatch the autoresearch-orchestrator agent (Task tool) with a complete brief:
Handle the checkpoint the agent returns:
CONTINUE → relaunch the orchestrator immediately for the next batch (do not ask permission; the user started an autonomous loop and can interrupt anytime).DONE (max_iterations) / WALL → report the final summary (total runs, kept improvements, baseline → best %, top untried ASI hints) and stop — the agent has written the matching status marker, so do not relaunch.PAUSED (backstop: N runs) → the unbounded loop hit a 200-run check-in (the session is still running, not concluded; the agent recorded a backstop_ack for this boundary in the log). Report progress and ask the user whether to continue or stop — do not auto-relaunch. If they continue, dispatch again (the ack means it won't re-pause at this boundary — the next check-in is the following one). If they stop, have the agent write a done marker to conclude.BLOCKED → surface the blocker and ask the user how to proceed.autoresearch.jsonl (authoritative) + autoresearch.md; the loop survives context resets and can be resumed later with /run-autoresearch alone. A session is resumable only while its last {"type":"status",...} marker is running.autoresearch.sh, autoresearch.checks.sh, or prepare.py after creation. The plugin's file-protection hook blocks Write/Edit changes; shell writes are not intercepted, so the prohibition applies to Bash commands as well.max_iterations from .claude/autoresearch-ai-plugin.local.md; stop relaunching once the current-segment run count reaches it. max_iterations: 0 or absent means unlimited, in which case the 200-run backstop applies (confirm-to-continue, not a hard stop).What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (proyecto26/autoresearch-ai-plugin) — no native marketplace selected
npx claudepluginhub p/proyecto26-autoresearch-ai-pluginOther plugins' commands for the same job