By borisbolliet
Scientific paper writing in LaTeX (MNRAS, A&A, ApJ, JCAP). Scaffolds repos with the right class file + Makefile + bibtex layout, populates references via valency-mcp, builds + reports errors, bundles a knowledge skill with style rules and recipes learned from real submissions.
Build the current paper repo's PDF via latexmk, surface only the errors that matter (undefined citations, missing figures, TikZ key clashes, bibtex problems), and report the page count + size. Optionally render selected pages to PNG for visual review.
Scientific-paper writing knowledge (MNRAS, A&A, ApJ, JCAP). Covers LaTeX class setup, bibtex via valency-mcp, figure pipelines (matplotlib + TikZ), the Makefile/latexmk build, citation style, common pitfalls (abstract citations, TikZ key clashes, matplotlib without usetex, bibtex requirements), and the recipe to scaffold a new paper repo end-to-end. Auto-loads when the conversation is about writing a paper, formatting LaTeX, building a manuscript PDF, drafting an abstract, or working with references.bib.
Populate references.bib with bibtex entries for a list of topics or arxiv IDs, using the valency-mcp tools (search_by_title, search_by_author, get_paper_by_id, export_papers_bibtex). Falls back to hand-written @misc entries for papers not on arxiv (JMLR, software releases, books, IAU symposia).
Scaffold a new scientific-paper repository: paper.tex skeleton, journal class file (MNRAS / A&A / ApJ), Makefile, .gitignore, README, LICENSE, empty references.bib, figures/ + scripts/ directories, and placeholder figure PNGs so the document compiles immediately.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Specialised Claude Code assistance for writing scientific papers in LaTeX (MNRAS, A&A, ApJ, JCAP, PRD). Captures the recipes and pitfalls learned writing real submissions.
/paper:explain — always-on knowledge skill. Auto-loads when the
conversation is about writing a paper. Covers project layout,
citation style, figure pipelines (matplotlib + native TikZ),
bibtex, the Makefile/latexmk build, and common pitfalls (abstract
citations, TikZ key clashes, matplotlib \textbf without usetex,
bibtex @article needing journal=).
/paper:scaffold <path> [--journal=mnras|aa|apj] — bootstrap a
new paper repo with the recommended layout: class file vendored
from CTAN, paper.tex skeleton, Makefile, placeholder figures so
the document compiles immediately, README, LICENSE, .gitignore.
/paper:refs <topic1> <topic2> ... | <arxiv_id> ... — populates
references.bib via the valency-mcp
server (arxiv + CrossRef-backed search + bibtex export). Handles
rename to short cite keys, fixes common bibtex issues
(@article without journal=, HTML tags in titles, etc.).
/paper:build [--pages=N-M] [--clean] — runs latexmk,
surfaces only the errors that matter, reports PDF page count
and undefined-reference count. Can render specific pages to
PNG for visual review.
paper-writer subagent — specialist for end-to-end paper
writing tasks. Use for heavy multi-step work where draft +
figure-generation + build-iteration output would otherwise
flood the main thread.
This plugin pairs naturally with
valency-mcp (for
references) and your favourite plotting/code plugin.
In any Claude Code session, run these three commands:
/plugin marketplace add https://github.com/borisbolliet/paper-claude-plugin.git
/plugin install paper@paper-claude-plugin
/reload-plugins
After /reload-plugins, /paper:explain, /paper:scaffold,
/paper:refs, /paper:build show in /help and the
paper-writer subagent appears in the Agent picker.
To update later (after I push a new commit):
/plugin uninstall paper@paper-claude-plugin
/plugin marketplace remove paper-claude-plugin
/plugin marketplace add https://github.com/borisbolliet/paper-claude-plugin.git
/plugin install paper@paper-claude-plugin
/reload-plugins
latexmk, pdflatex, bibtex, pdfinfo, pdftoppm,
pdftotext should be on $PATH.matplotlib.valency-mcp connected (for /paper:refs)./paper:scaffold ~/GitHub/my-paper --journal=mnras --title="My great paper"
/paper:refs CosmoPower Tinker mass function FFTLog Hamilton no-U-turn sampler
/paper:build --pages=1-3
.claude-plugin/marketplace.json # single-plugin marketplace
plugins/paper/
.claude-plugin/plugin.json # plugin manifest
skills/
explain/SKILL.md # always-on knowledge
explain/reference.md # loaded on demand
scaffold/SKILL.md # /paper:scaffold
refs/SKILL.md # /paper:refs
build/SKILL.md # /paper:build
agents/
paper-writer.md # subagent
MIT
npx claudepluginhub borisbolliet/paper-claude-plugin --plugin paperSpecialized Claude assistance for classy_szlite — a pure-JAX cosmology code that covers CMB Cls, matter Pk (linear and nonlinear), distances, derived parameters, and the halo-model tSZ Cl^yy bandpower likelihood. Backed by the v2 CosmoPower emulators used in the ACT DR6 extended-cosmology analyses. Pipelines, gradient probes, NUTS/HMC sampling, and cobaya bandpower likelihood scaffolding.
Cobaya cosmological Bayesian-analysis framework assistant: scaffolding YAML inputs, theory/likelihood wiring (CAMB, CLASS, classy_szlite), MPI MCMC runs, getdist post-processing, debugging convergence (Rminus1) and acceptance issues.
classy_szlite assistant: pure-JAX cosmology (CMB Cls, Pk, distances, derived params, halo-model tSZ Cl^yy) backed by v2 CosmoPower emulators. Pipelines, gradient probes, NUTS / SBI / Fisher recipes, cobaya bandpower likelihood scaffolding.
Google Cloud TPU v6e / v5e helper: create + bootstrap + connect + delete VMs via gcloud. Encodes the recipes and pitfalls from the tpu-2026 workspace (uv-not-PPA python3.12, libtpu for jax, flax install order, IAP-tunnelled SSH, Cloud NAT).
Specialized Claude assistance for the Cobaya cosmological Bayesian analysis framework.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications