/computational-research:paper-journal runs instead · from computational-research
Maintains a running scientific journal in LaTeX or Typst — an append-only stream of dated definitions, theorems, remarks, and claims with citations. Records what was learned and when, including hedged claims, heuristics, and failed attempts that don't belong in the final paper.
This skill never runs in Claude Code
It ships in computational-research at skills/, but /computational-research:paper-journal (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
A running LaTeX or Typst document the LLM maintains: one file (Journal/journal.tex or Journal/journal.typ), newest entries first, each a dated section holding concise definition / theorem / remark / claim environments with citations.
LaTeX (default) or Typst — the format is fixed once Journal/ is scaffolded.
Optional — nothing here runs unless the project toggle is on.
/paper-journal.Wiki/Definitions, Wiki/Theorems | Journal/journal.tex | |
|---|---|---|
| Shape | Encyclopedia | Lab journal |
| Trigger | On durable change | Toggle-gated, auto when on |
| Unit | One article per concept, deduplicated | One dated entry per checkpoint, append-only |
| On change | Overwrite to stay current | Append a new dated entry; never reorder |
| Format | Markdown prose + Status: | LaTeX/Typst def/thm/rem/claim + \cite |
The Wiki answers "what do we know?" and is overwritten to stay current; the journal answers "what did we learn, when, and from where?" and is appended to, never rewritten. Record the event of learning (with citation) in the journal; record the settled fact in the Wiki. Do not copy Wiki prose verbatim.
A paper carries only settled statements (style.md § The four tiers). The journal is where the rest lands, and that makes it part of the paper workflow rather than an optional extra:
| Material | Home |
|---|---|
| proved in full, or cited to a source that was read | the paper |
| numbers over a family — enumeration ranges, sweeps, distributions, timings | the paper's Ruliology section |
| verified computationally but unproved; "up to $n = 8$" | the journal, as claim |
| heuristics, alternate proofs, failed attempts, dead ends | the journal |
a named theorem cited but not yet verified — an unresolved [lookup] | the journal, until resolved |
Cutting is a transfer, never a deletion. Every entry that came out of a paper opens with one line saying why it is here and not there (§ add).
The journal is opt-in per project, declared in the project's CLAUDE.md:
## Scientific journal
Scientific journal: **off**
<!-- When on, the LLM keeps a running LaTeX/Typst journal in Journal/ — a concise,
structured, append-only stream of dated def/thm/rem/claim entries recording the
math/physics content and main claims established, with resources cited into
Journal/references.bib. Plain "on" = very concise; "on (verbose)" = fuller
detail. Toggle with /paper-journal; see the `paper-journal` skill. -->
Before recording anything, check the toggle:
grep -qiE 'scientific journal:[[:space:]]*\*{0,2}on' CLAUDE.md && echo on || echo off
(A second grep -qi 'verbose' on that line distinguishes on from on (verbose).)
Journal/, never append.
Stay silent — do not nag the user to turn it on.
The one place the toggle may be raised while off is not this skill's doing: a paper or notebook that has material below the settled tier has nowhere honest to put it, so its generator stops and offers turning the journal on as one of three rulings (style.md § When the journal is off).
That is the generator reporting homeless material, not the journal advertising itself, and it fires only when something is actually being cut.The journal is a record, not a deliverable — exempt from the document-revise loop (like wiki prose and the prompt ledger).
Edit journal.tex / macros.sty freely.
Check the toggle first; when off, only scaffold and Turning it on / off apply.
Then dispatch on the request — each subcommand is a subsection below: scaffold (create Journal/), add (append a dated entry), list (show the index).
Create Journal/ if it does not exist:
"${CLAUDE_PLUGIN_ROOT}/scripts/scaffold-journal.sh" [--typst] "<ProjectDir>" "<Title>" "<Author>"
LaTeX creates Journal/{journal.tex, macros.sty, references.bib, entries/, figures/, .latexmkrc}; Typst creates Journal/{journal.typ, macros.typ, references.bib, entries/, figures/}.
The master file (journal.tex / journal.typ) holds the preamble and the bibliography; each day's entries live in their own file under entries/ (entries/YYYY-MM-DD.tex or .typ), pulled into the master with a plain \input / #include — no subfiles package.
The master carries an end-marker where those include lines go, newest first:
% === day-files below — newest first; LLM adds \input{entries/YYYY-MM-DD} lines here ===// === day-files below — newest first; LLM adds #include "entries/YYYY-MM-DD.typ" lines here ===Scaffold lazily — Journal/ is never pre-created by project-create; create it (default LaTeX) the first time the toggle goes on or the first add.
If Journal/ is tracked (not gitignored), add the same build-artifact patterns as paper-create, scoped to Journal/.
One file per day.
Distill the conversation into concise def/thm/rem/claim environments — not prose paragraphs.
Capture every definition, theorem, and main claim (math and physics; use claim for assertions that are not formal theorems), and cite every resource used.
Journal/entries/YYYY-MM-DD.tex (or .typ).\input{entries/YYYY-MM-DD} (LaTeX) or #include "entries/YYYY-MM-DD.typ" (Typst).Never reorder the include lines and never rewrite a past day-file.
LaTeX day-file (entries/2026-06-02.tex) — a bare fragment, no preamble; the master's \usepackage{macros} supplies the environments:
\section{2026-06-02 — Ollivier–Ricci curvature on graphs}
\begin{definition}[Ollivier–Ricci curvature]
$\kappa(x,y)=1-W_1(\mu_x,\mu_y)$, with $\mu_x$ uniform on the 1-ball at $x$.
\end{definition}
\begin{theorem}[Lin–Lu–Yau]
The limit $\kappa_{LLY}(x,y)$ exists for all edges. \cite{LinLuYau2011}
\end{theorem}
\begin{claim}
On expander families the curvature is bounded below by a positive constant
(heuristic, unproved).
\end{claim}
\begin{remark}
Matches \texttt{Code/Curvature.wl} on $C_n$ to machine precision.
\end{remark}
Typst day-file (entries/2026-06-02.typ) — opens with the macros import (an included file needs it in scope); #cite resolves against the master's #bibliography:
#import "../macros.typ": *
== 2026-06-02 — Ollivier–Ricci curvature on graphs
#definition[*Ollivier–Ricci curvature.* $kappa(x,y) = 1 - W_1(mu_x, mu_y)$, with $mu_x$ uniform on the 1-ball at $x$.]
#theorem[*Lin–Lu–Yau.* The limit $kappa_("LLY")(x,y)$ exists for all edges. #cite(<LinLuYau2011>)]
#claim[On expander families the curvature is bounded below by a positive constant (heuristic, unproved).]
#remark[Matches `Code/Curvature.wl` on $C_n$ to machine precision.]
If Journal/ does not exist yet, scaffold it first (default LaTeX).
An entry that exists because a paper could not carry it opens with one line naming the reason, as a source comment, so a later reader knows it was a tier decision and not a stray note:
% Cut from Research/main.tex 2026-08-18: verified, not proved.
\begin{claim}
Every connected graph $G$ with $|V(G)| \le 8$ satisfies $\kappa(G) \ge -1$.
Verified by enumeration; no proof.
\end{claim}
Typst uses // for the same line.
Three reasons cover nearly everything: verified, not proved; heuristic; [lookup] unresolved.
An unresolved [lookup] records what was searched and where, so the next session resumes the search instead of repeating it.
The journal owns Journal/references.bib.
To cite a resource, generate a BibTeX entry, append it there, then reference it with \cite{key} (LaTeX) or #cite(<key>) (Typst).
Generate the entry with paper-cite / cite_from_id.wls, which spawns a wolframscript kernel — license-aware per the authoritative policy in CLAUDE.md § Wolfram Kernel Execution Policy; with no free seat, run the same Import[...] through mcp__Wolfram__WolframLanguageEvaluator instead.
grep the key in references.bib first to avoid duplicates.
List the entries/ day-files (equivalently, the \input / #include lines in the master), most recent first, so the user sees what the journal contains.
When the user asks to enable the journal:
Scientific journal: **on** (or **on (verbose)**) in the project's CLAUDE.md (add the ## Scientific journal section if absent).Journal/ (default LaTeX, or --typst if asked) if it does not exist.To disable, set Scientific journal: **off**.
Leave existing entries in place — they are part of the git history.
When the toggle is on, these skills append to the journal in this format:
Journal/ alongside the deduplicated Wiki article.Journal/references.bib when a Journal/ exists.This skill is the single source of truth for the format — the others reference it.
document-revise loop.
Mention in passing; do not present entries for sign-off.on (verbose) or on explicit request.claim for non-theorem assertions.macros.sty / macros.typ; extend them freely.entries/; never reorder the include lines and never rewrite a past day-file.Journal/figures/.Semantic line breaks toggle in CLAUDE.md § Source formatting (source-only; the typeset output is unchanged).wiki-update), not a journal entry.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.
/backlog-boardPublish and sync the work board — a private claude.ai page, readable on a phone, that shows every Work/ item under a root (one repo or a folder of repos): what needs the user, what is under review, active, ready and in the backlog, each item rendered and clickable. On the page the user edits the human sections, approves moves (Backlog → Ready, Accept, Send back), leaves notes, files new items and asks Claude about an item; those changes wait on the page until a session syncs them into the files. Use for: "sync the board", "refresh the board", "publish the board", "set up a board", or the /backlog-board command. Never on a timer — a sync is always the user's request.
/backlog-infoGo through the whole Work/ backlog with the user: read every item in Backlog/, Ready/ and UnderReview/ and every work/<Item> branch, and report what waits on the user (a review, a halted run's question, a Waiting-on line, queued board changes), what is stale (no Progress for a month, or a premise the code no longer has), which items overlap, and what to refine, merge, split or drop next. Changes nothing until the user says so; then each move is a git mv and an index update. Never moves an item to Ready and never syncs the board. Use for: "go through the backlog", "backlog info", "what's in the backlog", "what waits on me", "clean up the backlog", "what next", or the /backlog-info command. Not for shaping one item (backlog-refine) or reviewing a finished one (backlog-review).
/backlog-refineShape a Work/Backlog item together with the user over a long sitting until it is ready to be worked — the user writes the human parts (Summary, Motivation, Acceptance criteria, any detail they care about) in their editor, while the LLM researches the code and wiki, writes the Technical details, keeps a list of open questions, and proposes the tasks and their routing. Ends with a readiness check and, on the user's word, the move to Work/Ready/ where /backlog-run-scheduled may pick it up. Use for: "refine X", "let's work on the backlog", "shape this item", "backlog refinement", "get X ready", or the /backlog-refine command. Not for executing tasks (backlog-run) or filing a quick new item (backlog-add).
/backlog-reviewReview a finished Work/ item with the user: find it in Work/UnderReview/ or on its unmerged work/<Item> branch, show the run digest, walk the Acceptance criteria one by one with the test instructions of the tasks that serve each, run the checks that can be run, and end on the user's verdict — accept (merge the branch, item to Done/) or send back (merge the branch, a new task from the user's words, item to Active/). Nothing is fixed during the review. Use for: "review X", "review the item", "check the finished item", "accept X", "send X back", "merge the item branch", or the /backlog-review command. Not for running tasks (backlog-run) or going through the whole backlog (backlog-info).
Other plugins' skills for the same job