Skip to content
cccskills
FreePublished on GitHub

write-paper

Turn completed analyses, research plans, and literature reviews into an academic manuscript. The skill proposes an outline for approval, drafts sections around existing tables and figures, and arranges a review of arguments and supporting evidence.

OriginalShow the original description

Draft a full academic paper manuscript from analysis outputs, project spec, and lit review. Make sure to use this skill whenever the user wants to turn completed analysis into a written paper — not to run analysis or review existing writing. Triggers include: "write the paper", "draft the manuscript", "write up the results", "start the paper", "turn my results into a paper", "write the introduction", "draft the empirics section", "I have my results, now write the paper", "help me write this up", "write the abstract", or any request to produce academic prose from existing research outputs.

See how to install

Good for

  • Drafting a paper from completed analyses
  • Writing an introduction or abstract from existing results
  • Planning sections around available tables and figures
  • Preparing a manuscript in LaTeX or Quarto

Files included (1)

  • SKILL.md4.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Write Paper Draft

Draft an academic manuscript from existing analysis outputs. Follows propose-first — the outline is always shown for approval before writing begins.

Input: $ARGUMENTS — a paper title, research question, or from spec to read from quality_reports/specs/.


Step 1: Orient

Read project context:

  • CLAUDE.md — project name, author, institution
  • Most recent file in quality_reports/specs/ — research question and identification strategy
  • Most recent file in quality_reports/lit_review_*.md — related literature (if it exists)
  • Most recent file in quality_reports/research_ideation_*.md — hypotheses (if it exists)

If no spec exists, ask the user for the core research question before proceeding.


Step 2: Inventory Analysis Outputs

Glob for available outputs:

  • output/tables/**/*.tex — regression tables
  • output/tables/**/*.html — HTML table versions
  • output/figures/**/*.pdf, output/figures/**/*.png — figures
  • output/**/*.rds, output/**/*.pkl, output/**/*.parquet — saved objects

List what exists. Note any gaps (e.g., "no summary statistics table found").


Step 3: Propose Outline (WAIT FOR APPROVAL)

Draft a paper outline using standard social science structure:

1. Abstract
2. Introduction
3. Related Literature
4. Data and Institutional Background
5. Empirical Strategy
6. Results
7. Robustness and Extensions
8. Conclusion
References

Present the outline with a one-sentence description of each section's content, linking specific output files to each section (e.g., "Table 2 → Section 6, Results"). Do NOT start writing until the user approves the outline or requests changes.


Step 4: Draft Section by Section

Write in this order (minimizes backtracking):

  1. Data section — describe the dataset, summary statistics. Reference output/tables/summary_stats.tex if it exists.
  2. Empirical Strategy — describe the identification approach from the research spec.
  3. Results — one paragraph per main finding. Reference each table/figure with \input{} or \includegraphics{} — do NOT copy table content inline.
  4. Robustness — brief description of robustness checks, referencing additional output files.
  5. Literature — synthesize from the lit review document if one exists.
  6. Introduction — write after results are known. State the question, preview the findings, and map the paper.
  7. Abstract — write last: one sentence each for motivation, question, method, finding, and implication.
  8. Conclusion — summarize and state limitations and next steps.

Step 5: Save the Draft

Save to manuscripts/[project-name]-draft.tex (or .qmd if the user prefers Quarto).

Create manuscripts/ directory if it does not exist.

Use \input{} for tables and \includegraphics{} for figures — reference the actual files in output/, do not embed content directly.


Step 6: Run Domain Review

After saving the draft, launch the domain-reviewer agent via Task:

Task prompt: "Review the draft at manuscripts/[filename] for argument structure, identification assumptions, and citation fidelity. Check that the identification strategy is clearly stated, assumptions are explicit, and all cited tables/figures exist in output/." Task agent: domain-reviewer

Wait for the review to complete, then present the findings to the user.


Step 7: Recommend Next Steps

Inform the user:

  • /review-paper — for a full top-journal-style review of the manuscript
  • /validate-bib — to check all citations are in the bibliography
  • /quality-gate — to verify every claim in the paper is backed by an output file

Key Rules

  • Propose outline first. Never start writing without outline approval.
  • Reference, don't embed. Tables and figures go in output/; the paper references them by path.
  • No fabrication. Only write results that exist in output files. If a number isn't in output/, flag it rather than guessing.
  • Report only. The domain-reviewer agent proposes fixes; you apply them only after user approval.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

a1

FreeSummary

Turn a broad research idea into clear, testable questions. Compare familiar and less conventional approaches, structure the selected question around its population and methods, and assess variables, feasibility, and potential theoretical contributions.

  • Turn a research topic into testable questions
  • Narrow an overly broad research question
  • Compare alternative research angles
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

a2

FreeSummary

Helps build a research framework by comparing theories, mapping relationships between variables, and deriving testable hypotheses. Explores less conventional options, examines weaknesses and competing explanations, and produces diagrams with anticipated reviewer objections.

  • Comparing theories for a research question
  • Deriving hypotheses from relationships between variables
  • Examining weaknesses and anticipated reviewer objections
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

a5

FreeSummary

Clarify the philosophical assumptions behind a research project and check whether they fit the proposed methods. Get a reasoned research stance, draft proposal wording, and guidance for explaining how the researcher's background and values shape the study.

  • Clarifying philosophical foundations for a research proposal
  • Explaining why the chosen research methods fit the study
  • Drafting a statement about the researcher's position
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

academic-paper

FreeSummary

Plan and draft academic papers through specialized agent roles covering literature, arguments, citations, and review. Get chapter guidance, revision roadmaps, Traditional Chinese and English abstracts, and documents formatted as LaTeX, DOCX, PDF, or Markdown.

  • Planning a paper chapter by chapter
  • Drafting a paper from research materials
  • Turning reviewer comments into a revision roadmap
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

Turn a detailed outline into a philosophy or interdisciplinary manuscript. Draft chapters with repeated quality reviews, check terminology and arguments across sections, and prepare the manuscript, evaluation reports, abstract, and metadata for submission.

  • Draft a full paper from a detailed outline
  • Review argument and citation quality chapter by chapter
  • Check terminology and argument flow across chapters
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

Simulate academic peer review through five reviewer roles tailored to the paper's field. Receive separate critiques, an editorial decision, and a prioritized revision roadmap, or check whether a revised manuscript addresses earlier comments.

  • Review a manuscript before journal submission
  • Examine research methods and statistical validity
  • Challenge core arguments and alternative explanations
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

See all skills by brycewang-stanford

Report a problem with this skill