grind-lab-core/night_owl_research_agent/paper-writing-pipeline

Claude Code and agent skill by grind-lab-core/night_owl_research_agent

Trust tier 3
  • community
Source check pending

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-pipeline

SKILL.md

Paper Writing Pipeline

Orchestrate a complete paper writing workflow for: $ARGUMENTS

Overview

This skill chains five sub-skills into a single automated pipeline:

/paper-plan → /paper-figure-generate → /paper-draft → /paper-review-loop → /paper-covert
(outline) (figures & prompts) (Markdown) (review & revise) (LaTeX + PDF + DOCX)

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
Upstream artifacts (RESEARCH_PLAN, LIT_REVIEW, IDEA_REPORT, FINAL_PROPOSAL,
EXPERIMENT_PLAN, EXPERIMENT_RESULT, NARRATIVE_REPORT)
↓ Phase 1: paper-plan
output/PAPER_PLAN.md (§0–§26: outline, claims matrix, figure plan, citations)
↓ Phase 2: paper-figure-generate
output/figures/ (PNGs, PDFs, scripts, prompts, FIGURE_MANIFEST.md, FIGURE_CAPTIONS.md)
↓ Phase 3: paper-draft
output/manuscript/ (MANUSCRIPT_DRAFT.md, sections/*.md, CLAIM_SUPPORT_MAP.md, COVERAGE_GAPS.md)
↓ Phase 4: paper-review-loop
output/manuscript/ (MANUSCRIPT_REVISED.md, sections_revised/*.md, REVIEW_REPORT.md, CLAIM_RISK_REPORT.md)
↓ Phase 5: paper-covert
output/submission/ (latex/, pdf/MANUSCRIPT_SUBMISSION_READY.pdf, docx/, SUBMISSION_MANIFEST.md)

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 false to 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. When false (default), the loop runs fully autonomously. Passed through to paper-review-loop.
  • DRAFT_MODE — One of full, partial, skeleton. Determined automatically by paper-draft based on evidence readiness. Can be forced via argument.
Override inline: /paper-writing-pipeline "NARRATIVE_REPORT.md" — venue: NeurIPS, human checkpoint: true
IEEE example: /paper-writing-pipeline "NARRATIVE_REPORT.md" — venue: IEEE_JOURNAL

Inputs

This pipeline accepts one of:

  1. `output/NARRATIVE_REPORT.md` (best) — structured research narrative with claims, experiments, results, figure plans, verified citations. Produced by generate-report.
  2. Upstream research artifacts — the pipeline's paper-plan phase 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.
  3. Existing `output/PAPER_PLAN.md` — skip Phase 1, start from Phase 2.
  4. Existing `output/manuscript/MANUSCRIPT_DRAFT.md` — skip Phases 1–3, start from Phase 4 (review loop).
  5. 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 existsSkip toCondition
output/submission/MANUSCRIPT_SUBMISSION_READY.pdfDoneAsk user if they want to rebuild
output/manuscript/MANUSCRIPT_REVISED.mdPhase 5Unless user requests re-review
output/manuscript/MANUSCRIPT_DRAFT.mdPhase 4Unless user requests re-draft
output/figures/FIGURE_MANIFEST.mdPhase 3Unless user requests re-generation
output/PAPER_PLAN.mdPhase 2Unless user requests re-planning
None of the abovePhase 1Full 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:

Skill: paper-plan "$ARGUMENTS"

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.

Paper plan complete:
- Title: [proposed title]
- Venue: [VENUE] | Page limit: [MAX_PAGES]
- Sections: [N] ([list])
- Contributions: [N]
- Claims in evidence matrix: [M] (supported: X, pending: Y)
- Figures planned: [total] (hero: 1, auto: X, manual: Y)
- Missing inputs: [list or "none"]
- Readiness: [full / partial / skeleton]
Shall I proceed with figure generation?
  • 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:

Skill: paper-figure-generate "all"

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.md with 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.

Figures complete:
- Code-generated: [list with status]
- Prompt-generated: [list — prompts ready, renders needed from user]
- Stubs (data missing): [list with blockers]
- Manifest: output/figures/FIGURE_MANIFEST.md
- Captions: output/figures/FIGURE_CAPTIONS.md
[If prompt figures need renders]: Please generate images from prompts in output/figures/prompts/ and place renders in output/figures/ before I proceed.
[If all code figures ready]: Shall I proceed with manuscript drafting?
  • 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:

Skill: paper-draft "all"

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 evidence
  • COVERAGE_GAPS.md — missing experiments, figures, citations
  • CITATION_GAPS.md — claims needing citations
  • REVISION_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.

Manuscript draft complete:
- Mode: [full / partial / skeleton]
- Venue: [TARGET_VENUE]
- Sections: [N] written ([list])
- Word count: [total] (budget: [limit])
- Claims supported: [X] / [total] in evidence matrix
- Coverage gaps: [K] (see output/manuscript/COVERAGE_GAPS.md)
- Citation gaps: [J] (see output/manuscript/CITATION_GAPS.md)
Shall I proceed with the review loop?
  • 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:

Skill: paper-review-loop "all"

What this does (up to MAX_REVIEW_ROUNDS rounds):

Each round follows this sequence:

  1. 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
  1. Claim risk audit — Cross-checks every claim against CLAIM_SUPPORT_MAP.md and APPROVED_CLAIMS.md; flags overclaims
  2. Issue classification — Major (structural, argument, evidence) → Moderate (transitions, terminology) → Minor (polish)
  3. Human checkpoint (if HUMAN_CHECKPOINT=true) — Present scores and top issues; wait for user guidance
  4. Revision — Implements fixes ordered by severity (majors first); writes to sections_revised/*.md and MANUSCRIPT_REVISED.md
  5. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/grind-lab-core/night_owl_research_agent/paper-writing-pipeline/badge)](https://verified-skill.com/skills/grind-lab-core/night_owl_research_agent/paper-writing-pipeline)

Something wrong with this skill or its page? Tell us.