Skip to main content
prompt GP ChatGPT

18-writeup — Claude Code prompt: what it does, how to install

18-writeup drafts academic research papers in LaTeX across 12 focused passes, grounding every claim in workspace evidence without guessing.

no license ★ 240 updated 2026-09-18

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/18-writeup.md
Open on GitHub

What 18-writeup does

This prompt establishes a multi-stage writing pipeline for academic papers. Instead of generating a full document at once, the agent operates across two cycles of 6 passes each, totaling 12 steps. Cycle one plans structure, builds literature reviews, writes core technical sections, and tests the first LaTeX build. Cycle two polishes arguments, fixes references, and generates the final PDF.

State tracking is written directly to disk. The agent records completed sections inside paper_workspace/writeup_progress.json after each step. You can restart interrupted sessions with the RESUME: command prefix. This preserves context between runs.

The instructions ban unverified statements. If files like paper_workspace/formalized_results.md or mathematical claim graphs are missing, the agent will not fabricate results.

What it helps with

  • split paper drafting into 12 distinct review and writing steps
  • assemble modular LaTeX sections into a compile-ready document
  • reconcile custom voice guidelines with default academic standards
  • track section writing progress through interrupted sessions

Example prompts for the agent

  • /18-writeup Start cycle 1 to draft the technical sections and bibliography
  • RESUME: continue the writeup process from the last recorded pass

How to install 18-writeup

Manually: put the files in place

.claude/commands/18-writeup.md

Questions about 18-writeup

How to install 18-writeup in Claude Code?

Save the prompt file into .claude/commands/18-writeup.md within your project folder. Claude Code will then recognize it as a local custom command.

What does 18-writeup do?

It guides Claude Code through drafting and revising an academic research paper in LaTeX. The process is divided into two 6-pass cycles that cover planning, drafting, error fixing, and revision.

How does it prevent hallucinations in the text?

The prompt enforces strict factual verification against workspace files such as paper_workspace/formalized_results.md. The model must confirm every claim with local tools rather than relying on ungrounded assumptions.

Similar prompts

All prompts for Science and research →

From the same set98

The whole set →
StatsPAI_skill Wires the statspai Python package into a session: descriptives, estimator choice, treatment-effect estimation and post-estimation checks. CX Codex +1 ★ 240repo stars beamer-ppt beamer-ppt is a Claude Code skill that builds LaTeX Beamer presentations one slide at a time and shows PDF previews in chat. CX Codex +1 ★ 240repo stars marketing-science-writing The marketing-science-writing skill helps shape marketing science papers, from research framing and method choice to managerial implications. Use it when drafting or revising work for a marketing journal. CX Codex +1 ★ 240repo stars citation-check-skill citation-check-skill is a Claude Code skill that checks claims in slides, reports and PDFs against web sources or supplied documents, flagging fabricated citations. CX Codex +1 ★ 240repo stars thesis-idea This skill turns a rough economics thesis idea into a screened research question, design path, and dissertation outline. CX Codex +1 ★ 240repo stars journal-adapt journal-adapt — a dynamic writing skill generator that analyzes target-journal style from a corpus of published papers, then helps you revise your manuscript to match its conventions. CX Codex +1 ★ 240repo stars paper-evidence-distiller paper-evidence-distiller extracts structured evidence cards from academic papers in PDF or Markdown format. Links every empirical claim directly to its source section or table. CX Codex +1 ★ 240repo stars paper-reading-experiment-design The paper-reading-experiment-design skill turns a research method’s claims into an experiment plan, covering evidence, metrics, baselines, and checks. Use it once the method has a clear thesis and target. CX Codex +1 ★ 240repo stars

Project sponsors

Companies that keep this analytics open