/sci-brain:write-paperfrom sci-brain
Guides drafting and revising scientific manuscripts with real results, following structured rules for figures-first writing, abstract polishing, and citation handling.
Ships in sci-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Keep the working directory at the user's project. Resolve this loaded SKILL.md
with Path(path).resolve() before locating resources; follow symlinks. Bare
helpers/, references/, and template paths are relative to that real skill
directory. A path written as skills/<name>/... means the installed <name>
skill's directory from the agent's skill catalog, not a path in the user's project.
Locate each dependency by its public skill name; copied skills need not be siblings.
If a dependency is absent, report the missing skill and install it before that step.
Shared writing files are bundled in how-to-write-ideas-report/references/.
A working-rules guide for writing scientific papers, distilled from John Martinis's Notes on Writing a Scientific Paper and Jan von Delft's Style Guide. The source documents live in references.md and sources/; consult them when this SKILL.md leaves a question open. Beside them sits a model letter that executes these rules — Ho et al., PRL 122, 040603 (2019), see Source material. Imitate the model letter on any open style judgment call.
Scope note. This skill is for real manuscripts — papers reporting completed (or near-complete) experimental, theoretical, or computational results. It is not for the upstream ideas/plan report produced by brainstorm-ideas report mode. If the user has not yet finished the work, push back: a paper requires results.
Use skills/how-to-write-ideas-report/references/writing-workflow.md for KB loading, citation handling, missing references, output formats, and Typst/diagram mechanics. The manuscript-specific rules below override shared defaults when venue templates or figure-first sequencing require it.
These seven override everything else.
A correct ordering of effort that defeats writer's block. Do not reorder — the sequence is the point.
Before drafting, gather the materials that should inform the paper. Cheap to do once; expensive to skip.
skills/how-to-write-ideas-report/references/writing-workflow.md. Use $KB/NOTES.md as the spine for prior work, gap statement, motivation, and conclusions.docs/discussion/*-brainstorm-ideas-log.md from a prior brainstorm-ideas session. If present, read it for the original motivation, the cross-field connections it surfaced, the planned minimum viable experiment, and the success/hope/pivot signals. This is the why behind the paper and feeds the introduction's contribution claim.docs/discussion/user-profile.md and any know-me-better notes in $KB/NOTES.md. Use them to position the new paper in the user's own arc and to cite the user's earlier work correctly.articles/, read it before proposing new prose; pick up where the user left off.If none of these exist, name what's missing and ask the user to either point at the files or run the survey skill first. A paper without a literature foundation will read like one.
Before the story checkpoint, stop and discuss the target journal or venue with the user. If the user has not chosen one, propose 2–3 plausible venues with tradeoffs: article type, audience, length pressure, figure limits, novelty bar, and format requirements. Ask the user to pick one target or to choose "no target yet" explicitly. In the latter case, record that no official template applies, and continue only after the user confirms this tradeoff.
Once a target is chosen:
articles/YYYY-MM-DD-<paper-slug>/template/. If no manuscript directory exists yet, create the article directory first.template/README.md or manuscript note.Before the telegram outline, stop and discuss the paper's narrative with the user. Base this only on the provided figures, caption-summaries, existing draft, loaded literature context, and target-journal constraints.
references.md §C. Move on even if it feels weak.Most physics-style papers fit this. Short letters (PRL, Nature, Science) drop the section headers but the reader still parses these seven roles.
| § | Section | Purpose | Length cue |
|---|---|---|---|
| 1 | Title & Abstract | Advertisement: get the reader to open the paper. | One paragraph, 5–10 lines. |
| 2 | Introduction | Why the field cares, prior work, what's new here. Hardest section; most important for acceptance. | 0.5–1.5 pages. |
| 3 | Theory / Background | Minimum theory needed to interpret the experiment. State assumptions, give formulas without long derivations (assume expert reader). | As short as possible. |
| 4 | Experimental Methods | Document what was done so the experiment is reproducible. Be concise — state, don't explain — except for tricky, unusual, surprising steps, which should be written out fully. | Compact. |
| 5 | Results | A sequence of figures telling a story, simple → complex. Walk the reader through each plot's axes, trends, and error sources. | Bulk of the paper, with Analysis. |
| 6 | Analysis | Compare data to theory. Discuss where deviations come from. Introduce check experiments and any extra theory needed. Often merged with Results. | Bulk of the paper, with Results. |
| 7 | Conclusions | What was learned. Implications and future directions. Acknowledgments and funding. | Short — one to two paragraphs plus acks. |
Cross-cutting: Use references aggressively — citing a prior result is cheaper than re-deriving it, and a reference is the politest way to credit prior work.
Figures are what readers remember; design them to survive the harshest viewing context.
Design for three uses simultaneously. Each figure must work as: (a) inline figure in the paper, (b) slide in a beamer talk, (c) greyscale photocopy. Design for all three at draft time, not in a later retrofit.
Line weight. Minimum thickness 2 for every curve (or at least the main-result curves). Thin lines vanish on a projector.
Color discipline.
Text size. Axis labels, numbers, and legend text should not be much smaller than the surrounding paper text — at most 2/3 of body size. Tiny text wrecks the figure for talks.
Parameter labels. Place key parameters (e.g., T = 0, V = 0, Γ = 1) directly inside the plot in small boxes. Saves caption length and makes the figure self-contained for talks.
Dimensionless axes. Use dimensionless quantities (G/G₀, T/Γ, V_g/Γ, etc.) whenever possible — they generalize the result, clarify the relevant scale, and travel across systems. Choose the combination that maximizes message clarity; if you find a better one after plotting, replot. Exception: comparison with dimensional experimental data.
Data vs. theory. Plot data as points (with error bars) and theory as lines, on the same axes. Arrange so theory lines are straight whenever possible — anyone can then check agreement at a glance. Use curved-theory plots only with a deliberate reason.
Error-bar reasoning. Theory should pass through error bars on most points. Patterns to discuss in text:
Captions. Concise but self-sufficient. Define every plotted quantity, summarize the trend, identify line styles. A reader who reads only the title, abstract, and figures+captions should get the paper.
Explain every striking feature. Every peak, dip, kink, or jump that catches the eye must be discussed in the main text — ideally with a back-of-envelope reason. Unexplained features are either an honesty problem or a missed opportunity. If you genuinely don't understand a feature, say so in print and flag it for follow-up.
Notation is the reader's interface to the math. Treat it with the same care as a public API.
Follow skills/how-to-technical-writing/SKILL.md: one concept per sentence, direct to the point, name the earlier context instead of "obviously", simple words with every technical word kept, no undrawn metaphors, active voice, one aside per paragraph, calculations in displays, locality within body sections, say it once within the body, signposting, and one job per paragraph. The guide's checklist.md and hunt table are the checklist for the Phase 4 language pass, and its guardrails say which fixes are never applied mechanically.
Run this before clicking submit. Each item is cheap to check; missing any of them is expensive to fix in proof.
High-leverage text (read by 95%):
Process gates:
Main-result labeling:
Figures:
Notation and equations:
Sentence-level:
External feedback:
| Symptom | Action |
|---|---|
| Cannot start writing introduction | Skip it. Write Methods or Theory first; loop back later. |
| Notation feels awkward | Stop. Redesign notation now. Cost grows linearly with pages written. |
| Figure looks "fine" but feels off | Test it: project on a screen + print in greyscale. The problem will reveal itself. |
| Cannot decide what the "main result" is | You don't have a paper yet. Go back to brainstorming (brainstorm-ideas) or surveying (survey). |
| Co-authors keep proposing reorganizations | Lock the figure list first; the body follows the figures. |
skills/how-to-write-ideas-report/references/writing-workflow.md..typ) only when no target venue or required template exists; use LaTeX (.tex) or Word when the journal requires it; use Markdown only for arXiv-style preprints where the journal accepts it.articles/YYYY-MM-DD-<paper-slug>/ with main.typ (or .tex), a bibliography copied from $KB/references.bib, and figures/.skills/how-to-technical-writing/SKILL.md — the how-to-technical-writing skill: sentence- and paragraph-level rules shared with review-paper, with the hunt table and application guardrails.references.md — distilled rule lists from Martinis (2012) and von Delft (style guide), plus a walkthrough of the model paper (§C).sources/NotesOnWritingPaper12.pdf — the original Martinis notes.sources/1807.01815_Ho2019_quantum-scars.md — the model paper: Ho, Choi, Pichler & Lukin, Periodic orbits, entanglement and quantum many-body scars in constrained models, PRL 122, 040603 (2019), rendered from arXiv:1807.01815. This letter practices what the rules preach: one move per abstract sentence, the four introduction beats in order, run-in headers whose first sentence names the section's job, symbols defined at first use and then read back in plain words, figures that carry the story from page one. Skim it before drafting. references.md §C maps each move to its location in the paper.The references preserve the reasons behind the rules; the model paper shows the rules executed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub quantumbfs/sci-brain --plugin sci-brain16 skills in this plugin
/autoresearchUser trigger. Use when starting, resuming, or checking an autoresearch campaign — topics, evidence base, sealed validator, then validator-scored attempt loops./brainstorm-ideasUser trigger. Use when brainstorming research ideas with a Socratic collaborator who learns your background and helps find a problem worth attacking./create-advisorUser trigger. Use when creating or updating a named advisor profile from a researcher's conversation history./dump-chat-historyUser trigger. Use when exporting original conversations from selected harnesses and dates as a faithful transcript or a topic-titled Typst and PDF field note.Other plugins' skills for the same job