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.
npx skills add VeryMath/AI4Math-Writing --skill formula-environment-and-readabilitygit clone --depth 1 https://github.com/VeryMath/AI4Math-WritingWrote 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.
[](https://agentmods.dev/skills/verymath/ai4math-writing/formula-environment-and-readability)<a href="https://agentmods.dev/skills/verymath/ai4math-writing/formula-environment-and-readability"><img src="https://agentmods.dev/badge/skills/verymath/ai4math-writing/formula-environment-and-readability/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/verymath/ai4math-writing/formula-environment-and-readability"><img src="https://agentmods.dev/badge/skills/verymath/ai4math-writing/formula-environment-and-readability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00319 |
| Opus 5 | $0.00020 | $0.00160 |
| Sonnet 5 | $0.00008 | $0.00064 |
| Haiku 4.5 | $0.00004 | $0.00032 |
Grade A, and why
formula-environment-and-readability 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 9d 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.
What it actually says
Formula Environment And Readability
Improve displayed mathematics so formulas communicate the argument. Environment choice is part of exposition: it should reveal structure without changing meaning.
Inputs
- TeX or draft text containing formulas, theorem statements, proofs, algorithms, or derivations.
- Optional venue class constraints and style preferences.
Output Contract
Return:
- Formula findings: location, issue, proposed environment or rewrite, and meaning-risk level.
- Revised snippets for high-value displays.
- Notes where a formula requires a correctness or notation audit before rewrite.
Workflow
- Identify long, dense, or ambiguous displayed formulas.
- Check whether the surrounding prose states what the formula does.
- Choose environments by role:
equationfor a single object,alignfor aligned derivations,splitfor one numbered multi-line equation,multlinefor long expressions, andcasesfor piecewise definitions. - Remove brittle manual spacing and avoid
eqnarrayand raw$$. - Preserve labels, numbering intent, punctuation, and mathematical meaning.
Review Rules
- Do not make formulas shorter by deleting assumptions, quantifiers, or terms.
- Flag a displayed formula when the prose and formula disagree.
- Prefer readability over clever compression in proof-critical derivations.
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.
- 9d ago First seen · 42 lines · 41 tokens per session scan A a72ce0f3e185
formula-environment-and-readability is a skill published in the GitHub repository VeryMath/AI4Math-Writing (6 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 319 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.
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…
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…
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…
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.
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…
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…