/sci-brain:autoresearchfrom sci-brain
Runs a four-stage autoresearch campaign: topic selection, evidence database, sealed validator, and validator-scored attempt loops. Use when starting, resuming, or checking campaign status.
Ships in sci-brain. 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.
Keep the working directory at the user's project. Resolve this loaded SKILL.md
with Path(path).resolve() before locating resources; follow symlinks. Bare
helpers/, references/, and template paths are relative to that real skill
directory. A path written as skills/<name>/... means the installed <name>
skill's directory from the agent's skill catalog, not a path in the user's project.
Locate each dependency by its public skill name; copied skills need not be siblings.
If a dependency is absent, report the missing skill and install it before that step.
Shared writing files are bundled in how-to-write-ideas-report/references/.
One skill, four stages. State lives in <project>/research/STATE.md
(schema and template: references/state-schema.md). Each stage's procedure
is a file under references/stages/; this file decides which one applies
and then follows it in the same context.
| stage | what it produces | procedure |
|---|---|---|
| topics | topics.md — chosen topics, metrics, user-confirmed acceptance gate | references/stages/topics.md |
| db | .knowledge/, research/INSIGHTS.md, research/database/, research/CATALOG.md; flips survey_gate | references/stages/db.md |
| validator | research/validator/ (GOAL.md, validate CLI, manifest), sealed holdout; flips validator_gate | references/stages/validator.md |
| run | .worktrees/attempt-NNN/, docs/discussion/ reflection reports | references/stages/run.md |
Supporting references: references/insights-template.md (db),
references/validator-contract.md + references/negative-controls.md
(validator), references/attempt-protocol.md +
references/reflection-template.md + references/report-schema.md (run),
helpers/report.py (HTML cycle reports) and helpers/gen_campaign.py
(cross-cycle full-campaign overview).
Optional cycle completion notifications use helpers/cycle_end_hook.py;
configuration and sound examples: references/cycle-end-hook.md.
<project>/research/STATE.md and the
artifacts its recorded stage implies. Report the stage, gates passed,
attempts completed and remaining, and any expected artifact that is missing.
Then stop: do not create or repair STATE.md, advance a stage, run
experiments, or spend the attempt budget. Missing or corrupt state is a
finding to report, not permission to initialize a campaign.references/tidy-up.md.
It packs every attempt into its branch, removes the worktrees, and writes
research/ATTEMPTS.md; the stage is unchanged and the campaign can resume.<project>/research/STATE.md.
research/STATE.md from references/state-schema.md (stage topics),
record the answer as recommended_cycle_size, then follow
references/stages/topics.md.batch_size → preserve its value by
migrating it to recommended_cycle_size on the next state write. Treat
it as guidance, not a hard protocol rule.stage: in
STATE.md, return to step 2 for the next stage unless the stage file says
to stop for user review.stage | required artifacts before entering | procedure |
|---|---|---|
| topics | — | references/stages/topics.md |
| db | topics.md with ≥1 chosen topic, each with a ### Metrics block and a user-confirmed ### Acceptance gate block | references/stages/db.md |
| validator | survey gate passed: research/CATALOG.md, .knowledge/INDEX.md, research/INSIGHTS.md with a user-selected section | references/stages/validator.md |
| run | validator gate passed: research/validator/manifest.json recording self-test results | references/stages/run.md |
| done | final report exists in docs/discussion/ | report status only |
A user asking for one stage directly ("brainstorm autoresearch topics for X", "build the validator") still goes through steps 1–2: the stage file is followed only once its entry artifacts verify, or the user records an override.
passed only by the stage that owns them (db →
survey_gate, validator → validator_gate), after the checklist in
that stage file verifies on disk.overrides: in STATE.md (see schema).research/benchmark/private/) never enter design
context, at any stage.helpers/cycle_end_hook.py (opens in a new tab)helpers/gen_campaign.py (opens in a new tab)helpers/report.py (opens in a new tab)helpers/test_gen_campaign.py (opens in a new tab)helpers/test_report.py (opens in a new tab)helpers/tidy_attempts.py (opens in a new tab)references/attempt-protocol.md (opens in a new tab)references/cycle-end-hook.md (opens in a new tab)references/insights-template.md (opens in a new tab)references/negative-controls.md (opens in a new tab)references/reflection-template.md (opens in a new tab)references/report-schema.md (opens in a new tab)references/stages/db.md (opens in a new tab)references/stages/run.md (opens in a new tab)references/stages/topics.md (opens in a new tab)references/stages/validator.md (opens in a new tab)references/state-schema.md (opens in a new tab)references/tidy-up.md (opens in a new tab)references/validator-contract.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
autoresearch, research-campaign, validator, evidence-base, attempt-loops
npx claudepluginhub quantumbfs/sci-brain --plugin sci-brain16 skills in this plugin
/brainstorm-ideasUser trigger. Use when brainstorming research ideas with a Socratic collaborator who learns your background and helps find a problem worth attacking./create-advisorUser trigger. Use when creating or updating a named advisor profile from a researcher's conversation history./dump-chat-historyUser trigger. Use when exporting original conversations from selected harnesses and dates as a faithful transcript or a topic-titled Typst and PDF field note./how-to-analyze-dialogAgentic trigger. Use when classifying exported research conversations by topic and analyzing their prompting patterns across six academic dimensions./how-to-build-kbAgentic trigger. Use when turning a list of picked papers into verified knowledge-base entries — references.bib, INDEX.md, and NOTES.md./how-to-download-refAgentic trigger. Use when adding arXiv IDs or DOIs to a knowledge base — fetches metadata, PDFs, and full text, then updates references.bib and INDEX.md.Other plugins' skills for the same job