research.paper.scaffold

Incrementally builds a living paper draft DRAFT.md from research phase artifacts.

Updated May 9, 2026
One-click install
npx skills add https://github.com/0h-n0/auto-research --skill research-paper-scaffold-0h-n0
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: research.paper.scaffold
Source: https://github.com/0h-n0/auto-research/tree/main/skills/research.paper.scaffold
Command: npx skills add https://github.com/0h-n0/auto-research --skill research-paper-scaffold-0h-n0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing a research paper usually waits until experiments finish, leaving hypotheses vague and contributions unclear. This Skill starts the paper skeleton right after the literature survey, growing a single living document (paper/DRAFT.md) phase by phase so the hypothesis, related work, and method are written before experiments run. ## Core Features & Use Cases - Hypothesis-driven Abstract: Writes a 4-block Abstract (Background / Method / Hypothesis / Implication) from Phase 2-3 artifacts, replacing the hypothesis block with measured results after Phase 6. - Phase-aware section filling: Uses STATE.json's current_phase to decide which sections (Introduction, Related Work, Method, Setup, Results) to write or refine, with idempotent re-invocation and agent-managed markers that protect manual edits. - Incremental bibliography: Generates minimal bibtex entries in paper/refs.bib from 02_SURVEY/papers.jsonl with collision-safe key naming, ready for DOI enrichment at Phase 7. - Use Case: After completing a literature survey with MATRIX.md and paper notes, invoke the Skill to produce a DRAFT.md containing motivation, grouped Related Work paragraphs with citations, and a placeholder structure that later phases fill automatically. ## Quick Start Ask the agent to run research.paper.scaffold on your project slug to generate or update paper/DRAFT.md from the current phase artifacts.

Frequently Asked Questions about research.paper.scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start writing a research paper before experiments are finished?▼

Use a hypothesis-driven abstract structure with Background, Method, Hypothesis, and Implication blocks. This Skill generates that abstract plus motivation and related work sections from your literature survey artifacts, so the paper skeleton exists from Phase 2 onward.

How to generate a related work section from a literature survey matrix?▼

Group papers from MATRIX.md into 3-5 sub-areas by method category, then write one paragraph per group summarizing each paper in 1-2 sentences with inline citations. End with an explicit position paragraph stating how your work differs from prior approaches.

What happens if I manually edit the generated DRAFT.md?▼

Each generated section carries an agent-managed marker comment. If you delete the marker, the Skill treats that section as manually edited and skips it with a warning on the next run, so your edits are never overwritten.

Does the scaffold handle bibtex citation key collisions?▼

Yes. Keys follow the pattern first-author surname plus year plus first title word. On collision it appends a second title word, then falls back to _a/_b suffixes, checking uniqueness against the entire refs.bib file.

When should I not use this paper scaffolding approach?▼

Skip it if your literature survey (MATRIX.md) has fewer than 3 papers, since related work generation will warn and leave the section as TBD. It is also unnecessary if you only need a final paper at Phase 7, where research.paper.draft works standalone.