/computational-research:paper-create-notebook runs instead · from computational-research
Generates a Wolfram notebook formatted as a mathematics paper with complete proofs, numbered statements, cited sources, and executable examples. Use for explicit paper requests or /paper-create-notebook.
This skill never runs in Claude Code
It ships in computational-research at skills/, but /computational-research:paper-create-notebook (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Read the paper collaboration policy before working on a human manuscript.
The human owns the numbered manuscript sequence; substantive proposals normally go in its concise <stem>_notes companion.
Follow the current human source, keep details in linked topical artifacts, and do not promote or rewrite the manuscript without an explicit request.
A request for a short proposal does not trigger a full paper, proof development, notebook/code bundle, journal, or another competing briefing.
The longer article/bundle instructions below apply only when that output is explicitly requested.
A research notebook is a mathematics paper that computes.
The model is an amsart paper: numbered definitions and results, numbered equations, cross-references by number, complete proofs.
The one thing a paper on paper cannot do is run, so the results that need a picture get one.
The reader is a human checking the mathematics. That is the whole design constraint, and style.md is where it turns into rules.
| Skill | Produces |
|---|---|
notebook-create | generic Markdown → .nb pipeline (this skill builds on it), and every per-function demonstration |
paper-create-notebook | a paper: settled results with complete proofs, experiments quarantined, everything numbered by the front end |
The reference for tone, structure and proof style is the author's own paper at
~/Library/CloudStorage/OneDrive-Personal/Math/articles/FINISHED/hodgepaper/hodgepaper.tex.
Read a section of it when the voice is unclear.
/paper-create-notebook.notebook-create for exploration, conjecture notebooks, demonstrations and notebook conversion.style.md is not optional — it carries the tier rules, the length budgets and the proof rules, and it is shared with paper-create so a paper reads the same whether it ships as .nb, LaTeX or Typst.
The other four are read on demand, only what the current step needs:
.nb → .md direction existsBefore changing a supporting source for an existing .nb, apply the preservation check in build.md.
A missing, legacy or unverified detector does not establish safe regeneration: preserve the saved notebook and use native targeted editing, unless replacement was explicitly authorized with the original retained.
Research/Artifacts/<Topic>_<YYMMDD>.md in paper order (§ Structure), following style.md throughout. A document in progress goes to Research/<Topic>_<YYMMDD>.md instead, when the user asks for one; a request that does not say goes to Artifacts/, without asking. The folder convention — which of the three places it goes to, how it is named, the index row it needs — is artifacts.md..nb exists, run the drift check first (fingerprint.md); stop on any drift.<Project>/<Topic>.nb (matching scripts/publish_notebooks.wls).
A request to create or revise the local notebook does not authorize publication.## 📓 Research Notebooks table | Notebook | Description | Link |, with the link anchored on "Wolfram Cloud".
Create the section if missing; update an existing row in place.## Hand-off, which is the channel the run digest quotes.<stem>.provenance.md with the first Request and commit the .md and that file as written, never the .nb (provenance § Version 1).Prompt tracking: **on** in CLAUDE.md — see project-provenance), the provenance comment belongs in the .md before the build; append the ledger entry to Wiki/Prompts.md here.There is no fixed section order, and no section list to satisfy. The document is organised the way the mathematics is organised. Sections carry mathematical titles ("Hodge decompositions", "Curvature on trees"), never structural ones ("Definitions", "Claims", "Results"), and a section exists because there is mathematics in it.
Three things a paper does need:
[[ LLM Generated ]], Title, the model as Author, the date, the footnote naming the operator with the bold freedom level and a one-sentence prompt summary (style.md § Authorship), and an Abstract;Initialization, folded (§ Initialization).Between the introduction and the references, the shape follows the mathematics.
The usual shape is sections mixing Definition, Theorem, Lemma, Proof, Example and Remark, with nothing used before it is proved, the experiments gathered near the end (style.md § Ruliology) and an outlook holding the conjectures and questions.
Every part of that is a default, not a requirement: no experiments means no such section, and a paper that ends on its last proof needs no conclusion.
What to avoid, unless the topic really wants it:
Remark early on;notebook-create's.| Environment | Use for |
|---|---|
Definition | every term the notebook uses |
Theorem | a main result, proved here in full or cited |
Lemma | a step toward a Theorem, stated immediately before it |
Proposition, Corollary | a proved result; a consequence of the statement above |
Construction | a construction the notebook reuses |
Example | the computation under a result |
Conjecture | a central open statement — few of them, each saying what would settle it |
Remark, Observation | a convention, a caveat, an aside |
Question | an open question |
Proof | a proof — unnumbered, not citable |
Theorem is the default for a result, and it has to earn it.
A statement enters the body only when it is proved here in full or cited to a source that was read.
Claim is available and is deliberately not in the list above: a computationally-verified-but-unproved statement is not body content, and "verified by enumeration up to $n = 8$" is not a proof.
It goes to the journal, or — when the paper is about it — into the body as a Conjecture whose evidence sits in Ruliology.
A Lemma with no theorem after it is misfiled.
A conjecture that fails becomes a Question, and the smallest counterexample is kept and drawn.
Never assert an implication you have not checked. Some proposed statements will be false, and finding the counterexample is the result.
Definitions are written precisely: explicit hypotheses, explicit quantifiers, quantification over decidable objects where possible, no appeal to a picture inside the statement, one object each. That precision is what makes a later formalisation possible, but formalising is never undertaken unasked — the paper-lean skill runs only on an explicit request.
Every statement names its own hypotheses, so it can be lifted out of the document and still mean the same thing (style.md § Results). State each result at the generality the proof actually reaches — a general theorem is the goal, and the only rule is that generality is never bought with a gap.
One statement, one cell (build.md § One cell per statement).
Every number in the document is computed by the front end. A number typed into the source is a bug: a second source of truth, stale the moment a cell moves.
Four things carry numbers, and all four are cited the same way — a bracketed tag in the prose:
| Target | Source | Cited as | Renders |
|---|---|---|---|
| display equation | $$…$$ with a tag | [Eq:Cyclic] | (3) |
| statement | environment cell with a tag | [Def:Hodge] | Definition 2.1 |
| section | heading with a tag | [Sec:Trees] | Section 4 |
| bibliography entry | Research/references.bib key | [Lambrechts2007] | [Lambrechts2007] |
The rendered form already contains the word.
Write by [Def:Hodge], which renders "by Definition 2.1" — never by Definition [Def:Hodge].
A tag is {#Tag}. It sits at the end of the first paragraph of the statement or heading it names, or on the line after the display equation it names.
## Hodge decompositions {#Sec:Hodge}
**Definition.** A *Hodge decomposition* of $(V, \mathrm{d}, \langle-,-\rangle)$
is a direct sum $V = \mathcal{H} \oplus \operatorname{im}\mathrm{d} \oplus C$
with $C \perp C \oplus \mathcal{H}$. {#Def:Hodge}
The pairing satisfies
$$ \langle \mathrm{d}v_1, v_2 \rangle = (-1)^{\deg v_1 + 1} \langle v_1, \mathrm{d}v_2 \rangle $$
{#Eq:Cyclic}
for all $v_1, v_2 \in V$, so a decomposition as in [Def:Hodge] is determined by
[Eq:Cyclic].
Number an equation exactly when something cites it, and tag a statement exactly when something cites it.
Only tagged formulas are promoted to DisplayFormulaNumbered; an untagged display equation prints without a number, which is right.
Prefix the tags — Def:, Eq:, Lem:, Thm:, Prop:, Sec:, Ex:.
It keeps them apart from bib keys, which carry no prefix.
Two shapes the front end will not resolve: a citation must be inline TextData, never BoxData; and a compound citation is one button per key, with literal separators between them.
What an example is — one per statement, definitions included, a picture that shows the phenomenon or one small algebraic value, at most ten rendered lines with no floor, bare — is in style.md § Examples. The mechanism is here.
The fold hides the code, never the result. A reader scrolling the document meets statements and pictures; the code is one click away and never in the way. That is why an example's code must be short — it is read by someone who chose to open it.
The mechanism is the group state {2} — a closed group displaying its second cell:
Cell[ CellGroupData[ {
Cell[ codeString, "Input" ],
Cell[ BoxData[ outputBoxes ], "Output" ] }, {2} ] ]
Open shows both, Closed shows the Input — backwards.
{n} is the third state: closed, displaying cell n.
FoldExampleGroups builds it (build.md).
Three consequences:
CellOpen -> False, no CellGrouping -> Manual. Both were tried and are worse.Input cell must carry real code — a code String or genuine boxes. ToBoxes applied to a code string ships a cell displaying the quoted string; the failure is silent and visible only on screen.The Example environment cell is a sibling above the group, not its head.
It numbers on the shared counter, like every other environment.
An ### Example subsection is wrong on all three counts.
Do not tag it unless something cites it (§ Referencing).
An example is almost never cited: the sentence above it already points at it, and the same holds for a closing Question.
Last in the document, folded: paclet loads, Needs[ "WolframInstitute`MathNotebook`" ], SeedRandom, a reproducibility line (paclet version, git commit, date), and the example objects the Examples use, copied verbatim from the project's example module so the notebook is self-contained.
Add one Text cell noting that the stylesheet can be swapped from the MathNotebook palette (build.md).
Initialization can sit at the bottom because the outputs are embedded.
Nothing above it needs evaluating to be read.
An InitializationCell evaluates on open wherever it sits, so a reader who does want to compute is served too.
Run style.md's checklist first — it covers tiers, budgets, proofs, examples and language. Then these, which are this skill's own:
Claim, no verification range, no experiment; the experiments sit together near the end if there are any; everything cut is in the journal, or — with the journal off — was put to the operator rather than dropped.{#Tag}, prefixed, cited bare as [Tag].[[ LLM Generated ]], Title, the model as Author, the date, and the footnote with the operator, the bold freedom level and the prompt summary — no human as author.CellGroupData[{Input, Output}, {2}] — never Closed, never Open. One Output per Input. Input cells carry real code.CellLabel stripped, no ::: theorem divs, no \to or \tag{…} in rich mode, PlainArticle.nb embedded.TaggingRules; otherwise no automatic preservation claim is made.ExportString result checked with StringQ and the file re-imported.notebook-create supplies the base pipeline conventions (backtick escaping, init-cell marking, engine selection) and owns every per-function demonstration notebook; this skill layers the rich engine + MathNotebook post-processing on top.paper-create shares style.md, so a LaTeX or Typst paper reads the same as a notebook one.paper-journal is where everything below the settled tier goes. It is off by default, and that is the one case the tier rule cannot resolve on its own: with no journal there is no destination, so the generator stops at the tier sort and puts the cut list to the operator rather than choosing for them (style.md § When the journal is off).paper-cite produces the bibliography entries; project-provenance stamps the "Provenance" key when its toggle is on; paper-lean can pick up the statements, but only when the operator asks for a formalisation.notebook-create (or project-tour).paper-journal..nb and the drift is unresolved — the build stays stopped until they decide.What SKILL.md sets; muted values are Claude Code's defaults
computational-research@WolframInstitute is listed by wolframinstitute/claudepluginmarketplace — review the source before installing
npx claudepluginhub wolframinstitute/claudepluginmarketplace --plugin computational-research30 skills in this plugin
/backlog-addCreate and manage work items in the top-level Work/ folder — each a multi-session effort with a Spec (what to build), a Tasks checklist (one task ≈ one session), and a Progress log. This is the project's execution state, separate from the Wiki knowledge base. Use for: "new work item", "start a work item", "spec out X", "plan for X", "break X into tasks", "track this across sessions", "add a task", "update the spec", or the /backlog-add command. Creates Work/Backlog/<Name>.md, bootstrapping the folder if missing. A work item's status is its folder (Backlog/Ready/Active/UnderReview/Done/Dropped), not a field. Specs follow the document-revise protocol; shaping one together with the user over a long sitting is the backlog-refine skill. Do NOT trigger on casual uses of the word "work".
/backlog-autolabWork the Work/ backlog autonomously from an ordinary chat, where the operator can watch it: this chat becomes the orchestrator and dispatches one background subagent per task, each a cold backlog-run run in the item's own git worktree on work/<Item>, visible live in the Agent map and steerable by message. Settles permissions in one preflight before the operator leaves, queues several eligible items, verifies every task the way backlog-run-scheduled does, halts only the item that fails, and ends with a digest per item. Use when the user says "autolab", "run the backlog", "let the agents work the backlog", "work these items autonomously here", "work the queue while I'm away", or runs /backlog-autolab.
Other plugins' skills for the same job