Full research pipeline: Workflow 1 (idea discovery) → implementation → Workflow 2 (auto review loop) → Workflow 3 (paper writing, optional). Goes from a broad research direction all the way to a polished PDF. Use when user says "全流程", "full pipeline", "从找idea到投稿", "end-to-end research", or wants the complete autonomous research lifecycle.
End-to-end autonomous research workflow for: $ARGUMENTS
true, Gate 1 auto-selects the top-ranked idea (highest pilot signal + novelty confirmed) and continues to implementation. When false, always waits for explicit user confirmation before proceeding.true, /research-lit downloads the top relevant arXiv PDFs during literature survey. When false (default), only fetches metadata via arXiv API. Passed through to /idea-discovery → /research-lit.true, the auto-review loops (Stage 4) pause after each round's review to let you see the score and provide custom modification instructions before fixes are implemented. When false (default), loops run fully autonomously. Passed through to ./auto-review-loopmedium (default): standard MCP review. hard: adds reviewer memory + debate protocol. nightmare: GPT reads repo directly via codex exec + memory + debate. Passed through to /auto-review-loop.true, automatically invoke Workflow 3 (/paper-writing) after Stage 5. Requires VENUE to be set. When false (default), Stage 5 generates NARRATIVE_REPORT.md and stops — user invokes /paper-writing manually.AUTO_WRITE=true. Options: ICLR, NeurIPS, ICML, CVPR, ACL, AAAI, ACM, IEEE_CONF, IEEE_JOURNAL.💡 Override via argument, e.g.,
/research-pipeline "topic" — AUTO_PROCEED: false, human checkpoint: true, difficulty: nightmare, auto_write: true, venue: NeurIPS.
This skill chains the entire research lifecycle into a single pipeline:
/idea-discovery → implement → /run-experiment → /auto-review-loop → /paper-writing (optional)
├── Workflow 1 ──┤ ├────────── Workflow 2 ──────────────┤ ├── Workflow 3 ──┤
It orchestrates up to three major workflows plus the implementation bridge between them. Workflow 3 (paper writing) is optional and controlled by AUTO_WRITE.
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"
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:
/idea-discovery with refined constraints, and present again.idea-stage/IDEA_REPORT.md for 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-selects the top idea after presenting results. The rest of the pipeline (Stages 2-4) is expensive (GPU time + multiple review rounds), so setAUTO_PROCEED=falseif you want to manually choose which idea to pursue.
Once the user confirms which idea to pursue:
Read the idea details from idea-stage/IDEA_REPORT.md (hypothesis, experimental design, pilot code) (fall back to ./IDEA_REPORT.md if not found)
Implement the full experiment:
Code review: Before deploying, do a self-review:
Deploy the full-scale experiments. Route by job count:
Small batch (≤5 jobs) — direct deployment:
/run-experiment [experiment command]
Large batch (≥10 jobs, multi-seed sweeps, teacher→student chains) — use the queue scheduler:
/experiment-queue [grid spec or manifest]
experiment-bridge (Workflow 1.5) auto-routes based on milestone job count. For pipeline runs with multi-seed sweeps from the start, you can override globally with --- batch: queue to force /experiment-queue for all milestones.
What this does:
/experiment-queue: also OOM retry, stale-screen cleanup, phase dependencies, crash-safe stateMonitor progress:
/monitor-experiment [server]
Wait for experiments to complete. Collect results.
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):
Output: review-stage/AUTO_REVIEW.md with full review history and final assessment.
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)AUTO_REVIEW.md (review history, weaknesses fixed, remaining limitations)The narrative report must contain:
Output: NARRATIVE_REPORT.md + research pipeline report.
# Research Pipeline Report
**Direction**: $ARGUMENTS
**Chosen Idea**: [title]
**Date**: [start] → [end]
**Pipeline**: idea-discovery → implement → run-experiment → 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]
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: ICLR
If 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]"
Proceeding with paper writing...
Checks before proceeding:
VENUE is missing → stop and ask. Do NOT silently use a default venue.Then invoke:
/paper-writing "NARRATIVE_REPORT.md" — venue: $VENUE
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/main.pdf)Output: paper/ directory with LaTeX source, compiled PDF, and PAPER_IMPROVEMENT_LOG.md.
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
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. When true, auto-select the top idea after presenting results.
Stages 2-4 can run autonomously once the user confirms the idea. This is the "sleep and wake up to results" part.
If Stage 4 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.
| Stage | Duration | Can sleep? |
|---|---|---|
| 1. Idea Discovery | 30-60 min | Yes if AUTO_PROCEED=true |
| 2. Implementation | 15-60 min | Yes (autonomous after Gate 1) |
| 3. Deploy | 5 min + experiment time | Yes ✅ |
| 4. Auto Review | 1-4 hours (depends on experiments) | Yes ✅ |
Sweet spot: Run Stage 1-2 in the evening, launch Stage 3-4 before bed, wake up to a reviewed paper.