/essential:autoresearch <research-goal-or-brief-path> [--brief=<path>] [--resume=<run-dir>] [--max-rounds=<n>] [--backend=programmatic|judges|human]from essential
Run a metric-driven research loop: define a metric, evaluator, baseline, and target; evolve candidate solutions; score and adversarially verify them; then mutate survivors until the target, budget, or plateau ends the run. Use for measurable optimization of prompts, code, experiments, or creative variants; use deep-research for fact-finding.
Ships in essential. 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.
Turn a fuzzy optimization goal into a user-approved research-brief.md, then run an automated evolve-score-verify loop until the target is met, the round budget is spent, or progress plateaus — delivering the best artifact plus a research dossier with a leaderboard and per-round logs. Fact-finding and literature research belong to essential:deep-research.
--resume=<run-dir>.essential:deep-research), or goals with no nameable metric the interview cannot convert into one.--brief=<path>, or --resume=<run-dir> identifies the run.--max-rounds=<n> overrides budget.max_rounds before validation (default 6); --backend=programmatic|judges|human overrides eval.backend before validation.backend: programmatic needs an eval command that prints exactly one number on stdout; backend: judges needs a rubric the interview can anchor; backend: human needs the user present each round. Code mode (artifact_type: code) needs a git repository and an explicit user execution grant — never assumed. A deterministic scripted-execution capability and coding:commit are both optional; the workflow states the fallback for each.Before creating or materially rewriting a project artifact, read the absolute state.md path injected by Essential. If unavailable, stop artifact writes and report the missing contract. Resolve the active work directory from that contract; a run lives under artifacts/autoresearch/<semantic-slug>/.
Subagent dispatch in steps 4, 5, and 7 follows plugins/governance/standards/delegation/, tightened by the brief's own bounds (fanout, judge count, refute passes) named below. Every first task handover follows delegate.md; blind roles leave Context empty when additional history would violate their isolation contract.
--resume wins; else --brief or a positional path resolving to a brief file means a pre-filled brief; else the positional is goal text. Record the flag overrides and apply them onto budget.max_rounds / eval.backend before any validation.
<run-dir>/research-brief.md exists and rounds/ is non-empty, reconstruct {round, survivors, best, fanout, leaderboard} from the rounds/round-NN/ files (schemas in references/dossier.md), and jump to step 5. A run dir failing either check is not resumable — report it and fall back to asking for a goal.backend: programmatic, dry-run the eval command read-only against the baseline — anything but a single parseable number fails the criterion and re-enters the battery with the captured output shown to the user. Loop until all six exit-criteria pass; if the user aborts, report status: aborted.artifacts/autoresearch/<semantic-slug>/ directory and render research-brief.md verbatim from the template in ./templates/brief.md — frontmatter from the collected values, a ## Goal narrative, one rationale subsection per framing direction, an empty ## Amendments. Auto-append the eval command/script and everything it reads to search_space.immutable_paths regardless of what the user listed.
Hard gate: no subagent dispatch or scripted-execution launch happens anywhere in this skill before the user explicitly approves the brief. Present its decision surface (metric, backend, baseline, target, budget/plateau, constraints, directions, code-execution grant) and ask: approve / edit a field (re-render and re-present) / abort. On approval the brief freezes — only ## Amendments is ever appended.
leaderboard.md header with baseline row, rounds/, best/, and worktrees/ in code mode). Then smoke-test the harness with one calibration eval of the baseline through the chosen backend exactly as a round would score (./directions/eval-backends.md): the full judge panel, one use of the graphical or structured user-input tool for the human backend, or one evaluator selected for the complete programmatic score task for programmatic.
baseline.artifact: 'none' (cold start): skip calibration and set the baseline score to null — round 1's best initializes the trajectory.baseline.score still gets the calibration: it is the harness smoke test, not just a measurement.leaderboard.md baseline row; the brief's baseline.score stays untouched — the leaderboard owns measured values.eval.backend is programmatic or judges; B (sequential inline) otherwise — preferred for the human backend even when parallel execution is available, since every round needs user input. Bounds: fanout generators per the brief (adaptive 4-8, sibling-blind, dispatched in one parallel message under Mechanism B), at least 3 (odd) independent judges per candidate, at most 3 refute passes per round.
status: pending_decision (Mechanism A): human_scoring → ask per listed candidate on the brief's anchored scale and write the answers into rounds/round-NN/scores.yaml; constraint_ambiguity → ask the contract's question and append the ruling to the brief's ## Amendments; then resume through the capability's run-resumption identifier. Repeat until a terminal status.disqualified: <reason> in scores.yaml, never dropped.budget.max_rounds, best score vs baseline vs target.threshold, and the top-3 leaderboard, then ask:
budget.max_rounds and/or plateau.rounds by user-chosen amounts → re-enter step 5.## Amendments as a dated entry — the frontmatter is never rewritten; the resume state carries the effective bounds explicitly (via rounds/ reconstruction or resumeFromRunId).scores.yaml, verify.yaml, and round-log.md. Dispatch one synthesis agent to write dossier.md (seven sections in order per references/dossier.md, synthesized from the rounds/ files only — never from memory of the run), fully rewrite leaderboard.md from final state, and copy the winner verbatim into best/. Then dispatch one read-only provenance reviewer: every leaderboard row must trace to a scores.yaml entry with matching candidate id, round, and consensus value, best/ must hold the rank-1 artifact, and the dossier headline numbers must match disk. On failure, re-dispatch synthesis with the fatals attached; at most 2 retries, then report the unresolved rows — a row without provenance never ships.
coding:commit when available, otherwise leave the diff applied but uncommitted and report that landing state. On no, the diff stays in best/. Remove worktrees/ either way.leaderboard.md, dossier.md, best/, and a complete rounds/round-NN/ set (candidates/, scores.yaml, verify.yaml, round-log.md) for every completed round.scores.yaml entry and best/ holds the rank-1 artifact.## Amendments grew, one dated entry per user ruling.worktrees/ is removed in code mode.status: target_met|accepted_below_target|aborted
metric: { name: ..., baseline: ..., best: ..., target: ..., direction: ... }
rounds_completed: <n>
candidates_evaluated: <n>
stop_reason: target|budget|plateau|user_abort
mechanism: A|B
output_dir: <work-dir>/artifacts/autoresearch/<semantic-slug>/
best_artifact: <path>
user_decisions: [<extend/pivot/accept log>]
generated_files: [<absolute final paths generated or materially rewritten>]
A partial or blocked run still reports this block with status: aborted, the last completed round, and the blocker in place of best_artifact commentary. Follow output-manifest.md for the manifest and writer-owned work-Markdown size obligations.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub alvis/.agents --plugin essential13 skills in this plugin
/deep-researchConduct comprehensive multi-source research with AI-assisted analysis, adversarial claim verification, and explicit source synthesis. Use when investigating complex topics, comparing evidence, gathering current information, or producing a fact-finding report with citations and uncertainty notes. Do not use for metric-driven candidate optimization./discoverAnswers every decision, explanation, and status question with an interactive board and discovers material unknowns before planning. Use for choosing between approaches, explaining anything, work status, blindspot passes, brainstorms, architecture and planning interviews, required pre-plan direction boards, reference semantics, disposable prototypes, readiness checks, finished-build accounts, or explaining recorded decisions or an ADR a change proposes./doctorDiagnose a structural issue observed while reading needed state files, including overview.md, or fulfill an explicit state diagnostic request. Check one affected stream by default; use the state-wide scope for an observed overview issue or explicit global investigation. Propose only repairs needed for the reading, with approval and an owning stream lease./handoffCreate or execute a context-complete cross-domain plan as an orchestrator. Use when another agent must continue without prior context, or when a multi-domain plan needs coordinated execution while this skill retains decision ownership. For coding-session persistence, use essential:handover./handoverPersist work stream state and update the global overview, both in the state root, so the session can pause and any later session resume from the files on disk. Use when pausing coding work; this skill records continuity and does not execute the work./installInstall or refresh Essential's specialist agents for Claude Code, Codex, or Grok Build, and attach startup guidance in Grok's user configuration. Use when setting up this marketplace, installing its agent team, refreshing installed definitions, or restoring Grok's plugin instructions.