autoresearch

autoresearch is a skill for Claude Code, Codex from QuantumBFS/sci-brain. It costs 171 tokens per session (1,157 once invoked), scanned A, original, MIT.

A four-stage system for running research projects with topics, an evidence database, a validator, and experiments. It stores project state in files so the work can be resumed.

In plain words
What is it for?
Use it to select research topics, collect references and notes, build a test validator, run experiments in separate workspaces, and create reflection reports.
Why use it?
It breaks research into defined stages and adds checks for whether topics and results meet agreed, machine-checkable criteria.

Skill for Claude CodeCodex

Part of the sci-brain plugin — 13 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/quantumbfs/sci-brain/autoresearch
Any agent
npx skills add QuantumBFS/sci-brain --skill autoresearch
Clone the repo
git clone --depth 1 https://github.com/QuantumBFS/sci-brain

Made for: Claude Code, Codex.

Or install sci-brain, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autoresearch

README.md
[![agentmods](https://agentmods.dev/badge/skills/quantumbfs/sci-brain/autoresearch.svg)](https://agentmods.dev/skills/quantumbfs/sci-brain/autoresearch)
Your own site
<a href="https://agentmods.dev/skills/quantumbfs/sci-brain/autoresearch"><img src="https://agentmods.dev/badge/skills/quantumbfs/sci-brain/autoresearch.svg" alt="Measured on agentmods" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00171 $0.01157
Opus 5 $0.00086 $0.00579
Sonnet 5 $0.00034 $0.00231
Haiku 4.5 $0.00017 $0.00116

Measured 4d ago against content hash f9c1ad94662a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autoresearch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (helpers/gen_campaign.py, helpers/report.py, helpers/test_gen_campaign.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/autoresearch/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autoresearch

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).

Procedure

  1. Locate state. Read <project>/research/STATE.md.
    • Missing → new project: ask the user for a recommended number of attempts per cycle (suggest 10). Explain that this is a planning default, not a fixed batch size: the agent may choose a smaller or larger cycle when the evidence, candidate pool, cost, or available parallelism calls for it, without exceeding the authorized attempt budget. Create research/STATE.md from references/state-schema.md (stage topics), record the answer as recommended_cycle_size, then follow references/stages/topics.md.
    • Readable legacy state with 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.
    • Corrupt/unreadable → re-derive the stage from the artifact table below (earliest stage whose required artifacts are missing), show the user the derived state, and confirm with them before overwriting STATE.md. Never overwrite a readable STATE.md.
  2. Verify, don't trust. Check the artifacts the recorded stage implies. If any are missing, drop back to the earliest stage whose artifacts are missing and tell the user what was expected and not found.
  3. Report and route. Summarize in a few sentences: stage, gates passed, attempts completed, authorized attempts remaining. Then read the stage's procedure file and follow it. When a stage advances stage: in STATE.md, return to step 2 for the next stage unless the stage file says to stop for user review.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 76 lines · 171 tokens per session scan A f9c1ad94662a

Subscribe to this mod's changes

autoresearch is a skill published in the GitHub repository QuantumBFS/sci-brain (81 stars, last pushed 7d ago), licensed MIT. It adds 171 tokens to every session and 1,157 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

nature-statistics

Audit, revise, or draft manuscript statistical reporting for Nature / high-impact journal submissions. Use when the user asks to check statistical analysis sections, p values, confidence intervals, sample size, biological versus technical replicates, randomization, blinding, multiple-comparison correction, model…

Yuan1z0825/nature-skills · 139 tokens

evaluating-with-leakage-gates

Evaluate an OpenMed de-identification or clinical NER model against the leakage-first release gates G1a through G8, which gate releases on residual PHI leakage rather than on F1. Use when the user wants to run the OpenMed eval harness on a synthetic golden set, decide whether a de-id model is RELEASABLE or…

maziyarpanahi/openmed · 158 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens

indication-dossier

Build a source-backed biomedical indication dossier. Use when a research task asks for disease biology, target rationale, patient segmentation, biomarkers, trials, drugs, competitive landscape, or translational evidence.

companion-inc/feynman · 43 tokens