draft
Launch a multi-agent writing system with specialist writers for literature, formal content, methodology, and results, orchestrated by a lead author. Produces a manuscript draft and section-level artifacts in .papermill/drafts/. Updates .papermill/state.md.
- License 许可
- MIT
- 最近更新
- 2026-10-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- draft
- description
- Launch a multi-agent writing system with specialist writers for literature, formal content, methodology, and results, orchestrated by a lead author. Produces a manuscript draft and section-level artifacts in .papermill/drafts/. Updates .papermill/state.md.
03 SKILL.md 正文
Multi-Agent Paper Drafting
Launch a multi-agent system to draft a research paper. The writing system uses specialist writers for different content types (related work, mathematical content, methodology, results), coordinated by a lead author who plans the paper, integrates sections, and writes the bookend sections (abstract, introduction, conclusion).
Step 1: Read Context
Read .papermill/state.md (Read tool) for:
- Thesis: The central claim and novelty (required: the draft serves the thesis)
- Outline: Section structure (strongly recommended: guides section assignment)
- Venue: Target venue and format
- Prior art: Key references and gaps
- Experiments: Any registered experiments and their status
- Format: Paper format (latex, markdown, rmarkdown)
If .papermill/state.md does not exist, warn the user:
I can draft without a state file, but results will be much better if you first run:
/papermill:init: to set up the project/papermill:thesis: to crystallize the central claim/papermill:outline: to design the paper structureWant to proceed anyway, or set up the project first?
If no outline exists but a thesis does, the writer orchestrator will create an outline as its first step, but an author-approved outline produces better results.
Step 2: Identify Existing Content
Scan the project for existing materials:
- Manuscript files (Glob:
*.tex,*.md,*.Rmd): is there already a partial draft? - Bibliography (Glob:
*.bib): existing references - Code and data (Glob:
code/,scripts/,data/,results/): evidence to incorporate - Figures (Glob:
images/,figures/,fig/,*.png,*.pdfin paper directories)
Summarize what exists to the user:
Project inventory:
- Thesis: [yes/no: quote if yes]
- Outline: [yes/no: summarize sections if yes]
- Existing draft: [yes/no: describe what exists]
- Bibliography: [N entries in file.bib]
- Code/data: [brief description]
- Figures: [N figures available]
Step 3: Determine Scope
Ask the user what they want drafted:
I can draft:
- Full paper: all sections from abstract to conclusion
- Specific sections: choose which sections to write
- Extension: add new sections/content to an existing draft
Which approach? And is there anything specific I should know about the paper's direction?
If the user chooses specific sections, note which ones. If they choose extension, identify what already exists and what needs adding.
Step 4: Launch the Writer Orchestrator
Launch the writer agent (Agent tool with subagent_type: "papermill:writer").
Pass the agent:
- Path to
.papermill/state.md(if it exists) - Paths to existing manuscript files
- Paths to bibliography, code, data, and figures
- The drafting scope (full paper / specific sections / extension)
- Any user preferences or instructions about direction
- The thesis statement and target venue (if known)
The agent will:
- Read all context and produce a comprehension summary
- Create a writing plan with section assignments
- Spawn literature scouts in parallel for field context
- Spawn specialist writers in parallel for assigned sections
- Integrate section drafts into a unified manuscript
- Write bookend sections (abstract, introduction, conclusion)
- Verify the manuscript builds cleanly
- Write the manuscript and section artifacts to the project
Step 5: Present Results
After the agent completes, read the manuscript file (Read tool).
Present a summary to the user:
Draft Complete
Manuscript: [path to main file] Sections drafted: [list of sections with specialist who wrote each] Word/page count: [approximate] Build status: [compiles cleanly / has N warnings / needs fixes]
Section drafts and writing plan:
.papermill/drafts/YYYY-MM-DD-HHMM/The draft is a starting point, not a final product. Key areas to review:
- [Most important thing to check: e.g., "Proof in Section 4 may need verification"]
- [Second priority: e.g., "Results section has placeholders for experimental data"]
- [Third priority: e.g., "Related work positioning could be sharpened"]
Then ask: "Would you like to review specific sections, or run /papermill:review for a systematic evaluation?"
Step 6: Update State File
Update .papermill/state.md (Edit tool). If .papermill/state.md does not exist, skip this step and suggest /papermill:init. Updates:
- Advance
stagetodraftingif it is earlier in the stage enum (never move it backward;/papermill:reviewadvances it toreview) - Append a timestamped note documenting the draft:
- YYYY-MM-DD (draft): Multi-agent draft complete. Sections: [list]. Specialists used: [list]. Placeholders: [count if any].
Step 7: Suggest Next Steps
Based on the draft's state, suggest the most relevant next step:
- Draft has placeholders (missing data/results) → "Run experiments to fill the placeholders, then re-draft those sections."
- Draft is complete but unreviewed →
/papermill:reviewfor systematic multi-agent evaluation - Draft needs specific section work → "You can re-run
/papermill:drafttargeting specific sections, or edit directly." - Draft is near-complete →
/papermill:polishfor pre-submission preparation - Proofs need verification →
/papermill:proofto check mathematical content
04 同仓库更多 Skills
worldsmith-methodology
Use when working in a project with a worldbuilding documentation ecosystem (docs/ or lore/ directory). Provides the documentation-first methodology: canonical hierarchy, doc roles (timeline, lore, characters, systems), propagation discipline, and the dual canonical and exploratory workflow.
prose-craft
Use when writing fiction, editing fiction prose, reviewing chapters, or drafting scenes. Covers prose craft, dialogue mechanics, scene structure, and common failure modes in AI-assisted fiction. Trigger phrases: "write fiction", "edit chapter", "prose review", "scene draft", "dialogue check", "fiction craft", "edit this scene", "review my prose".
vista
This skill should be used when the user asks about research directions, open problems, future work, or follow-up research from the academic literature. Trigger phrases include "open problems in X", "what's next for Y", "future work for paper Z", "research directions on T", "salient follow-up research", "what should I work on next in", "find me follow-up research unrelated to my prior work", "broad survey of W", "neglected directions in V". Routes the request to the right Vista MCP tool, reads back the structured paper sections, and synthesizes research directions in the conversation.
synthesize
Make a research-agent run conclude and write synthesis.md (outcome, key findings, failed approaches, open questions, recommendations). Signals a live researcher to wrap up, or launches one in synthesis mode when none is running. Use when results are good enough or the agent is stalling.
status
Show the current state of a research-agent run from .research/: liveness, cycles and budget, sub-problem and hypothesis statuses, eval trend, current focus, and branches. Read-only.
resume
Resume an interrupted research-agent run from .research/. Re-launches the researcher to reload its structured state and continue from the current focus, optionally on a named branch or with a new budget. Use after a session restart, crash, or explicit pause.