research-pipeline
Skill9 starsChanged 3 months agoMITView on GitHub
Lightweight AutoDL-first research pipeline: idea discovery → blueprint → experiment planning/AutoDL readiness checks → prompt-only review/audit → optional evidence-checked paper planning. Adapts to venue-only, reference-paper/codebase, idea-doc, existing-repo, or partial-results starts; avoids heavy local compute, defaults to concise artifacts, and prepares AutoDL/HPC approval-bounded runs. Use when user says \"全流程\", \"full pipeline\", \"从找idea到投稿\", \"end-to-end research\", or wants a complete but user-gated research lifecycle. Manuscript drafting is allowed only after formal runs and evidence audit pass.
16 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- koaeraser/ARMStheir own version, first seen Nov 15, 2026
- TheVeller/claude-skillstheir own version, first seen Nov 2, 2026
- tsingyuai/scientifytheir own version, first seen Oct 8, 2026
- 3mmehdi/research-pipelinetheir own version, first seen Sep 29, 2026
- talhaMah56/claude_skillsedited, first seen Sep 12, 2026
- Shri-Phnx/claude-skillsedited, first seen Sep 3, 2026
Used with
Projects with it also use invention-structuring, jurisdiction-format and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
raja21068Skillinvention-structuring
Structure a raw invention idea into a formal invention disclosure. Use when user says \"构建发明\", \"structure invention\", \"发明构建\", \"invention disclosure\", or wants to formalize a rough idea into a patent-ready structure.
Also in 3 projects that use this
raja21068Skilljurisdiction-format
Compile patent application into jurisdiction-specific filing format. Use when user says \"格式转换\", \"jurisdiction format\", \"国家格式\", \"compile patent\", or wants formatted patent documents for CN/US/EP filing.
Also in 3 projects that use this
rongaredeSkillsemantic-scholar
使用 Semantic Scholar API 检索和验证学术论文。支持并发多关键词搜索、批量 ID/DOI 查询、引用分析、批量补全摘要、统一 Markdown 导出。覆盖 2.14 亿+ 学术论文,无需 API Key 即可使用。触发词:论文检索、论文验证、Semantic Scholar、S2 搜索、查论文、补全摘要、导出MD
Also in 5 projects that use this
- +6 more from raja21068
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- wanshuiyin/Auto-claude-code-research-in-sleep★ 19k41% same
- raja21068/AutoResearch★ 227% same
- Shri-Phnx/claude-skills★ 216% same
- talhaMah56/claude_skills★ 045% same
Wrote their own version · 12
- tsingyuai/scientify★ 2.2ksame name
- koaeraser/ARMS★ 40same name
- SamCuipogobongo/research-pipeline★ 18same name
- catalsqlb-cmd/Prism-H★ 16same name
- meteora-pro/devboy-tools★ 14same name
- sergeeey/Claude-cod-top-2026★ 9same name
- Yusong-Enceladus/claude-skills★ 8same name
- TheVeller/claude-skills★ 4same name
- callowayproject/agent-skills★ 2same name
- sfrangulov/skills★ 2same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- autodl-hpcSkill
- experiment-bridgeSkill
- experiment-planSkill
- human-toneSkill
- idea-discoverySkill
- paper-visualizationSkill
- paper-writingSkill
- rebuttalSkill
- research-blueprintSkill
- research-repo-architectSkill
- research-reviewSkill
- resubmit-pipelineSkill
- autodl-hpcSkill
- auto-paper-improvement-loopSkill
- auto-review-loopSkill
- novelty-checkSkill
- paper-figureSkill
- paper-planSkill
- paper-writeSkill
- research-refineSkill
- research-reviewSkill
- experiment-bridgeSkill
- experiment-planSkill
- auto-paper-improvement-loopSkill
- auto-review-loopSkill
- grant-proposalSkill
- idea-creatorSkill
- idea-discoverySkill
- novelty-checkSkill
- paper-figureSkill
- paper-planSkill
- paper-posterSkill
- paper-slidesSkill
- paper-writeSkill
- paper-writingSkill
- research-refineSkill
- research-reviewSkill
- human-toneSkill
- idea-discoverySkill
- paper-visualizationSkill
- paper-writingSkill
- rebuttalSkill
- research-blueprintSkill
- research-pipelineSkill
- research-repo-architectSkill
- research-reviewSkill
- resubmit-pipelineSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 12 are distinctive, and 20 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
20
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Read ../shared-references/lightweight-research-pack.md before running the pipeline.
- Very specific: line 62
BLUEPRINT_GATE = required at handoffs: before formal experiment planning, AutoDL formal runs, or paper planning, create or refresh …
- Distinctive: line 66
Keep routine updates compact.
- Very specific: line 67
OVERNIGHT_HEARTBEAT = false: when explicitly enabled, only checks external machine-readable progress and resumes a stalled phase.
- Very specific: line 75
Read ../shared-references/project-guide-protocol.md when the user wants a project-wide guide or when crossing a stage gate.
- Very specific: line 135
At start: if — resume <run_id> was passed, run run_state.py resume <root> <run_id> — it prints the first non-accepted phase.
- Very specific: line 157
Do not mark a writing phase pending just because experiments validated.
- Distinctive: line 185
read the run state and last progress timestamp.
- Distinctive: line 186
check only machine-verifiable external facts.
- Distinctive: line 189
leave quality, novelty, correctness, and acceptance verdicts to their owning gate.
- Very specific: line 198
If docs/project/RESEARCH_BRIEF.md exists, load it as detailed context (replaces one-line prompt).
- Very specific: line 212
After idea-stage/IDEA_REPORT.md is generated, pause and present the top ideas to the user:
- Very specific: line 224
If AUTO_PROCEED=false: Wait for user confirmation before continuing.
- Very specific: line 236
When the user commits to an idea or stable method, run /research-blueprint before implementation or formal experiment planning.
- Very specific: line 275
Wait for /experiment-bridge to complete and report its handoff summary before proceeding.
- Distinctive: line 295
After the auto-review loop completes, run an evidence-readiness gate before any paper handoff.
- Distinctive: line 298
Step 1: Write or update the compact research status:
- Distinctive: line 304
Step 2: Check the manuscript-entry prerequisites:
- Very specific: line 312
If any prerequisite fails, stop in the experiment/audit phase.
- Very specific: line 317
If the gate passes, generate docs/paper/NARRATIVE_REPORT.md as a compact evidence-audited handoff for paper-plan, not as a manuscript draft.
- Distinctive: line 360
If Stage 4 does not pass, skip this stage entirely.
- Very specific: line 362
If Stage 4 passes and AUTO_WRITE=false (default), stop after presenting the paper-planning command, not a manuscript command:
- Very specific: line 370
If AUTO_WRITE=true, first run or request /paper-plan.
- Very specific: line 376
If VENUE is missing, stop and ask.
- Very specific: line 377
If formal evidence or the paper plan readiness check is missing, stop and write docs/project/NEXT_ACTIONS.md.
- Distinctive: line 379
If manual figures are required, pause and list them.
- Very specific: line 383
Only after Stage 4 finalizes an evidence-audited docs/paper/NARRATIVE_REPORT.md, optionally invoke /render-html on the narrative report:
- Very specific: line 395
Non-blocking: if /render-html fails (helper missing, file write error, etc.), log the failure and continue.
- Very specific: line 410
Large file handling: If the Write tool fails due to file size, immediately retry using Bash (cat << 'EOF' > file) to write in chunks.
- Distinctive: line 416
Documentation: Every stage updates its own output file.
- Distinctive: line 417
Fail gracefully: If any stage fails (no good ideas, experiments crash, review loop stuck), report clearly and suggest alternatives rather …
- Distinctive: line 427
Sweet spot: Run Stage 1 in the evening, launch Stage 2-3 before bed, wake up to a reviewed paper.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Full Research Pipeline: Idea → Experiments → Submission
Capability Routing
This is a first-layer entry skill. Keep it loaded as the user-facing route; when a request needs a specialized capability below, resolve the debuffer repo root from .debuffer_skills/installed-skills-codex.txt (repo_root) when available, read the referenced library SKILL.md, then follow that skill. Do not copy the whole library skill into this file.
/research-refine: read../library/idea-method/research-refine/SKILL.md./experiment-queue: read../library/experiments/experiment-queue/SKILL.md./auto-review-loop: read../library/review/auto-review-loop/SKILL.md./dse-loop: read../library/workflow/dse-loop/SKILL.md./meta-optimize: read../library/workflow/meta-optimize/SKILL.md.
⏱ External cadence: non-judgmental heartbeat only. An overnight
/loop/CronCreateheartbeat may wake, detect a stalled phase (no progress, dead process, blocked on a freed resource) and nudge it forward — it may NEVER decide the work is good (paper good enough, proof holds, result supported). Every such verdict stays on its own skill's internal cadence and terminates in the cross-model jury. A heartbeat may say "keep going," never "good enough." Seeshared-references/external-cadence.md(overnight-pipeline rule).
End-to-end autonomous research workflow for: $ARGUMENTS
Customized Pack Defaults
Read ../shared-references/lightweight-research-pack.md before running the
pipeline. In this customized pack, the following defaults override older
autonomous settings below unless the user explicitly asks for legacy automation:
- STARTUP_MODE = auto: classify the project as
venue-only,reference-paper,reference-codebase,idea-doc,existing-repo, orpartial-resultsbefore choosing the first stage. - AUTO_PROCEED = false, HUMAN_CHECKPOINT = true, COMPACT = true, RENDER_HTML = false.
- REVIEW_MODE = prompt-only: generate
review-prompts/*_review_prompt.mdand wait for pasted feedback from a separate review conversation. Do not call reviewer MCP/API backends unless the user explicitly opts into legacy review. - AUTONOMOUS_REVIEW = false: automatic reviewer loops are available only after explicit user authorization for the current run. The loop must preserve raw reviews and append-only obligations.
- CODE_REVIEW = prompt-only: for implementation review, write a code-review prompt file instead of calling a reviewer backend directly.
- LOCAL_HEAVY_COMPUTE = false, DEPLOY_TARGET = autodl: local work is
limited to edits, lint/tests, dry runs, and tiny smoke checks. Heavy training
or sweeps must be prepared through
/autodl-hpcwith approval gates. - AUTO_WRITE = false remains the default and cannot override the evidence
gate. Produce compact
docs/project/PROJECT_BRIEF.md,docs/evidence/findings.md,docs/experiments/EXPERIMENT_LOG.md, anddocs/project/NEXT_ACTIONS.md; createdocs/paper/NARRATIVE_REPORT.mdonly after formal runs and evidence audit pass, or when the user explicitly asks for a clearly labeled pre-paper gap artifact. - BLUEPRINT_GATE = required at handoffs: before formal experiment planning,
AutoDL formal runs, or paper planning, create or refresh
docs/project/RESEARCH_BLUEPRINT.mdanddocs/project/BLUEPRINT_GATE.mdvia/research-blueprint. Keep routine updates compact. - OVERNIGHT_HEARTBEAT = false: when explicitly enabled, only checks external machine-readable progress and resumes a stalled phase. It never accepts a quality verdict, changes scope, or bypasses a user gate.
For venue-specific review and writing, read
../shared-references/venue-profiles.md and apply the target venue profile
(ICLR, AAAI, JMLR, TPAMI, NeurIPS/ICML, or IEEE).
Read ../shared-references/project-guide-protocol.md when the user wants a
project-wide guide or when crossing a stage gate. Keep PROJECT_STATUS.md
updated after each accepted stage. Generate docs/project/PROJECT_GUIDE.md,
docs/project/RESEARCH_BLUEPRINT.md, docs/project/BLUEPRINT_GATE.md,
docs/experiments/EXPERIMENT_PROTOCOL.md,
docs/evidence/EVIDENCE_LEDGER.md, or docs/paper/PAPER_GUIDE.md only when
their gate conditions are met; otherwise update compact memory files.
Constants
- AUTO_PROCEED = false — Wait for explicit user confirmation before leaving idea selection or any expensive gate.
- ARXIV_DOWNLOAD = false — When
true,/research-litdownloads the top relevant arXiv PDFs during literature survey. Whenfalse(default), only fetches metadata via arXiv API. Passed through to/idea-discovery→/research-lit. - HUMAN_CHECKPOINT = true — Pause review loops after each round so the user can inspect feedback before fixes or new experiments.
- REVIEWER_DIFFICULTY = medium — Controls the requested review depth. In the
default prompt-only mode, it changes the generated review checklist.
hardandnightmaremay be used for an explicitly authorized automatic reviewer backend, but never select a model or backend by themselves. Passed through to/auto-review-loop. - CODE_REVIEW = prompt-only — Write a code-review prompt before deployment.
An automatic reviewer backend requires explicit authorization for the current
run and must follow
shared-references/model-policy.md. - BASE_REPO = false — GitHub repo URL to use as base codebase. When set,
/experiment-bridgeclones the repo first and implements experiments on top of it. Whenfalse(default), writes code from scratch or reuses existing project files. Passed through to/experiment-bridge. - COMPACT = true — Generate compact summary files for short-context models and session recovery. Passed through to
/idea-discoveryand/experiment-bridge. - AUTO_WRITE = false — When
true, it may request the paper-writing workflow only after formal runs, evidence audit, and paper-plan gates pass. Whenfalse(default), stop at the next allowed gate and do not present manuscript commands. - VENUE = ICLR — Target venue for paper writing (Stage 5). Only used when
AUTO_WRITE=true. Options:ICLR,NeurIPS,ICML,CVPR,ACL,AAAI,ACM,IEEE_CONF,IEEE_JOURNAL. - RENDER_HTML = false — Render
docs/paper/NARRATIVE_REPORT.mdonly when that evidence-audited artifact is actually generated and the user asks or opts in. - RESUMABLE = true — When
true(default), the pipeline records per-stage state to.debuffer_skills/runs/<run_id>.jsonso a crashed/interrupted run can resume via/research-pipeline — resume <run_id>instead of restarting. Stage status splitsdone(executor finished writing) fromaccepted(the stage's cross-model gate / deterministic verifier passed); resume re-validates anydone-but-unaccepted stage. Seeshared-references/resumable-runs.md.
💡 Override via argument, e.g.,
/research-pipeline "topic" — AUTO_PROCEED: false, human checkpoint: true, difficulty: nightmare, code review: false, base repo: https://github.com/org/project, auto_write: true, venue: NeurIPS.
Overview
This skill chains the research lifecycle into a gated pipeline:
/idea-discovery → /research-blueprint → /experiment-bridge/autodl-hpc → /experiment-audit → /paper-plan → /paper-writing (gated)
├── Workflow 1 ──┤├── Stage-gate design ──┤├── Workflow 1.5 ──┤├── Workflow 2 ───┤├── Workflow 3 ──┤It orchestrates the major research workflows plus blueprint and evidence readiness checks.
Paper writing is optional and controlled by both AUTO_WRITE and the
manuscript entry check; AUTO_WRITE=true is ignored when formal evidence is
missing.
Resumable runs (— resume <run_id>)
This pipeline is long and can fail mid-run; it tracks per-stage state via
run_state.py so you can resume instead of restarting (see
shared-references/resumable-runs.md).
Skip this whole section if RESUMABLE = false.
Resolve the helper via the canonical chain (integration-contract §2):
.debuffer_skills/tools/run_state.py → tools/run_state.py → $ARIS_REPO/tools/run_state.py
(warn-and-skip if unresolved — never block the pipeline).
Phases, in order: idea-discovery, experiment-bridge, auto-review-loop,
evidence-summary; append paper-plan and paper-writing only when their gates
are actually opened.
- At start: if
— resume <run_id>was passed, runrun_state.py resume <root> <run_id>— it prints the first non-acceptedphase; begin the pipeline at that stage (re-run arunning/failedstage; re-audit adone-but-unaccepted stage). Otherwise derive<run_id>from the direction slug + date andrun_state.py start <root> <run_id> --phases "idea-discovery,experiment-bridge,auto-review-loop,evidence-summary". - Per stage:
set <run_id> <phase> runningon entry;set <run_id> <phase> done --artifact <path>once the stage's artifact is written. Mark
acceptedONLY after the stage's gate passes — never on the executor's own say-so (run_state.py acceptrequires a recorded verdict id + reviewer):phase what sets acceptedrecord as reviewer idea-discoveryGate 1 cross-model jury / novelty-check passed configured reviewer handle + thread/trace id experiment-bridgeexperiments actually ran (jobs completed) — deterministic deterministic:experiment-bridgeauto-review-loopthe loop hit its positive STOP ( score>=6 AND verdict∈{ready,almost})configured reviewer handle + final review trace id evidence-summarycompact status files updated and Stage 4 gate recorded; docs/paper/NARRATIVE_REPORT.mdonly if evidence readiness check passeddeterministic:evidence-summarypaper-plandocs/paper/PAPER_PLAN.mdaccepted and manuscript entry check explicitly passeddeterministic:paper-plan-gatepaper-writingsubmission audits passed ( verify_paper_audits.shexit 0) — deterministicdeterministic:verify_paper_audits.sh
If AUTO_WRITE = false (default), paper-plan and paper-writing are not
part of this run unless the user explicitly continues after the evidence readiness check.
Do not mark a writing phase pending just because experiments validated. Record each
accept verdict_id as a durable handle — the codex thread/trace id, or the
path/sha of the deterministic verifier's report (e.g. the verify_paper_audits.sh
output JSON) — not just the reviewer label.
A stage left done (gate failed/ambiguous, or the run crashed before the gate)
is re-validated on the next resume — the acceptance obligation is never skipped.
Strong Loop Hygiene
For unattended idea/search/experiment loops, use the cheap deterministic helpers:
tools/iteration_log.py note <root> <run_id> <phase> <new_findings>after each iteration. Consecutive zero-finding rounds force a structural pivot at 2 and human attention at 4. The signal changes direction only; it never judges whether a result is good enough.tools/watchdog.py --register '{"name":"<run>","type":"loop","state_file":"<path>","stale_after_seconds":21600}'for long loops that rewrite a JSON state file.STALE/MISSINGis detect-only: surface it and resume/pivot explicitly; do not let the watchdog restart or accept verdict-bearing work.
For automatic reviewer loops, do not wrap the loop in an external timer. Use
the loop's own round state and /integrity-forensics. External cadence is
reserved for waiting on job completion, resource availability, artifact arrival,
or scheduled literature changes.
For an explicitly enabled overnight heartbeat:
- read the run state and last progress timestamp;
- check only machine-verifiable external facts;
- resume or nudge a stalled phase without changing its contract;
- record the wake event and stop;
- leave quality, novelty, correctness, and acceptance verdicts to their owning gate.
The heartbeat may say "keep going"; it may never say "good enough".
Pipeline
Stage 1: Idea Discovery (Workflow 1)
If docs/project/RESEARCH_BRIEF.md exists, load it as detailed context (replaces one-line prompt). Fall back to legacy root RESEARCH_BRIEF.md only for older projects. See templates/RESEARCH_BRIEF_TEMPLATE.md.
Invoke the idea discovery pipeline:
/idea-discovery "$ARGUMENTS"This internally runs: /research-lit → /idea-creator → /novelty-check → /research-review
Output: idea-stage/IDEA_REPORT.md with ranked, validated, pilot-tested ideas.
🚦 Gate 1 — Human Checkpoint:
After idea-stage/IDEA_REPORT.md is generated, pause and present the top ideas to the user:
📋 Idea Discovery complete. Top ideas:
1. [Idea 1 title] — Pilot: POSITIVE (+X%), Novelty: CONFIRMED
2. [Idea 2 title] — Pilot: WEAK POSITIVE (+Y%), Novelty: CONFIRMED
3. [Idea 3 title] — Pilot: NEGATIVE, eliminated
Recommended: Idea 1. Shall I proceed with implementation?If AUTO_PROCEED=false: Wait for user confirmation before continuing. The user may:
- Approve the idea → proceed to Stage 2.
/experiment-bridgereadsrefine-logs/EXPERIMENT_PLAN.mdalready generated by/idea-discovery. - Request changes (e.g., "combine Idea 1 and 3", "focus more on X") → update the idea prompt with user feedback, re-run
/idea-discoverywith refined constraints, and present again. - Reject all ideas → collect feedback on what's missing, re-run Stage 1 with adjusted research direction. Repeat until the user commits to an idea.
- Stop here → save current state to
idea-stage/IDEA_REPORT.mdfor future reference.
If AUTO_PROCEED=true: Present the top ideas, wait 10 seconds for user input. If no response, auto-select the #1 ranked idea (highest pilot signal + novelty confirmed) and proceed to Stage 2. Log: "AUTO_PROCEED: selected Idea 1 — [title]".
⚠️ This gate waits for user confirmation when AUTO_PROCEED=false. When
true, it auto-proceeds after presenting results. The rest of the pipeline (Stages 2-3) is expensive (GPU time + multiple review rounds), so setAUTO_PROCEED=falseif you want a final review checkpoint before committing GPU resources.
Stage 1.5: Research Blueprint Gate
When the user commits to an idea or stable method, run /research-blueprint
before implementation or formal experiment planning. It writes
docs/project/RESEARCH_BLUEPRINT.md with the sequential overall progress table and
docs/project/BLUEPRINT_GATE.md with PASS / CONDITIONAL / BLOCKED. Continue only to the
allowed next step recorded in the gate. If the idea is still exploratory, keep
using docs/project/PROJECT_BRIEF.md, PROJECT_STATUS.md, and
docs/project/NEXT_ACTIONS.md instead of
creating the large blueprint.
Stage 2: Experiment Bridge (Workflow 1.5)
Once the user confirms which idea to pursue, delegate implementation and deployment to /experiment-bridge:
/experiment-bridge "$CHOSEN_IDEA_TITLE" — code review: $CODE_REVIEW, base repo: $BASE_REPO, compact: $COMPACT💡 Queue routing is automatic:
/experiment-bridgePhase 4 routes each milestone by job count — ≤5 jobs →/run-experiment, ≥10 jobs or teacher→student phase dependencies →/experiment-queue(with OOM retry, wave gating, crash-safe state). No manual override is needed.
What this does (fully autonomous):
- Parses
refine-logs/EXPERIMENT_PLAN.md— extracts milestones, run order, compute budget - Implements experiment code — extends pilot to full scale, follows existing codebase conventions
- Code-review handoff — writes a prompt-only review request for logic bugs, incorrect metrics, and ground-truth misuse before any GPU time is spent; automatic review is opt-in
- Sanity check — runs the smallest experiment first to verify the environment; auto-debugs failures (up to 3 attempts, with
/codex:rescuefallback) - Deploys full experiments — auto-routes by job count (≤5 →
/run-experiment, ≥10 →/experiment-queuewith OOM retry, wave gating, crash-safe state) - Collects initial results — parses outputs, updates
refine-logs/EXPERIMENT_TRACKER.md, runs/training-checkif W&B is configured - Auto-plans ablations via
/ablation-plannerif main results are positive
Output:
refine-logs/EXPERIMENT_RESULTS.md— structured results by milestonerefine-logs/EXPERIMENT_TRACKER.md— updated run-by-run statusdocs/experiments/EXPERIMENT_LOG.md(whenCOMPACT=true) — session-recovery-friendly log
Monitor progress (while experiments run):
/monitor-experiment [server]Wait for /experiment-bridge to complete and report its handoff summary before proceeding.
Stage 3: Auto Review Loop (Workflow 2)
Once initial results are in, start the autonomous improvement loop:
/auto-review-loop "$ARGUMENTS — [chosen idea title], difficulty: $REVIEWER_DIFFICULTY"What this does (up to 4 rounds):
- The configured review mode evaluates the work (score, weaknesses, minimum fixes); prompt-only mode records the request and waits for pasted feedback
- Claude Code implements fixes (code changes, new experiments, reframing)
- Deploy fixes, collect new results
- Re-review → repeat until (score ≥ 6/10 AND verdict ∈ {ready, almost}) or 4 rounds reached
Output: review-stage/AUTO_REVIEW.md with full review history and final assessment.
Stage 4: Evidence Summary & Paper-Readiness Gate
After the auto-review loop completes, run an evidence-readiness gate before any paper handoff.
Step 1: Write or update the compact research status:
PROJECT_STATUS.mddocs/evidence/findings.mddocs/experiments/EXPERIMENT_LOG.mddocs/project/NEXT_ACTIONS.md
Step 2: Check the manuscript-entry prerequisites:
- formal baseline/main/required ablation runs exist for paper-level findings;
- raw evidence names run folders, metrics, configs/resolved configs, seeds, logs/metadata, and result summaries;
docs/evidence/EVIDENCE_LEDGER.md,CLAIMS_FROM_RESULTS.md, or an equivalent audit maps findings to raw evidence and unresolved gaps;docs/project/BLUEPRINT_GATE.mddoes not block paper planning.
If any prerequisite fails, stop in the experiment/audit phase. Do not generate
docs/paper/NARRATIVE_REPORT.md, do not render HTML, and do not present
/paper-writing. The next step should be experiment-plan, autodl-hpc,
experiment-audit, evidence-ledger completion, or stop.
If the gate passes, generate docs/paper/NARRATIVE_REPORT.md as a compact
evidence-audited handoff for paper-plan, not as a manuscript draft.
The narrative report must contain:
- Problem statement and core finding
- Method summary
- Formal quantitative results with raw evidence for each finding
- Figure/table inventory (which exist, which need manual creation)
- Limitations and remaining follow-up items
Output: compact status files, and docs/paper/NARRATIVE_REPORT.md only
when the evidence readiness check passes.
# Research Pipeline Report
**Direction**: $ARGUMENTS
**Chosen Idea**: [title]
**Date**: [start] → [end]
**Pipeline**: idea-discovery → experiment-bridge → auto-review-loop
## Journey Summary
- Ideas generated: X → filtered to Y → piloted Z → chose 1
- Implementation: [brief description of what was built]
- Experiments: [number of GPU experiments, total compute time]
- Review rounds: N/4, final score: X/10
## Paper-Readiness Gate
- Formal runs complete: [yes/no + evidence path]
- Evidence audit complete: [yes/no + artifact path]
- Allowed next step: [experiment-plan/autodl-hpc/experiment-audit/paper-plan/stop]
- Narrative report: [generated only if readiness check passed]
## Remaining TODOs (if any)
- [items flagged by reviewer that weren't addressed]Stage 5: Paper Planning / Writing (Gated Optional)
This corresponds to Stage 6: Paper Writing in the macro lifecycle, but that
stage remains closed until formal runs, evidence audit, and paper-plan gates
pass.
If Stage 4 does not pass, skip this stage entirely.
If Stage 4 passes and AUTO_WRITE=false (default), stop after presenting the
paper-planning command, not a manuscript command:
evidence readiness check passed. Next allowed step:
/paper-plan "docs/paper/NARRATIVE_REPORT.md" --venue [VENUE]If AUTO_WRITE=true, first run or request /paper-plan. Invoke
/paper-writing only if the resulting docs/paper/PAPER_PLAN.md says the
manuscript entry check passed and the user explicitly confirms. Never proceed
from Stage 4 directly to LaTeX drafting.
Checks before any manuscript drafting:
- If
VENUEis missing, stop and ask. Do not silently use a default venue. - If formal evidence or the paper plan readiness check is missing, stop and write
docs/project/NEXT_ACTIONS.md. - If manual figures are required, pause and list them. Wait for user approval.
Render HTML view (opt-in, only after evidence readiness check passes)
Only after Stage 4 finalizes an evidence-audited
docs/paper/NARRATIVE_REPORT.md, optionally invoke /render-html on the
narrative report:
/render-html "docs/paper/NARRATIVE_REPORT.md" --no-review--no-review is intentional: this is an internal handoff doc, not a
reviewer-facing final artifact. Output: NARRATIVE_REPORT.html next to the MD,
with embedded source SHA256.
Non-blocking: if /render-html fails (helper missing, file write error,
etc.), log the failure and continue. The HTML view is a convenience artifact,
not a paper-readiness prerequisite.
Skip this step if RENDER_HTML = false.
Output Protocols
Follow these shared protocols for all output files:
- Output Versioning Protocol — write timestamped file first, then copy to fixed name
- Output Manifest Protocol — log every output to docs/project/OUTPUT_MANIFEST.md
- Output Language Protocol — respect the project's language setting
Key Rules
- Large file handling: If the Write tool fails due to file size, immediately retry using Bash (
cat << 'EOF' > file) to write in chunks. Do NOT ask the user for permission — just do it silently. - Human checkpoint after Stage 1 is controlled by AUTO_PROCEED. When
false, do not proceed without user confirmation. Whentrue, auto-select the top idea after presenting results. - Stages 2-3 can run autonomously once the user confirms the idea. This is the "sleep and wake up to results" part.
- If Stage 3 ends at round 4 without positive assessment, stop and report remaining issues. Do not loop forever.
- Budget awareness: Track total GPU-hours across the pipeline. Flag if approaching user-defined limits.
- Documentation: Every stage updates its own output file. The full history should be self-contained.
- Fail gracefully: If any stage fails (no good ideas, experiments crash, review loop stuck), report clearly and suggest alternatives rather than forcing forward.
Typical Timeline
| Stage | Duration | Can sleep? |
| 1. Idea Discovery | 30-60 min | Yes if AUTO_PROCEED=true |
| 2. Experiment Bridge | 30-120 min (implement + review + deploy + collect) | Yes ✅ |
| 3. Auto Review | 1-4 hours (depends on experiments) | Yes ✅ |
Sweet spot: Run Stage 1 in the evening, launch Stage 2-3 before bed, wake up to a reviewed paper.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

