show-math

show-math is a skill for Claude Code, Codex from iCodeCraft/mathshow. It costs 80 tokens per session (437 once invoked), scanned A, original, MIT.

A command-line tool that turns LaTeX—the text format commonly used for mathematical formulas—into a visible math preview. It supports formulas, equations, integrals, sums, matrices, and Markdown containing math.

In plain words
What is it for?
Use it when writing or explaining formulas, checking a derivation, or displaying mathematical notation from a Markdown file.
Why use it?
Terminal conversations often show raw LaTeX instead of formatted mathematics. This lets users inspect what the formula actually looks like.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node bin/mathshow.js -- '<latex>'.

Good fit Use it when writing or explaining formulas, checking a derivation, or displaying mathematical notation from a Markdown file.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/iCodeCraft/mathshow
agentmods
npx agentmods add skills/icodecraft/mathshow/show-math

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 show-math

README.md
[![agentmods](https://agentmods.dev/badge/skills/icodecraft/mathshow/show-math/github.svg)](https://agentmods.dev/skills/icodecraft/mathshow/show-math)
Your own site
<a href="https://agentmods.dev/skills/icodecraft/mathshow/show-math"><img src="https://agentmods.dev/badge/skills/icodecraft/mathshow/show-math/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.

agentmods 80×15 button for show-math

Your own site · 80×15
<a href="https://agentmods.dev/skills/icodecraft/mathshow/show-math"><img src="https://agentmods.dev/badge/skills/icodecraft/mathshow/show-math.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 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.00080 $0.00437
Opus 5.5 $0.00032 $0.00175
Sonnet 5.5 $0.00016 $0.00087
Haiku 4.5 $0.00008 $0.00044

Measured 1mo ago against content hash 1a3798da58a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

show-math 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 1mo 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/show-math/SKILL.md · 54 lines

What it actually says

Show math

CLI transcripts cannot render LaTeX. When the user should see a formula, run mathshow. Do not wrap the agent. Do not generate an image of the formula.

Command

Prefer npx so no global install is required:

npx --yes mathshow -- '<latex>'

If mathshow is already on PATH:

mathshow -- '<latex>'

From this repo while developing:

node bin/mathshow.js -- '<latex>'
Input Example
One formula npx --yes mathshow -- 'E = mc^2'
Several npx --yes mathshow -- 'E = mc^2' 'F = ma'
Markdown with $ / $$ / \[...\] npx --yes mathshow notes.md

--no-open only in CI. Default must open the KaTeX browser preview.

Rules

  • MUST run mathshow when the reply contains math the user needs to see
  • MUST pass real TeX (\int, \frac, \sum), not Unicode approximations as the source
  • NEVER skip the preview because the transcript already shows $...$
  • NEVER use image-generation tools to draw equations
  • NEVER paste a screenshot instead of TeX
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. 1mo ago First seen · 54 lines · 80 tokens per session scan A 1a3798da58a7

Subscribe to this mod's changes

show-math is a skill published in the GitHub repository iCodeCraft/mathshow (3 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 437 once invoked, about $0.0003 per session on Opus 5.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

hypothesis-testing

Applies the scientific method to debugging by helping users form specific, testable hypotheses, design targeted experiments, and systematically confirm or reject theories to find root causes. Use when a user says their code isn't working, they're getting an error, something broke, they want to troubleshoot a bug, or…

rohitg00/skillkit · 103 tokens

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

glycoengineering

Analyze and engineer protein glycosylation. Scan sequences for N-glycosylation sequons (N-X-S/T), predict O-glycosylation hotspots, and access curated glycoengineering tools (NetOGlyc, GlycoShield, GlycoWorkbench). For glycoprotein engineering, therapeutic antibody optimization, and vaccine design.

synthetic-sciences/openscience · 75 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens

pysam

Genomic file toolkit. Read/write SAM/BAM/CRAM alignments, VCF/BCF variants, FASTA/FASTQ sequences, extract regions, calculate coverage, for NGS data processing pipelines.

synthetic-sciences/openscience · 47 tokens