paper-writing

paper-writing is a skill for Claude Code, Codex from VeryMath/AI4Math-Writing. It costs 40 tokens per session (1,032 once invoked), scanned A, original, MIT.

A writing and review method for mathematical papers. It helps turn verified source material—such as proof notes, experiment records, or reviewer comments—into clear paper sections.

In plain words
What is it for?
Drafting or revising abstracts, introductions, related work, theorem explanations, experiment descriptions, conclusions, and responses to reviewers.
Why use it?
It reduces the risk of inventing results, citations, or theorems and helps identify unclear assumptions and overstated contributions. It requires source material for evidence-based writing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Drafting or revising abstracts, introductions, related work, theorem explanations, experiment descriptions, conclusions, and responses to reviewers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verymath/ai4math-writing/paper-writing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VeryMath/AI4Math-Writing --skill paper-writing
Clone the repo
git clone --depth 1 https://github.com/VeryMath/AI4Math-Writing

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/verymath/ai4math-writing/paper-writing.svg)](https://agentmods.dev/skills/verymath/ai4math-writing/paper-writing)
Your own site
<a href="https://agentmods.dev/skills/verymath/ai4math-writing/paper-writing"><img src="https://agentmods.dev/badge/skills/verymath/ai4math-writing/paper-writing.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01032
Opus 5 $0.00020 $0.00516
Sonnet 5 $0.00008 $0.00206
Haiku 4.5 $0.00004 $0.00103

Measured 8d ago against content hash 08a4b0d688e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

paper-writing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paper-writing/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Paper Writing

Use this skill to help write mathematical papers from verified sources, notes, proof artifacts, experiment logs, or reviewer feedback. The workflow is for paper writing; unsupported-claim control is a required review step, not a separate public skill.

Use When

Use this skill when the user wants to:

  • draft or revise a mathematical paper section;
  • turn proof notes, experiment logs, or reading notes into paper text;
  • prepare related work, positioning, abstracts, introductions, or conclusions;
  • respond to reviewer comments with evidence-backed changes;
  • audit a draft for unsupported claims, missing citations, unclear assumptions, or overstated contributions.

Do not use this skill to invent theorems, experiments, citations, author claims, or results that are not supported by the provided evidence.

Inputs

  • Required: writing goal, target section or deliverable, and source materials.
  • Optional: target venue, audience, style constraints, citation policy, reviewer comments, theorem/proof files, experiment logs, figures, or bibliography.

If source materials are missing, stop and ask for them or produce only an explicit outline of needed evidence. For recurring work, start from templates/source-packet.md.

Outputs

  • Draft or revised paper text.
  • Claim-evidence notes for substantive mathematical, empirical, or literature claims.
  • A list of unsupported, uncertain, or citation-needed statements.
  • Suggested next edits and required source checks.

Subskill Routing

Read skills/registry.yaml when the task needs a specialized audit.

Need Subskill
Build a rapid paper skeleton, section plan, or result dependency map before prose paper-skeleton-and-logical-architecture
Map claims to proofs, citations, experiments, or uncertainty claim-evidence-ledger
Audit theorem assumptions, proof obligations, edge cases, or external theorem fit proof-obligation-and-assumption-audit
Check notation drift, variable reuse, symbol scope, domains, or dimensions notation-and-variable-consistency
Improve displayed formulas, derivations, theorem/proof environments, and formula prose formula-environment-and-readability
Check LaTeX builds, labels, references, citations, macros, floats, layout warnings, and submission preflight risks latex-build-and-layout-audit

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 106 lines · 40 tokens per session scan A 08a4b0d688e1

Subscribe to this mod's changes

paper-writing is a skill published in the GitHub repository VeryMath/AI4Math-Writing (6 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 1,032 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

or-solver

Unified solver detection, installation, selection, and license configuration for OR optimization skills (LP, MIP, SOCP). One-stop solver management: detect installed packages, install missing solvers with proper priority, select the best available solver by problem type, and troubleshoot common errors. Covers 20…

VeryMath/AI4Math-Optimization · 145 tokens

cdopt-optimization

Use when Codex needs to solve, reproduce, test, compare, generate examples for, or diagnose CDOpt manifold optimization workflows, including CDOpt package smoke tests, official problem description cards, Stiefel dictionary learning, SciPy wrappers, PyTorch/JAX/NumPy CDOpt examples, dependency checks, tiny CPU…

VeryMath/AI4Math-Optimization · 80 tokens

linear-programming

Models and solves linear programs (LP) with multiple solvers (COPT, Gurobi, MOSEK, CPLEX, HiGHS (scipy/highspy), CLARABEL, PuLP/CBC, CVXOPT, OR-Tools/GLOP, GLPK, SoPlex, lpsolve, ECOS). Restates natural-language word problems into LP before building and solving. When no local solver is available, searches GitHub for…

VeryMath/AI4Math-Optimization · 149 tokens

copt-linear-program

A tool for turning linear programming problems into mathematical models and solving them with Cardinal Optimizer, a software package for optimization. It can start from a word problem or from supplied matrices and JSON data.

VeryMath/AI4Math-Optimization · 90 tokens

osqp-solver

Model, solve, update, reproduce, and diagnose continuous convex quadratic programs with the OSQP Python interface, including canonical-form conversion, sparse CSC data, solver-status gates, residual checks, infeasibility certificates, warm starts, repeated parametric QPs, and academic citation. Use when a task names…

VeryMath/AI4Math-Optimization · 131 tokens

second-order-cone-programming

Models and solves second-order cone programs and problems convertible to SOCP form using cvxpy with multiple solver backends (COPT, Gurobi, MOSEK, CPLEX, CLARABEL, ECOS, SCS, CVXOPT, COSMO, OSQP). Handles linear objectives with second-order cone constraints, as well as problems reducible to SOCP such as portfolio…

VeryMath/AI4Math-Optimization · 114 tokens