research-pipeline
Skill17k starsChanged 5 months agoMITView on GitHub
Full end-to-end research pipeline: from a broad research direction through idea discovery, experiments, and review all the way to a polished paper PDF. Use when user says \"全流程\", \"full pipeline\", \"从找idea到投稿\", \"end-to-end research\", or wants the complete autonomous research lifecycle.
17 other projects use a version of this, 4 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- 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
- Yulivu/debuffer-skillsedited, first seen Aug 30, 2026
- TheVeller/claude-skillstheir own version, first seen Aug 22, 2026
- callowayproject/agent-skillstheir own version, first seen Aug 13, 2026
Who's talking about wanshuiyin/Auto-claude-code-research-in-sleep
- sudosubin/agents.nix“claude-code-marketplaces.github.wanshuiyin.auto-claude-code-research-in-sleep: init at 0.4.28”GitHub · Oct 28, 2026
- reacher-z/Awesome-CUA“Exclude arXiv 2605.03042 (ARIS): autonomous research harness, outside the computer-use scope”GitHub · Oct 20, 2026
- LittleDrinks/research-world“基线复用:ARIS原生与Pi移植、强单Agent及数值对照”GitHub · Oct 18, 2026
- sudosubin/agents.nix“agent-skills.github.wanshuiyin.auto-claude-code-research-in-sleep: init at 0.4.28”GitHub · Oct 4, 2026
- Boom5426/Nature-Paper-Skills“docs: document a canonical install directory with symlinks into the agent directory”GitHub · Oct 2, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub (23 times).
On GitHub · 23
- Oct 28, 2026claude-code-marketplaces.github.wanshuiyin.auto-claude-code-research-in-sleep: init at 0.4.28 — sudosubin/agents.nix0 reactions
- Oct 20, 2026Exclude arXiv 2605.03042 (ARIS): autonomous research harness, outside the computer-use scope — reacher-z/Awesome-CUA0 reactions
- Oct 18, 2026基线复用:ARIS原生与Pi移植、强单Agent及数值对照 — LittleDrinks/research-world0 reactions
- Oct 4, 2026agent-skills.github.wanshuiyin.auto-claude-code-research-in-sleep: init at 0.4.28 — sudosubin/agents.nix0 reactions
- Oct 2, 2026docs: document a canonical install directory with symlinks into the agent directory — Boom5426/Nature-Paper-Skills0 reactions · 3 comments
18 more on GitHub
- Jul 17, 2026Caso externo (ARIS) + 3 cicatrices propias: watchdog de progreso y verificador determinista para la mordida — zigiella/cambium-charter0 reactions
- Jun 17, 2026Add ARIS (Auto-Research-In-Sleep) autonomous ML research toolkit — goupup-ai/miccai250 reactions
- May 28, 2026docs/lanes: add ARIS-style coordination contracts (#28) — SlanchaAI/slancha-mesh0 reactions · 2 comments
- May 28, 2026Adopt ARIS-style SKILL.md + 6-state verdict schema for lane coordination — SlanchaAI/slancha-mesh0 reactions
- May 28, 2026Evaluate: ARIS — Cross-Model Adversarial Review für Task-Qualität (⭐10.9K) — greeves89/AI-Employee0 reactions · 2 comments
- May 6, 2026feat: bulk import ARIS skills from local directory or GitHub — zhou-changjian/DeepSeek-TUI0 reactions · 1 comment
- Apr 21, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions
- Apr 15, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions
- Apr 13, 2026Audit candidate: wanshuiyin/Auto-claude-code-research-in-sleep — xiaolai/nlpm0 reactions · 2 comments
- Apr 10, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions
- Apr 9, 2026[Feature]: Sync latest ARIS auto-evolution workflow into Auto Research Hub — OpenLAIR/dr-claw0 reactions
- Apr 6, 2026Audit candidate: wanshuiyin/Auto-claude-code-research-in-sleep — xiaolai/nlpm0 reactions · 2 comments
- Apr 4, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions · 12 comments
- Mar 28, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions · 23 comments
- Mar 20, 2026[SUBMISSION] Auto-claude-code-research-in-sleep — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 12, 2026Add skill: wanshuiyin/Auto-claude-code-research-in-sleep — VoltAgent/awesome-agent-skills0 reactions · 1 comment
- Mar 12, 2026Add Auto-claude-code-research-in-sleep — e2b-dev/awesome-ai-agents0 reactions
- Mar 12, 2026Add Auto-claude-code-research-in-sleep skill — ComposioHQ/awesome-claude-skills0 reactions
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- Yulivu/debuffer-skills★ 941% same
- raja21068/AutoResearch★ 247% same
- Shri-Phnx/claude-skills★ 224% same
- talhaMah56/claude_skills★ 081% same
Wrote their own version · 13
- SamCuipogobongo/research-pipeline★ 18same name
- meteora-pro/devboy-tools★ 15same name
- eisen0419/revolve★ 9same name
- sergeeey/Claude-cod-top-2026★ 9same name
- Yusong-Enceladus/claude-skills★ 8same name
- ChrisGVE/localdata-mcp★ 4same name
- TheVeller/claude-skills★ 3same name
- callowayproject/agent-skills★ 2same name
- sfrangulov/skills★ 2same name
- wookat/ai-research-skills★ 2same name
3 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 repository188 other files it gives its agents.
- ablation-plannerSkill
- alphaxivSkill
- analyze-resultsSkill
- arxivSkill
- auto-paper-improvement-loopSkill
- auto-review-loop-llmSkill
- auto-review-loop-minimaxSkill
- auto-review-loopSkill
- citation-auditSkill
- claims-draftingSkill
- comm-lit-reviewSkill
- deepxivSkill
- dse-loopSkill
- embodiment-descriptionSkill
- exa-searchSkill
- experiment-auditSkill
- experiment-bridgeSkill
- experiment-planSkill
- experiment-queueSkill
- feishu-notifySkill
- figure-descriptionSkill
- figure-specSkill
- formula-derivationSkill
- gemini-searchSkill
- grant-proposalSkill
- idea-creatorSkill
- idea-discovery-robotSkill
- idea-discoverySkill
- integrity-forensicsSkill
- interview-cheatsheetSkill
- invention-structuringSkill
- jurisdiction-formatSkill
- kill-argumentSkill
- mermaid-diagramSkill
- meta-applySkill
- meta-optimizeSkill
- monitor-experimentSkill
- novelty-checkSkill
- openalexSkill
- overleaf-syncSkill
- paper-claim-auditSkill
- paper-compileSkill
- paper-figureSkill
- paper-illustration-image2Skill
- paper-illustrationSkill
- paper-planSkill
- paper-poster-htmlSkill
- paper-posterSkill
- paper-slidesSkill
- paper-talkSkill
- paper-writeSkill
- paper-writingSkill
- patent-novelty-checkSkill
- patent-pipelineSkill
- patent-reviewSkill
- pixel-artSkill
- prior-art-searchSkill
- proof-checkerSkill
- proof-orchestratorSkill
- proof-writerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 7 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 61
Never implement auto-proceed as “ask, then continue if there is no response.” Once a turn ends, silence cannot resume the pipeline.
- Very specific: line 96
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 127
Only when an unattended heartbeat is driving this run (overnight /loop / CronCreate).
- Very specific: line 165
If RESEARCH_BRIEF.md exists in the project root, it will be automatically loaded as detailed context (replaces one-line prompt).
- Very specific: line 179
After idea-stage/IDEA_REPORT.md is generated, present the top ideas.
- Very specific: line 234
Wait for /experiment-bridge to complete and report its handoff summary before proceeding.
- Distinctive: line 254
After the auto-review loop completes, prepare the handoff for paper writing.
- Distinctive: line 256
Step 1: Write a final research status report (same as before).
- Very specific: line 321
If VENUE is missing: with AUTO_PROCEED=false, ask now.
- Very specific: line 326
If manual figures are required: with AUTO_PROCEED=false, pause and list them.
- Distinctive: line 342
When Workflow 3 finishes, update the pipeline report with:
- Very specific: line 352
After Stage 4 finalizes NARRATIVE_REPORT.md (before paper writing branches), invoke /render-html on the narrative report:
- Very specific: line 360
Non-blocking: if /render-html fails (helper missing, file write error, etc.), log the failure and continue Stage 4 — the HTML view is a …
- Very specific: line 373
Large file handling: If the Write tool fails due to file size, immediately retry using Bash (cat << 'EOF' > file) to write in chunks.
- Very specific: line 375
The Stage 1 checkpoint is controlled by AUTO_PROCEED: When false, do not proceed without user confirmation.
- Distinctive: line 379
Documentation: Every stage updates its own output file.
- Distinctive: line 380
Fail gracefully: If any stage fails (no good ideas, experiments crash, review loop stuck), report clearly and suggest alternatives rather …
- Distinctive: line 390
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
⏱ 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, claim 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 + stall detection & forced structural pivot). At heartbeat startup, touch the run state first each tick and register this run with the watchdoglooptype (so a silent death surfaces as STALE); unregister on completion. The watchdog only detects — it never acquits. Each tick also record the new-finding count via theiteration_log.pyhelper (resolve through the canonical.aris/tools → tools → $ARIS_REPO/tools → $ARIS_REPO/tools via ~/.aris/repochain, integration-contract §2; warn-and-skip if unresolved):python3 "$ITER_LOG" note <root> <run_id> <phase> <n>. On the returnedpivot=structural(stale ≥ 2) the nudge must change a STRUCTURAL constraint and pick an untried direction; onpivot=human(stale ≥ 4) flag for attention. Counting only — never a quality verdict.
End-to-end autonomous research workflow for: $ARGUMENTS
Constants
- AUTO_PROCEED = true — When
true, every selection checkpoint is informational: report the choice and continue in the same turn. Whenfalse, ask for explicit user confirmation and end the turn at the checkpoint. - 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 = false — When
true, the auto-review loops (Stage 3) pause after each round's review to let you see the score and provide custom modification instructions before fixes are implemented. Whenfalse(default), loops run fully autonomously. Passed through to/auto-review-loop. - REVIEWER_DIFFICULTY = medium — How adversarial the reviewer is.
medium(default): standard MCP review.hard: adds reviewer memory + debate protocol.nightmare: GPT reads repo directly viacodex exec+ memory + debate. Passed through to/auto-review-loop. - CODE_REVIEW = true — GPT-6-Astra xhigh reviews experiment code before deployment. Catches logic bugs before wasting GPU hours. Set
falseto skip. Passed through to/experiment-bridge. - 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 = false — When
true, generates compact summary files for short-context models and session recovery. Passed through to/idea-discoveryand/experiment-bridge. - AUTO_WRITE = false — When
true, automatically invoke Workflow 3 (/paper-writing) after Stage 4.VENUEis needed only when Stage 5 begins — a missing venue defers paper writing; it never blocks Stages 1-4. Whenfalse(default), Stage 4 generatesNARRATIVE_REPORT.mdand stops — user invokes/paper-writingmanually. - VENUE = (unset) — Target venue for paper writing; bound only when Stage 5 begins. Options:
ICLR,NeurIPS,ICML,CVPR,ACL,AAAI,ACM,IEEE_CONF,IEEE_JOURNAL. No default: a missing venue defers paper writing — it never blocks Stages 1-4 and is never guessed. - RENDER_HTML = true — When
true(default), auto-renderNARRATIVE_REPORT.mdto HTML at Stage 4 completion via/render-html. Uses--no-review(this is an internal handoff doc to/paper-writing, not a reviewer-facing final artifact — the upstream Stage 3 auto-review loop already cross-model-reviewed the claims). Setfalseto skip, or pass— render html: false. Non-blocking: if/render-htmlfails or Codex MCP is unavailable, log the failure and continue — the HTML view is a nice-to-have, not a Stage 4 prerequisite. - RESUMABLE = true — When
true(default), the pipeline records per-stage state to.aris/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.
Checkpoint execution rule
Resolve AUTO_PROCEED once from $ARGUMENTS before Stage 1 and pass that
resolved value to nested workflows.
AUTO_PROCEED=trueis non-blocking. A checkpoint is a progress update, not a question. State the result and the automatically selected next action, then continue executing in the same turn. Do not ask for confirmation, request user input, sleep, wait for silence, or end the turn at a checkpoint.AUTO_PROCEED=falseis blocking. Present the options, ask the user, and end the turn. Resume only after an explicit reply.
Never implement auto-proceed as “ask, then continue if there is no response.” Once a turn ends, silence cannot resume the pipeline. The user can still interrupt a non-blocking run at any time.
This rule governs only AUTO_PROCEED-controlled selection checkpoints. If the
user explicitly enables a Feishu interactive gate, that external approval
or reply is an intentional blocking exception; wait for that user-controlled
gate rather than treating it as a silence timeout. Feishu off/push-only modes
remain non-blocking under AUTO_PROCEED=true.
Overview
This skill chains the entire research lifecycle into a single pipeline:
/idea-discovery → /experiment-bridge → /auto-review-loop → /paper-writing (optional)
├── Workflow 1 ──┤├── Workflow 1.5 ──┤├── Workflow 2 ───┤ ├── Workflow 3 ──┤It orchestrates up to four major workflows in sequence. Workflow 3 (paper writing) is optional and controlled by AUTO_WRITE.
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):
.aris/tools/run_state.py → tools/run_state.py → $ARIS_REPO/tools/run_state.py
→ $ARIS_REPO/tools/run_state.py via ~/.aris/repo
(warn-and-skip if unresolved — never block the pipeline).
Phases, in order: idea-discovery, experiment-bridge, auto-review-loop, summary, paper-writing.
- 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,summary,paper-writing". - 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 codex-gpt-6-astra+ thread idexperiment-bridgeexperiments actually ran (jobs completed) — deterministic deterministic:experiment-bridgeauto-review-loopthe loop hit its positive STOP ( score>=6 AND verdict∈{ready,almost}— codex's verdict)codex-gpt-6-astra+ final review trace idsummaryNARRATIVE_REPORT.mdwritten (+ rendered ifRENDER_HTML) — deterministicdeterministic:summarypaper-writingsubmission audits passed ( verify_paper_audits.shexit 0) — deterministicdeterministic:verify_paper_audits.sh
If AUTO_WRITE = false (default), paper-writing is not part of this run:
after summary is accepted, set <run_id> paper-writing skipped so resume
reports COMPLETE instead of pointing forever at a pending stage. 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.
Overnight heartbeat: stall detection → forced structural pivot
Only when an unattended heartbeat is driving this run (overnight /loop /
CronCreate). Skip otherwise. Doctrine + rationale:
shared-references/external-cadence.md
→ "Stall detection & forced structural pivot". This is a Type-A signal — it counts
findings and changes direction, never judges quality.
Resolve the helper via the canonical chain (integration-contract §2), warn-and-skip if unresolved (never block the run):
ITER_LOG=".aris/tools/iteration_log.py"
[ -f "$ITER_LOG" ] || ITER_LOG="tools/iteration_log.py"
[ -f "$ITER_LOG" ] || ITER_LOG="${ARIS_REPO:-}/tools/iteration_log.py"
[ -f "$ITER_LOG" ] || { [ -z "${ARIS_REPO:-}" ] && [ -f "$HOME/.aris/repo" ] && ARIS_REPO="$(cat "$HOME/.aris/repo" 2>/dev/null)"; } || true
[ -f "$ITER_LOG" ] || ITER_LOG="${ARIS_REPO:-}/tools/iteration_log.py"
[ -f "$ITER_LOG" ] || { echo "WARN: iteration_log.py not resolved; skipping stall detection" >&2; ITER_LOG=""; }Then, each heartbeat tick, record how many concrete new findings the current
stage produced and read the returned pivot:
[ -n "$ITER_LOG" ] && python3 "$ITER_LOG" note "$ROOT" "$RUN_ID" "$STAGE" "$N_NEW_FINDINGS"
# → {"stale_count": N, "pivot": "none|structural|human"}Act on pivot:
none— keep going.structural(stale ≥ 2) — the next nudge must change a structural constraint (frame / objective / data / representation), not a tactical parameter, and pick a direction different from every one already tried. Record the chosen frame so future ticks can avoid it:python3 "$ITER_LOG" note "$ROOT" "$RUN_ID" "$STAGE" 0 --direction "<the new frame>".human(stale ≥ 4) — stop nudging blindly; flag for human attention (escalate, do not silently abandon).
The heartbeat may say "keep going / change direction," never "good enough" — every
quality verdict still terminates in the cross-model jury (acceptance-gate.md).
Pipeline
Stage 1: Idea Discovery (Workflow 1)
If RESEARCH_BRIEF.md exists in the project root, it will be automatically loaded as detailed context (replaces one-line prompt). See templates/RESEARCH_BRIEF_TEMPLATE.md.
Invoke the idea discovery pipeline:
/idea-discovery "$ARGUMENTS" — AUTO_PROCEED: $AUTO_PROCEEDThis internally runs: /research-lit → /idea-creator → /novelty-check → /research-review
Output: idea-stage/IDEA_REPORT.md with ranked, validated, pilot-tested ideas.
🚦 Gate 1 — Idea Selection:
After idea-stage/IDEA_REPORT.md is generated, present the top ideas.
If AUTO_PROCEED=true (non-blocking): report the selection and continue
immediately in the same turn. Do not phrase the update as a question:
📋 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
AUTO_PROCEED: selected Idea 1 — [title]. Continuing to Stage 2.If AUTO_PROCEED=false (blocking): present the same ranking, ask
Recommended: Idea 1. Shall I proceed with implementation?, then end the turn.
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.
⚠️ 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 2: Experiment Bridge (Workflow 1.5)
Once the idea is selected (automatically or by the user), 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
- Cross-model code review — GPT-6-Astra xhigh reviews the implementation for logic bugs, incorrect metrics, and ground-truth misuse before any GPU time is spent
- 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 statusEXPERIMENT_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):
- GPT-6-Astra xhigh reviews the work (score, weaknesses, minimum fixes)
- 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: Research Summary & Writing Handoff
After the auto-review loop completes, prepare the handoff for paper writing.
Step 1: Write a final research status report (same as before).
Step 2: Generate NARRATIVE_REPORT.md from:
IDEA_REPORT.md(chosen idea, hypothesis, novelty justification)- Implementation details from the repo
- Experiment configs and final results
AUTO_REVIEW.md(review history, weaknesses fixed, remaining limitations)
The narrative report must contain:
- Problem statement and core claim
- Method summary
- Key quantitative results with evidence for each claim
- Figure/table inventory (which exist, which need manual creation)
- Limitations and remaining follow-up items
Output: NARRATIVE_REPORT.md + research pipeline report.
# 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
## Writing Handoff
- NARRATIVE_REPORT.md: ✅ generated
- Venue: [VENUE or "not set — run /paper-writing manually"]
- Manual figures needed: [list or "none"]
## Remaining TODOs (if any)
- [items flagged by reviewer that weren't addressed]Stage 5: Paper Writing (Workflow 3 — Optional)
Skip this stage if AUTO_WRITE=false (default). Present the /paper-writing command for manual use:
📝 Research complete. To write the paper:
/paper-writing "NARRATIVE_REPORT.md" — venue: <VENUE>, AUTO_PROCEED: $AUTO_PROCEEDIf AUTO_WRITE=true:
🚦 Gate 2 — Writing Checkpoint:
📝 Research pipeline complete. Ready for Workflow 3.
- Venue: [VENUE]
- Input: NARRATIVE_REPORT.md
- Manual figures required: [list or none]
- Next step: /paper-writing "NARRATIVE_REPORT.md" — venue: [VENUE], AUTO_PROCEED: $AUTO_PROCEED
Proceeding with paper writing...Checks before proceeding (venue binds HERE — Stages 1-4 are venue-independent):
- If
VENUEis missing: withAUTO_PROCEED=false, ask now. WithAUTO_PROCEED=true, do not guess and do not wait — stamp "VENUE NOT SPECIFIED — paper writing deferred" in the report and checkpoint, leave the paper-writing phase pending, and finish the run cleanly for a later resume. Never silently pick a venue. - If manual figures are required: with
AUTO_PROCEED=false, pause and list them. WithAUTO_PROCEED=true, record "paper writing deferred (manual figures:<list>)" and finish cleanly the same way.
Then invoke:
/paper-writing "NARRATIVE_REPORT.md" — venue: $VENUE, AUTO_PROCEED: $AUTO_PROCEEDPass the resolved AUTO_PROCEED explicitly so Workflow 3 cannot silently
fall back to its own default mode.
This delegates to Workflow 3 which handles its own phases:
/paper-plan → /paper-figure → /paper-write → /paper-compile → /auto-paper-improvement-loop
When Workflow 3 finishes, update the pipeline report with:
- Paper writing completion status
- Final PDF path (
paper/main.pdf) - Improvement scores (round 0 → round N)
- Remaining issues
Output: paper/ directory with LaTeX source, compiled PDF, and PAPER_IMPROVEMENT_LOG.md.
Render HTML view (auto, when RENDER_HTML = true)
After Stage 4 finalizes NARRATIVE_REPORT.md (before paper writing branches), invoke /render-html on the narrative report:
/render-html "NARRATIVE_REPORT.md" --no-review--no-review is intentional: this is an internal handoff doc, not reviewer-facing — the claims it summarizes were already cross-model-reviewed in Stage 3's /auto-review-loop. 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 Stage 4 — the HTML view is a convenience artifact, not a pipeline 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 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. - The Stage 1 checkpoint is controlled by AUTO_PROCEED. When
false, do not proceed without user confirmation. Whentrue, report the top selection and continue in the same turn without asking or waiting. - Stages 2-3 can run autonomously once the idea is selected. 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.

