grind-lab-core/night_owl_research_agent/paper-writing-pipeline
Claude Code and agent skill by grind-lab-core/night_owl_research_agent
- community
Checking that the SKILL.md file is still in the repository.
Full paper writing pipeline. Orchestrates paper-plan → paper-figure-generate → paper-draft → paper-review-loop → paper-covert to go from upstream research artifacts to a polished, submission-ready manuscript package (Markdown → LaTeX → PDF + DOCX). Use when user says \"write paper pipeline\", \"paper writing\", or wants the complete paper generation workflow.
Install
npx vskill@latest install grind-lab-core/night_owl_research_agent/paper-writing-pipelineSKILL.md
Paper Writing Pipeline
Orchestrate a complete paper writing workflow for: $ARGUMENTS
Overview
This skill chains five sub-skills into a single automated pipeline:
Each phase builds on the previous one's output. The pipeline takes upstream research artifacts and produces a polished, reviewed submission package in output/submission/.
Artifact Flow
Constants
- TARGET_VENUE = `IJGIS` — Target venue. Supported:
TGIS,RSE,ISPRS_JPRS,AAG_ANNALS,IEEE_TGRS,ICLR,NeurIPS,ICML,CVPR,ACL,AAAI,ACM,IEEE_JOURNAL(IEEE Transactions / Letters),IEEE_CONF(IEEE conferences). Affects template selection, page limit, citation format, and section structure. - MAX_REVIEW_ROUNDS = 2 — Number of review→revise rounds in the review loop (Phase 4).
- REVIEWER_MODEL = `gpt-5.4` — Model used via Codex MCP for plan review, figure review, draft review, and review loop.
- AUTO_PROCEED = true — Auto-continue between phases. Set
falseto pause and wait for user approval after each phase. - HUMAN_CHECKPOINT = false — When
true, the review loop (Phase 4) pauses after each round's review to let you see the score and provide custom modification instructions. Whenfalse(default), the loop runs fully autonomously. Passed through topaper-review-loop. - DRAFT_MODE — One of
full,partial,skeleton. Determined automatically bypaper-draftbased on evidence readiness. Can be forced via argument.
Override inline:/paper-writing-pipeline "NARRATIVE_REPORT.md" — venue: NeurIPS, human checkpoint: trueIEEE example:/paper-writing-pipeline "NARRATIVE_REPORT.md" — venue: IEEE_JOURNAL
Inputs
This pipeline accepts one of:
- `output/NARRATIVE_REPORT.md` (best) — structured research narrative with claims, experiments, results, figure plans, verified citations. Produced by
generate-report. - Upstream research artifacts — the pipeline's
paper-planphase will read all available artifacts (RESEARCH_PLAN.md,output/LIT_REVIEW_REPORT.md,output/IDEA_REPORT.md,output/refine-logs/FINAL_PROPOSAL.md,output/EXPERIMENT_PLAN.md,output/EXPERIMENT_RESULT.md,output/NARRATIVE_REPORT.md) and build the plan from whatever exists. - Existing `output/PAPER_PLAN.md` — skip Phase 1, start from Phase 2.
- Existing `output/manuscript/MANUSCRIPT_DRAFT.md` — skip Phases 1–3, start from Phase 4 (review loop).
- Existing `output/manuscript/MANUSCRIPT_REVISED.md` — skip Phases 1–4, start from Phase 5 (conversion).
The more detailed the input (especially figure descriptions, quantitative results, and verified claims in memory/APPROVED_CLAIMS.md), the better the output.
Skip Logic
Before starting, check which artifacts already exist to determine the entry point:
| Artifact exists | Skip to | Condition | |
|---|---|---|---|
output/submission/MANUSCRIPT_SUBMISSION_READY.pdf | Done | Ask user if they want to rebuild | |
output/manuscript/MANUSCRIPT_REVISED.md | Phase 5 | Unless user requests re-review | |
output/manuscript/MANUSCRIPT_DRAFT.md | Phase 4 | Unless user requests re-draft | |
output/figures/FIGURE_MANIFEST.md | Phase 3 | Unless user requests re-generation | |
output/PAPER_PLAN.md | Phase 2 | Unless user requests re-planning | |
| None of the above | Phase 1 | Full pipeline |
When resuming, always read handoff.json first — it records the last completed phase and any pending issues.
Pipeline
Phase 1: Paper Plan
Invoke paper-plan to create the structural outline:
What this does:
- Reads all available upstream artifacts (RESEARCH_PLAN, LIT_REVIEW_REPORT, IDEA_REPORT, FINAL_PROPOSAL, EXPERIMENT_PLAN, EXPERIMENT_RESULT, NARRATIVE_REPORT) — each is optional
- Determines venue and paper type from arguments, RESEARCH_PLAN, or defaults
- Loads venue-specific template from
templates/ - Builds the full §0–§26 plan per
templates/PAPER_PLAN_TEMPLATE.md: - One-paragraph summary and one-sentence claim
- Target journal strategy and audience
- Research gap and contributions (with "not claiming" boundary)
- Research questions and hypotheses
- Data and methodological plan
- Experiment inventory and results summary
- Claims-Evidence Matrix (§12) — the backbone mapping every claim to evidence
- Figure & Table Plan (§13–§14) — with hero figure detail
- Related work synthesis in themed clusters
- Discussion, limitations, and future work plan
- Abstract blueprint and title options
- Writing instructions for the downstream draft agent
- Readiness assessment and executive summary
- Scaffolds citation structure from verified sources
- REVIEWER_MODEL reviews the plan for completeness (8 scoring dimensions)
- Runs self-check (10 verification items) before finalizing
Output: output/PAPER_PLAN.md with the full §0–§26 structure.
Checkpoint: Present the plan summary to the user.
- User approves (or AUTO_PROCEED=true) → proceed to Phase 2.
- User requests changes → adjust plan and re-present.
Phase 2: Figure Generation
Invoke paper-figure-generate to produce publication-quality figures:
What this does:
- Reads the Figure Plan (§13) and Table Plan (§14) from
output/PAPER_PLAN.md - Classifies each figure into a code pathway (reproducible plots, maps, charts) or prompt pathway (architecture diagrams, workflow schematics, conceptual figures)
- For code figures: writes Python scripts to
output/figures/scripts/, generates PNGs + PDFs at 300 DPI, applies venue-appropriate styling (colorblind-safe palette, print-legible fonts, proper map elements) - For prompt figures: writes detailed structured prompts to
output/figures/prompts/with element inventories, style constraints, and negative prompts — ready to paste into an external image model - Creates specification stubs for figures whose data is missing
- Writes manuscript-ready captions to
output/figures/FIGURE_CAPTIONS.md - Maintains
output/figures/FIGURE_MANIFEST.mdwith status tracking per figure - Runs a consistency pass across all figures (numbering, palette, terminology)
- REVIEWER_MODEL optionally reviews figure quality and captions
Output: output/figures/ directory with rendered figures, scripts, prompts, manifest, and captions.
Scope: Code pathway auto-generates data-driven figures (plots, maps, comparison tables). Prompt pathway produces ready-to-paste prompts for architecture diagrams, workflow figures, and graphical abstracts. The user supplies rendered prompt-pathway images before proceeding.
Checkpoint: List generated vs. manual figures.
- User provides renders / approves (or AUTO_PROCEED=true) → proceed to Phase 3.
- User requests changes → adjust figures and re-present.
Phase 3: Manuscript Drafting
Invoke paper-draft to generate the Markdown manuscript:
What this does:
- Reads
output/PAPER_PLAN.md(§0–§26) as the manuscript intent - Determines
DRAFT_MODE(full / partial / skeleton) from plan §25 readiness assessment - Consults evidence files:
memory/APPROVED_CLAIMS.md,output/LIT_REVIEW_REPORT.md,output/EXPERIMENT_RESULT.md,output/figures/FIGURE_MANIFEST.md - Selects section structure based on venue and paper type (5–8 sections, flexible)
- Drafts each section following venue-specific academic prose conventions:
- Introduction with numbered contributions
- Related work in themed clusters (not a paper list)
- Methods with spatial/GIScience rigor
- Results led by strongest approved claim
- Discussion closing the loop to the gap
- Limitations mirroring plan §17
- Produces companion artifacts:
CLAIM_SUPPORT_MAP.md— every claim traced to evidenceCOVERAGE_GAPS.md— missing experiments, figures, citationsCITATION_GAPS.md— claims needing citationsREVISION_NOTES.md— items for next pass- Runs consistency checks (terminology, figure references, contribution closure)
- REVIEWER_MODEL optionally reviews each section
- Never fabricates results, citations, or figures — uses
[PLACEHOLDER]and[CITE: topic]markers
Output: output/manuscript/ directory with MANUSCRIPT_DRAFT.md, sections/*.md, and companion artifacts.
Checkpoint: Report draft completion.
- User approves (or AUTO_PROCEED=true) → proceed to Phase 4.
- User requests changes → revise specific sections.
Phase 4: Review and Revision Loop
Invoke paper-review-loop to critically review and revise the manuscript:
What this does (up to MAX_REVIEW_ROUNDS rounds):
Each round follows this sequence:
- Cold-read evaluation — REVIEWER_MODEL (gpt-5.4 xhigh) reviews the manuscript as a demanding journal reviewer, scoring 8 dimensions:
- Gap clarity, novelty precision, methods rigor, results discipline
- Discussion depth, literature positioning, journal fit, language flow
- Claim risk audit — Cross-checks every claim against
CLAIM_SUPPORT_MAP.mdandAPPROVED_CLAIMS.md; flags overclaims - Issue classification — Major (structural, argument, evidence) → Moderate (transitions, terminology) → Minor (polish)
- Human checkpoint (if HUMAN_CHECKPOINT=true) — Present scores and top issues; wait for user guidance
- Revision — Implements fixes ordered by severity (majors first); writes to
sections_revised/*.mdandMANUSCRIPT_REVISED.md - Verification — Checks claim closure, limitation closure, figure closure, contribution closure, terminology consistency
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/paper-writing-pipeline/SKILL.md
Popularity
- Repository stars
- 80
- Repository forks
- 21
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/grind-lab-core/night_owl_research_agent/paper-writing-pipeline)