agentleFS
SNL-UCSBSNL-UCSB/paper-writing-skill/SKILL.md

paper-writing

Skill249 starsChanged 8 days agoMITView on GitHub

Research paper writing assistant that enforces the SNL lab's editorial principles and voice profile (customizable) and a staged writing workflow. MANDATORY TRIGGERS: Use this skill whenever the user mentions writing a paper, drafting a section, revising a section, editing a paper, reviewing a draft, rewriting an introduction, writing an evaluation, polishing prose, compressing text, or any task involving .tex files, Overleaf, conference submissions, or paper deadlines. Also trigger when the user names their paper in a writing context. This skill should activate for ANY research writing task — sections, abstracts, rebuttals, camera-ready edits, cover letters, or response to reviewers.

36 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use ml-training-recipe, replication and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • getcompanion-aiSkill

    ml-training-recipe

    Find implementable ML training recipes from papers, datasets, docs, and code. Use when the user wants to fine-tune, train, reproduce, or choose a practical ML method, dataset, hyperparameter setup, or benchmark recipe.

    Also in 3 projects that use this

  • getcompanion-aiSkill

    replication

    Plan a replication of a paper, claim, or benchmark, and execute only after an explicit environment choice. Use when the user asks to replicate results, reproduce an experiment, verify a claim empirically, or build a replication package.

    Also in 3 projects that use this

  • brainbytes-devSkill

    alpha-research

    Also in 3 projects that use this

  • JaimeParkerSkill

    paper-code-audit

    Perform three-way cross-validation of a research paper by comparing the original paper text (via Zotero), official code implementation (via Git), and personal Obsidian notes. Use this skill whenever the user wants to "audit a paper", "verify paper claims against code", "cross-check notes with implementation", "triangulate paper + code + notes", "find discrepancies between paper and code", or mentions wanting a deep, structured comparison of a paper's claims against its implementation and their own notes. Also trigger when the user asks to "analyze this paper thoroughly" with code available, or when they want to systematically reconcile what the paper says, what the code does, and what their notes claim.

    Also in 3 projects that use this

  • JimLiuSkill

    pdf-explore

    Use this skill when the user has attached a PDF, paper, report, or other document and the answer needs content from more than one place in it: summarize the methods or any other section, compare sections, find where a topic is discussed, read a value or label off a figure or chart, or find/list/extract every instance of something across the whole document (datasets, benchmarks, citations, figures, table rows, accession numbers — including appendices). Skip it only for a single lookup of 1–4 pages quoted in your very next response — `read_file(pages=[...])` attaches pages as images that are dropped from context after one turn, so multi-section answers end up re-reading the same ranges repeatedly. Parses the PDF once in the Python kernel: `pdf_pages` (pages as persistent text), `pdf_outline` (TOC), `pdf_scan` (rank pages by relevance), `pdf_map`/`pdf_extract` (per-page summary / structured fields via parallel haiku calls). For PDF creation/manipulation, use reportlab/pypdf directly.

    Also in 4 projects that use this

  • Yusong-EnceladusSkill

    research-review

    Get a deep critical review of research from GPT via Codex MCP. Use when user says "review my research", "help me review", "get external review", or wants critical feedback on research ideas, papers, or experimental results.

    Also in 6 projects that use this

  • +1 more from getcompanion-ai

The file

Show its rules and text

We split this skill into the rules it gives an agent

45 rules. 0 are common, 25 are distinctive, and 20 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 25

    Distinctive

    This author's own choices. Worth a look.

  • 20

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read this SKILL.md (already loaded)

    line 39
  2. Very specific:

    Read ALL files in author_profile/ — these are the source of truth for editorial rules

    line 40
  3. Distinctive:

    Ask which paper the user is working on

    line 41
  4. Very specific:

    Look for a project_context.md in the paper's working directory

    line 42
  5. Distinctive:

    If found, read it and treat it as binding constraints

    line 43
  6. Very specific:

    If not found, decide how to create one: if the ideas already exist in notes, drafts, code and related work, run Story Mode (story_mode.md).

    line 44
  7. Very specific:

    Check for artifacts from sibling skills — survey paper notes with craft extractions, exploration_log.md, braindump.md, plot_context.md, …

    line 45
  8. Distinctive:

    Go phase by phase: Don't skip ahead. Phase 1 (the problem) must be clear before Phase 2 (the contribution) makes sense.

    line 75
  9. Distinctive:

    No filler adjectives: never use "novel," "significant," "state-of-the-art," "comprehensive," "robust," "substantial," "promising," …

    line 107
  10. Distinctive:

    No exclamation marks. No rhetorical questions outside introductions.

    line 109
  11. Distinctive:

    Every evaluation subsection ends with a Takeaway paragraph.

    line 114
  12. Distinctive:

    Every design choice justified immediately.

    line 115
  13. Distinctive:

    Systems venues (NSDI, SIGCOMM, CoNEXT, IMC): Use \smartparagraph{} labels.

    line 119
  14. Distinctive:

    After generating ANY section draft, Claude MUST also read the corresponding structural checklist and run it:

    line 150
  15. Distinctive:

    Every paper goes through these stages in order.

    line 178
  16. Very specific:

    After brainstorming, generate a project_context.md file using the template in examples/project_context.md and save it in the paper's …

    line 184
  17. Very specific:

    Important: After creating project_context.md, add it to the project's .gitignore (create the file if it doesn't exist).

    line 186
  18. Distinctive:

    Per-section audit: After generating a draft, read and run the appropriate checklist.

    line 232
  19. Distinctive:

    Heading consistency: Do section headings reflect the contribution order from the introduction?

    line 240
  20. Distinctive:

    Identity stability: Read the first sentence of every section — do they tell a coherent story?

    line 241
  21. Distinctive:

    Visual balance (landscaping): Check figure distribution across pages, paragraph length variation, and whitespace.

    line 244
  22. Very specific:

    Read author_profile/compression_patterns.md for the 7 specific operations.

    line 248
  23. Distinctive:

    Do not pad to fill page limits: If the paper is under the page limit after compression, that is fine.

    line 259
  24. Very specific:

    After compression and before submission, Claude MUST automatically run these checks using shell commands on the paper's .tex and compiled …

    line 263
  25. Very specific:

    2. Broken references: Search .tex source files for unresolved references that will render as [?] or ??

    line 270
  26. Distinctive:

    3. Embedded fonts: Verify all fonts are embedded.

    line 276
  27. Very specific:

    If any font shows no in the emb column, flag it and suggest adding \usepackage[T1]{fontenc} or compiling with …

    line 280
  28. Distinctive:

    4. Figure quality: Check that all included figure files are vector format (PDF/EPS) or high-resolution raster.

    line 282
  29. Very specific:

    5. Anonymization (if double-blind): Search all .tex files for author names, institution names, grant numbers, acknowledgment sections, and …

    line 289
  30. Very specific:

    6. Column balancing: Check whether the balance package is loaded (for two-column formats).

    line 295
  31. Distinctive:

    Report format: Run all checks, then present a single summary table:

    line 307
  32. Very specific:

    Read all author_profile/ files

    line 327
  33. Very specific:

    Read the section's rhetorical moves from section_rhetorical_moves/

    line 328
  34. Distinctive:

    Write topic sentences first.

    line 330
  35. Distinctive:

    Run the section checklist and flag violations with severity levels

    line 332
  36. Very specific:

    Read author_profile/intervention_types.md for the 7 intervention types

    line 336
  37. Distinctive:

    When asking a reader for feedback, tell them what to focus on: "Is the narrative in the introduction clear?" is more useful than "any …

    line 349
  38. Very specific:

    Use Claude's review mode (author_profile/intervention_types.md) to simulate a round of feedback *before* spending a human reader's first …

    line 350
  39. Distinctive:

    Never be defensive. Never dismiss a concern.

    line 356
  40. Very specific:

    Read brainstorming_guide.md and walk through all 6 phases to create their first project_context.md.

    line 360
  41. Distinctive:

    After brainstorming: write a Draft 0 introduction — a disposable framing scaffold (stakes, problem gap, rough contributions) that sets …

    line 362
  42. Very specific:

    Read figure_synthesis_guide.md and the relevant files in figure_templates/

    line 370
  43. Very specific:

    Run spec mode — walk through archetype-specific questions to produce a figure_spec.md

    line 373
  44. Distinctive:

    Run generate mode — assemble an AI prompt or TikZ code, produce the figure

    line 374
  45. Distinctive:

    Run critique mode — check against claims, venue formatting, and design principles, and enforce caption terseness (G7: a bold takeaway plus …

    line 375

“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Paper Writing Skill

How This Skill Works

This skill encodes the writing methodology of the Systems and Networking Lab (SNL) at UC Santa Barbara, derived from forensic analysis of 6 papers (8 submissions), 7,600+ Overleaf edits, 100+ tex file versions, and 5 peer review processes. See The Paper Behind the Paper for the full analysis. It works out of the box — the default rules are calibrated and battle-tested.

Three Layers

  1. The pipeline (fixed): A five-stage writing workflow. Does not change between users or papers.
  2. The voice and editorial rules (defaults provided, customizable): Sentence-level style, structural rules, compression patterns, section checklists. These ship with the SNL lab's rules as defaults. Students may customize by editing files in author_profile/ — see the README for what to change.
  3. The project context (per paper): Identity sentence, venue, contribution claims, locked decisions. Lives in a project_context.md in the paper's working directory.

How This Skill Connects to the Research Pipeline

This skill does not operate in isolation. It is part of a three-skill family, and the artifacts from the other two skills are direct inputs to the writing process:

From the literature-survey-skill:

  • Gap analysis → feeds Brainstorming Phase 1 (Problem Discovery). The gaps the survey identified — missing quadrants, shared assumptions that break, unexplored combinations — are the structural limitations that motivate your paper.
  • Writing craft extractions (Pass 3+) → feed the Architecture stage and section drafting. The introduction anatomy, evaluation architecture, and design craft you extracted from the best papers in your area are the models for your own paper's structure.
  • Competitive positioning → feeds Brainstorming Phase 4. The invariant matrix and dependency graph from synthesis show exactly where your paper sits relative to existing work.

From the data-visualization-skill:

  • Exploration (exploration_log.md) → feeds Brainstorming Phase 3 (Evaluation Design). The exploration forced you to look at your data from multiple angles before forming hypotheses. The surprises you found — distributions you didn't expect, subgroups that behaved differently — shape what claims are defensible and where the real contribution lives.
  • Brainstorm (braindump.md) → feeds the figure/table plan. Each braindump articulates what question a figure answers, what you expected to see, and what would surprise you. These are the hypotheses your evaluation must validate.
  • Plan + Execute (plot_context.md) → feeds the Architecture stage's figure/table plan. Each plot_context records intent, variable mappings, plot type rationale, and design decisions — ready-made entries for the paper's figure plan.
  • Analyze (WALTER narrations) → feeds Evaluation Move 4 (Takeaway Synthesis). The WALTER Result — "what is the takeaway? does it connect back to the hypothesis?" — is a first draft of the Takeaway paragraph for that experiment cluster.

The three skills create a closed loop: the literature survey reveals the gap and teaches you how accepted papers communicate; data visualization forces you to understand what your evidence actually shows and what hypotheses it validates; paper writing turns both into a publishable argument. If the student has artifacts from the other skills, Claude MUST load them.

When This Skill Triggers, Claude MUST:

  1. Read this SKILL.md (already loaded)
  2. Read ALL files in author_profile/ — these are the source of truth for editorial rules
  3. Ask which paper the user is working on
  4. Look for a project_context.md in the paper's working directory
  5. If found, read it and treat it as binding constraints
  6. If not found, decide how to create one: if the ideas already exist in notes, drafts, code and related work, run Story Mode (story_mode.md); if they are mostly in the user's head, run Structured Brainstorming below
  7. Check for artifacts from sibling skills — survey paper notes with craft extractions, exploration_log.md, braindump.md, plot_context.md, WALTER narrations. If found, load them as reference material for the relevant pipeline stages
  8. Check for a private overlay skill: an installed skill whose name ends in paper-writing-lab (for example ~/.claude/skills/paper-writing-lab/ or ~/.claude/skills/<group>-paper-writing-lab/). If present, read it: it carries a group's real worked cases, house rules and project records that cannot live in this public skill. Its project-specific guidance takes precedence over the defaults here; never copy its contents into this repository

Story Mode — From a Group's Ideas to a Paper Story and Outline

When the ideas for a paper are scattered across meeting notes, drafts, code, chat threads and related work, read story_mode.md and follow its ten steps (or its short path for workshop papers and short deadlines): read the whole record, connect the dots without inventing anything, place the idea in its intellectual history, read the closest work in depth, decide one core contribution, choose one framing, write a Draft 0 introduction with the motivation and skeleton, tie each claim to an evaluation question that could refute it, converge with review rounds and a calibration spec, and fill project_context.md so Stage 2 starts from the result. Triggers: "turn our notes into a <venue> outline", "what is the story for <venue>", "connect the dots", /paper-writing story.


Structured Brainstorming — The Skill's Centerpiece

The biggest obstacle for students isn't writing — it's that their ideas live as unstructured intuitions. They know something is interesting but can't articulate what or why. The brainstorming process transforms scattered thinking into a precise project context that drives every section of the paper.

How It Works

Claude MUST read brainstorming_guide.md and walk the student through its 6 phases interactively. The phases are:

PhaseFocusKey outcome
1. Problem DiscoveryWho suffers, what breaks, why it breaks structurallyThe opening paragraph's stakes and the Problem Gap
2. Contribution CrystallizationCore claim, headline number, key abstraction nameThe identity sentence and contribution list
3. Evaluation DesignBaselines, metrics, datasets, experiment-to-claim mappingThe evaluation plan that constrains what the introduction can promise
4. Positioning and FramingVenue fit, competitive positioning, category creation vs. competitionThe Related Work positioning sentence
5. Architecture and ConstraintsDesign pipeline, locked decisions, open questionsThe Design section's structure and the project's scope
6. Narrative SpineStory arc, the "inevitable" moment, the tweet-length pitchThe thread connecting every section

Rules for Running Brainstorming

  • Go phase by phase. Don't skip ahead. Phase 1 (the problem) must be clear before Phase 2 (the contribution) makes sense.
  • "I don't know" is a valid answer. Flag it as an open question and move on. Gaps discovered now are cheap to fix; gaps discovered during review are expensive.
  • Push back on vague answers. "It's faster" → "Faster for whom? By how much? On what workload?" Every answer should be specific enough to appear in the paper.
  • Distinguish structural from quantitative. "Existing tools aren't accurate enough" is quantitative — it motivates more experiments. "Existing tools assume stationarity, which fails on non-stationary workloads" is structural — it motivates a new approach. Papers need structural gaps.
  • After all phases, generate project_context.md using the template in examples/project_context.md. See examples/example_project_context.md for a synthetic example of what a complete project context looks like.

Voice and Editorial Rules

Claude MUST read these files from this skill's directory. They contain the detailed rules with examples.

FileWhat it controls
author_profile/editorial_principles.md14 cross-paper principles with evidence (introduction-twice, named-over-vague, what→why→so-what headings, compress-after-expanding, etc.)
author_profile/craft_reference.mdHow to write (the positive layer). Sentence-level style (~21-word mean, claim-first, active voice, named-over-vague, no filler), composition craft, and three registers: base/terse, conceptual/position, warm/narrative. Read while drafting a paragraph.
author_profile/gate_mechanical.mdThe single mechanical grep gate (M1–M18). Em-dashes, antithesis, intensifiers, banned + pompous + fancy verbs, throat-clearing, passive voice, wordiness, qualifiers, term-drift — one grep script. Run on every tex edit; the passive-voice scan also runs in the base gate.
author_profile/gate_semantic.mdThe single reader-judgment gate (S1–S31). Define-before-use, followability, parse-accessibility, thesis-tie, lexical + decomposition consistency, non-duplication, rigor/grounding, honest positioning, figures, and the closure gate. Runs in the red-team/loop pass.
author_profile/compression_patterns.md7 compression operations with before/after examples and quantitative benchmarks
author_profile/rhetorical_moves.mdCross-section move sequences for introduction (6 moves), design (5 moves), evaluation (6 moves), related work (3 moves)
author_profile/intervention_types.md7 types of advisor interventions — use this to simulate advisor feedback on drafts
red_team_protocol.mdIndependent adversarial red-team (evidence-gated): after the mechanical audit, a reviewer that did NOT write the text re-runs gate_mechanical.md and applies gate_semantic.md, and must return CLEAN before text ships.
loop_mode.mdResumable /loop audit-and-fix protocol: a disk-backed ledger, one section per iteration, self-terminating when clean.

Quick Reference: Non-Negotiable Voice Rules

These are extracted from the detailed files above. In case of conflict, the files are the source of truth.

  • Mean sentence length: ~21 words. Maximum: ~40 words (contribution lists only).
  • Topic sentences assert claims. Never open a paragraph with background or context.
  • Zero hedging. "We show" not "We believe." "X reduces Y by N×" not "X may help reduce Y."
  • Active voice everywhere — no exceptions. Passive voice obscures agency and weakens prose.
  • No filler adjectives: never use "novel," "significant," "state-of-the-art," "comprehensive," "robust," "substantial," "promising," "impressive." Replace with specific numbers or delete.
  • Signpost through claims: section openers may state the section's conclusion ("This section shows that X reduces Y by N×") but never use content-free placeholders ("In this section, we describe..."). The test: does the opener tell a skim-reader what the section concludes?
  • No exclamation marks. No rhetorical questions outside introductions.
  • Paragraphs: 4–6 sentences. Every paragraph does exactly one of: make a claim, present evidence, synthesize a takeaway.
  • Headings are claims, not topics. "Mechanism M reduces error N×" not "Experimental Results."
  • Named over vague: every mechanism, baseline, metric must have a proper name. If a term could apply to any paper in the field, it doesn't belong in this paper.
  • Interpret figures, don't just cite. "Figure 3 shows that X, confirming Y" not "See Figure 3."
  • Every evaluation subsection ends with a Takeaway paragraph.
  • Every design choice justified immediately. Not "we use X" but "we use X because Y."

Venue Adaptation

  • Systems venues (NSDI, SIGCOMM, CoNEXT, IMC): Use \smartparagraph{} labels. Systems evaluation (latency, throughput, memory). Frame contributions as operational impact. Post-evaluation related work.
  • ML venues (NeurIPS, ICLR, ICML): No \smartparagraph. Colon-style subtitles. Reproducibility checklist. Frame as methodological advances. Integrated related work.
  • Workshop/short papers (HotNets, ANRW): Compress everything 50%. Lead with the intellectual provocation.

Mandatory Style Audit (GATE — applies to ALL tex edits)

Before presenting or committing ANY new or modified tex content, Claude MUST run a sentence-level style audit. This is not optional, not triggered by the user, and not limited to full section drafts — it applies to every edit, including paragraph-level changes, subsection additions, and overview rewrites.

The audit checks every changed sentence against author_profile/gate_mechanical.md, author_profile/compression_patterns.md, and author_profile/craft_reference.md. Specifically, scan for and fix:

  1. Mechanical gate (gate_mechanical.md) — run FIRST, with its greps. Em-dashes (---, —, --) are BANNED. Antithesis/mirror flourishes ("X, not Y"; "whatever it is called"), editorializing closers ("the saving is the point", "is not real"), vacuous intensifiers ("in effect", "at its core"), rule-of-three decoration, throat-clearing openers ("Moreover", "Notably"), banned/pompous/fancy words, and content-free openers ("In this paper, we…") are BANNED. Target the plain, short, declarative register (craft_reference.md). Do NOT report the audit as passed without running the grep gate in that file.
  2. Negation-first constructions: "not X" or "rather than X" where the sentence should assert what something IS. Reframe positively.
  3. Throat-clearing: "We address this problem by", "To address this issue", "In order to", "It should be noted that", "Note that". Delete and lead with the action.
  4. Hedging: "can potentially", "can be expected to", "may help reduce", "it is possible that". Replace with assertive voice ("produces", "reduces", "achieves").
  5. Generic adjectives: "significant", "substantial", "highly desirable", "novel", "robust", "comprehensive". Replace with specific numbers or delete.
  6. Sentence length: Flag any sentence exceeding 40 words. Split or compress.
  7. Passive voice: "accuracy was achieved by X" → "X achieves". "Experiments were conducted on X" → "We evaluate on X". Active voice everywhere — no exceptions, including methods and evaluation. Run the passive-detection grep from author_profile/gate_mechanical.md (§Part C, M11) in this base gate; fix or justify every hit.
  8. Missing citations: Technical claims restated from other sections must carry forward their citations (Principle 14).

Process: After writing, (a) run the grep gate in gate_mechanical.md Part C and fix every hit, then (b) read the changed text line by line for the items above. Report a summary table of violations found and fixed (category, count), INCLUDING the grep counts (em-dashes, flourishes) — not just "audited". Never claim the audit passed on a mental pass alone. Then (c) run the independent adversarial red-team (red_team_protocol.md): a reviewer that did NOT write the text re-runs gate_mechanical.md and applies author_profile/gate_semantic.md (define-before-use, followability, thesis-tie, lexical + decomposition consistency, non-duplication, mappability, honest positioning, and the closure gate) with a fresh-reader lens, returning a findings list, not a yes/no. Only text that survives (a) + (b) + (c), with the grep output pasted as evidence, is presented or committed. Per gate_semantic.md's closure gate (S31), iterate the red-team after every substantive change until a final closure reviewer returns zero CRITICAL/MAJOR; never defer residual items as "done."

This gate is SEPARATE from and IN ADDITION TO the structural section checklists below.

Loop mode. When invoked via /loop (e.g. "apply the paper-writing skill iteratively", "audit with loop"), follow loop_mode.md: a resumable, ledger-backed audit → red-team → fix cycle that processes one section per iteration and stops itself when every in-scope section is clean. The user need not specify which checks to run or when to stop — the protocol supplies those.


Section Checklists

After generating ANY section draft, Claude MUST also read the corresponding structural checklist and run it:

SectionChecklist file
Introductionwriting_checklists/intro_questions.md
Evaluationwriting_checklists/evaluation_questions.md
Design / Methodwriting_checklists/design_questions.md
Related Workwriting_checklists/related_work_questions.md

Flag every violation before presenting the draft. Severity levels: CRITICAL (structural — will cause rejection), MAJOR (visible to reviewers), MINOR (polish-level).

Section Rhetorical Moves

For detailed guidance on move sequences within each section type, read from section_rhetorical_moves/:

SectionFileKey moves
Introductionsection_rhetorical_moves/introduction.mdStakes → Problem Gap → Key Abstraction → Design Intuition → Contributions → Results Preview
Evaluationsection_rhetorical_moves/evaluation.mdSetup Anchoring → Head-to-Head → Deep Dive → Takeaway Synthesis → Ablation → Robustness
Designsection_rhetorical_moves/design.mdAbstraction Introduction → Design Justification → Component Architecture → Key Design Decision → Robustness
Related Worksection_rhetorical_moves/related_work.mdCategory Clustering → Per-Category Limitation → Positioning Sentence

These contain actionable guidance with concrete examples showing what works and what doesn't, drawn from accepted and rejected systems and ML papers.


The Five-Stage Pipeline

Every paper goes through these stages in order. Claude identifies which stage the user is in and enforces that stage's rules.

Stage 1: Structured Brainstorming → Project Context Creation

Gate: The user must have a one-sentence identity statement and contribution claims written as results. If they don't, read brainstorming_guide.md and walk them through all 6 phases interactively. Don't rush — this is the most important stage. A vague project context produces a vague paper.

After brainstorming, generate a project_context.md file using the template in examples/project_context.md and save it in the paper's working directory. See examples/example_project_context.md for a complete synthetic example.

Important: After creating project_context.md, add it to the project's .gitignore (create the file if it doesn't exist). This file contains strategic framing notes and advisor commentary that should not be committed to shared repositories by default.

Stage 2: Architecture

Gate: Section outline with claim assignments, per-section narrative arcs, figure/table plan, evaluation structure, and page budget.

Craft reference: If the student has run a literature survey (using the literature-survey-skill or manually), check for Pass 3+ paper notes with writing craft extractions — introduction anatomy, evaluation architecture, design section structure, and figure design choices from the strongest papers in their area. Load these as reference material for the architecture. The section structure of the best paper at your target venue is a better starting point for your outline than a generic template. Reading and writing develop together: craft patterns extracted during deep reading feed directly into the architecture of your own paper.

Figure/table plan from visualization artifacts: If the student has been working with the data-visualization-skill, check for plot_context.md files and WALTER narrations. Each plot_context.md records the intent, variable mappings, plot type rationale, and design decisions for a figure — these are ready-made entries for the figure/table plan below. Each WALTER narration (Hypothesis → Axes → Look here → Trend → Exception → Result) maps directly to the evaluation prose that will accompany the figure. The iteration the student did in the viz skill — exploring what the data shows, forming predictions, confronting surprises — has already determined which figures carry the argument. The architecture should reflect that.

Output a structured table:

SectionPagesKey claimFigures/Tables
............

Non-data figure specs: For each figure in the plan that is NOT a data figure (architecture diagrams, pipeline illustrations, concept diagrams, comparison schematics), read figure_synthesis_guide.md and run spec mode to produce a figure_spec.md. Data figures (CDFs, bar charts, heatmaps, scatter plots) should be routed to the data-visualization-skill. The boundary is clear: if the figure requires experimental data to render, it goes through /viz; if it illustrates structure, flow, or concepts, it goes through figure synthesis.

Stage 3: Section Drafts

Enforced order: Draft 0 Introduction → Evaluation → Design/Method → Background → Related Work → Final Introduction → Abstract.

The introduction is written twice. This is the most impactful principle in the entire system (Principle 1).

Draft 0 Introduction comes first. It is a framing scaffold — stakes, problem gap, rough contribution claims — that sets guardrails for the evaluation. Draft 0 clarifies what the paper is trying to show. It is explicitly disposable: it probably will not survive to the final version. Writing is a thinking tool, not just a communication tool — Draft 0 forces the student to externalize their framing before designing experiments.

The evaluation comes next, constrained by Draft 0's guardrails. Then Design, Background, and Related Work.

The final introduction is rewritten from scratch after the evaluation is complete. It promises exactly what the evidence supports — no more, no less. Draft 0 is reference material, not a starting point for editing. If the user asks to skip Draft 0 and go straight to evaluation, explain that evaluation without framing guardrails produces experiments that don't build toward a unified argument.

Per-section scaffolding: Before writing any section's full prose, write the topic sentences first. Read them in sequence — they should form a coherent argument on their own. If the topic sentences don't flow, the paragraphs won't either. Fill in the full paragraphs only after the topic-sentence sequence holds together. In LaTeX, a practical technique is to annotate each paragraph with a purpose comment before writing prose:

\section{Introduction}
% Stakes: who suffers and why the domain matters.
...
% Problem gap: structural limitation of current approaches.
...
% Key abstraction: named concept that captures our insight.
...
% Contributions: numbered, claim-first list.
...

Each comment is a contract: the paragraph that follows must deliver on it. If a paragraph doesn't fit any comment, either the paragraph doesn't belong or a comment is missing.

Per-section audit: After generating a draft, read and run the appropriate checklist. Flag every violation with severity level before presenting the draft.

Stage 4: Integration

Cross-section consistency pass:

  • Terminology drift: Is the same concept called by the same name everywhere?
  • Claim-evidence mapping: Does every introduction claim map to an evaluation subsection?
  • Key abstraction propagation: Does the named concept from Introduction Move 3 appear in Design Move 1, Evaluation setup, and Related Work positioning?
  • Heading consistency: Do section headings reflect the contribution order from the introduction?
  • Identity stability: Read the first sentence of every section — do they tell a coherent story?
  • Flow audit: Read the last sentence of paragraph N and the first sentence of paragraph N+1, throughout the paper. Does each transition work? Composition — the logical flow a reader can follow — is the most important aspect of technical writing. Readers forgive imperfect grammar but cannot follow broken logical progression. Structure produces flow, but structure alone doesn't guarantee it — the transitions between structural units matter.
  • Signposting check: Does each section open with a claim-bearing sentence that tells a skim-reader what the section concludes? Is there an outline paragraph at the end of the introduction? Are figures distributed throughout pages rather than clustered?
  • Visual balance (landscaping): Check figure distribution across pages, paragraph length variation, and whitespace. Break up walls of text with signposts, figures, and paragraph headings. Avoid orphaned section headings at page bottoms.

Stage 5: Compression

Read author_profile/compression_patterns.md for the 7 specific operations. Apply in order:

  1. Sentence shortening (remove subordinate clauses, qualifiers, throat-clearing)
  2. Paragraph merging (multiple examples of same point → one best example)
  3. Generic adjective removal ("significant" → specific number or delete)
  4. Tutorial deletion (remove explanations the venue audience already knows)
  5. Claim-first conversion (rewrite buried paragraphs so claim leads)
  6. Takeaway insertion (add synthesis paragraphs after experiment clusters)
  7. Figure/table promotion (move dense numerical comparisons from prose to visuals)

Target: 30–50% reduction from first draft. Report character count before and after.

Do not pad to fill page limits. If the paper is under the page limit after compression, that is fine. A short paper with appropriate content is better than a padded paper that reaches the limit. Padding introduces filler that weakens the argument.

Pre-Submission Mechanical Checklist (Automated)

After compression and before submission, Claude MUST automatically run these checks using shell commands on the paper's .tex and compiled .pdf files. Do not ask the student to run them manually — execute them and report results.

1. Page count. Extract page count from the compiled PDF and compare against the venue's limit (from project_context.md). Flag whether references/appendices count — this varies by venue.

pdfinfo paper.pdf | grep Pages

2. Broken references. Search .tex source files for unresolved references that will render as [?] or ?? in the PDF. Also check the .log file for LaTeX warnings about undefined references and citations.

grep -n "LaTeX Warning.*undefined" paper.log
grep -rn '\\cite{' *.tex | grep -v '%' # list all citations for cross-check

3. Embedded fonts. Verify all fonts are embedded. Non-embedded fonts cause rendering differences across machines and are rejected by some submission systems.

pdffonts paper.pdf | grep -v "yes"

If any font shows no in the emb column, flag it and suggest adding \usepackage[T1]{fontenc} or compiling with GS_OPTIONS=-dPDFSETTINGS=/prepress.

4. Figure quality. Check that all included figure files are vector format (PDF/EPS) or high-resolution raster. List all figures referenced in the source and verify they exist.

grep -rn '\\includegraphics' *.tex  # list all figure references
file figures/*.pdf figures/*.png 2>/dev/null  # check file types

Flag any PNG/JPG figures — these should be vector unless they are photographs or screenshots.

5. Anonymization (if double-blind). Search all .tex files for author names, institution names, grant numbers, acknowledgment sections, and self-citations that could reveal identity.

grep -rni 'AUTHOR_NAMES_HERE\|INSTITUTION_HERE\|\\thanks\|acknowledgment' *.tex

Replace AUTHOR_NAMES_HERE and INSTITUTION_HERE with actual names from project_context.md before running.

6. Column balancing. Check whether the balance package is loaded (for two-column formats). If not, suggest adding \usepackage{balance} and \balance before \bibliography.

grep -rn 'balance' *.tex

7. Common LaTeX issues. Scan for frequently missed mechanical problems:

grep -rn '\\cite{.*}' *.tex | grep -v '~\\cite'  # missing ~ before \cite (dangling references)
grep -rn 'et al\.' *.tex | grep -v '~'  # missing ~ after "et al."
grep -rn '\\label{' *.tex | sort | uniq -d  # duplicate labels

Report format: Run all checks, then present a single summary table:

CheckStatusDetails
Page count✓ or ✗N pages (limit: M)
Broken refs✓ or ✗List of undefined refs
Embedded fonts✓ or ✗List of non-embedded fonts
Figure quality✓ or ✗List of raster figures
Anonymization✓ or ✗List of leaks found
Column balance✓ or ✗Package present/missing
LaTeX issues✓ or ✗Count of dangling refs, duplicate labels

Fix what can be fixed automatically (e.g., adding ~ before \cite). Flag what requires student decision (e.g., replacing a raster figure with vector).


How to Respond to Common Requests

"Help me write section X of paper Y"

  1. Load the paper's project_context.md
  2. Read all author_profile/ files
  3. Read the section's rhetorical moves from section_rhetorical_moves/
  4. Identify which stage the paper is in — enforce introduction-twice ordering (Draft 0 intro → Evaluation → Design → Background → Related Work → Final intro → Abstract)
  5. Write topic sentences first; verify they form a coherent argument before filling paragraphs
  6. Generate the draft following the move sequence
  7. Run the section checklist and flag violations with severity levels

"Review / critique this draft"

  1. Load project_context.md
  2. Read author_profile/intervention_types.md for the 7 intervention types
  3. Apply in order: framing → structural rewrite → background deletion → evaluation strengthening → terminology tightening → claim-first conversion → compression
  4. Give numbered feedback with severity (CRITICAL / MAJOR / MINOR), the specific principle violated (by number from editorial_principles.md), and a concrete rewrite

"Compress / tighten this section"

  1. Read author_profile/compression_patterns.md
  2. Apply the 7 operations in order
  3. Show before/after with character counts
  4. Normal compression: 30-50%. Over 50% signals a framing problem, not a wordiness problem.

"I want to get feedback on this draft"

  1. First readings are precious. Someone can read your work for the first time only once. Don't send your first draft to everyone simultaneously — chain your feedback. Send to one reader, incorporate their feedback, then send the revised version to the next reader. Each iteration strengthens the draft before it reaches the next pair of fresh eyes.
  2. Help the student plan their feedback chain: who reads first (someone outside the subfield for framing clarity), who reads second (a domain expert for technical correctness), who reads last (the advisor, who sees the strongest version).
  3. When asking a reader for feedback, tell them what to focus on: "Is the narrative in the introduction clear?" is more useful than "any thoughts?" Unfocused feedback wastes a first reading.
  4. Use Claude's review mode (author_profile/intervention_types.md) to simulate a round of feedback before spending a human reader's first reading on an early draft.

"Help me respond to reviewers"

  1. Load project_context.md and the reviews
  2. Classify each concern by severity: framing (most dangerous) → design → scope → rigor (most manageable)
  3. For each concern: acknowledge → explain what changed → point to specific section/figure
  4. Never be defensive. Never dismiss a concern. If a reviewer misunderstood, that's a WRITING failure to fix, not a reviewer failure to criticize.

"I'm starting a new paper — where do I begin?"

  1. Welcome them. Explain the five-stage pipeline — especially the introduction-twice principle.
  2. Read brainstorming_guide.md and walk through all 6 phases to create their first project_context.md.
  3. Emphasize: the brainstorming phase is the most important. A precise project context saves weeks of revision later.
  4. After brainstorming: write a Draft 0 introduction — a disposable framing scaffold (stakes, problem gap, rough contributions) that sets guardrails for the evaluation. Then point them to section_rhetorical_moves/evaluation.md — they'll write the evaluation next, constrained by Draft 0.
  5. Remind them: "Your first draft should be comprehensive — include everything. Compression comes later. The goal is to get material on paper, not to be concise. Draft 0 of the introduction will probably not survive — that's the point. It clarifies your thinking."

"Turn our notes into a paper outline" / "What is the story for <venue>?"

Read story_mode.md and run its ten steps (or the short path). Start with step 1 (read the whole record) even if the user offers a summary; ask where the notes, drafts, code and related-work PDFs live. Keep everything beyond the record in a separate section for the user to accept or reject.

"I need a non-data figure (architecture diagram, pipeline illustration, etc.)"

  1. Load the paper's project_context.md
  2. Read figure_synthesis_guide.md and the relevant files in figure_templates/
  3. Classify the figure by archetype (architecture overview, pipeline flow, component detail, concept illustration, comparison schematic, taxonomy, deployment diagram)
  4. Select the generation backend: AI image generation (for visually rich figures like architecture overviews and concept illustrations) or TikZ (for precise structural figures like pipeline flows and taxonomy matrices). The guide has defaults per archetype, but the student can override.
  5. Run spec mode — walk through archetype-specific questions to produce a figure_spec.md
  6. Run generate mode — assemble an AI prompt or TikZ code, produce the figure
  7. Run critique mode — check against claims, venue formatting, and design principles, and enforce caption terseness (G7: a bold takeaway plus at most one clause; flag captions over ~3 lines), and verify legibility by inspecting the rendered image (a checklist-green figure can still be an illegible mess)
  8. NOTE: Data figures (CDFs, scatter plots, bar charts, heatmaps) should go through /viz, not through figure synthesis

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.