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

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.

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

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00080 $0.00437
Opus 5 $0.00040 $0.00218
Sonnet 5 $0.00016 $0.00087
Haiku 4.5 $0.00008 $0.00044

Measured 3d ago against content hash 1a3798da58a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (2 stars, last pushed 19d ago), licensed MIT. It adds 80 tokens to every session and 437 once invoked, about $0.0004 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

gsap-plugins

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG…

calesthio/OpenMontage · 91 tokens

manim-composer

Trigger when: (1) User wants to create an educational/explainer video, (2) User has a vague concept they want visualized, (3) User mentions "3b1b style" or "explain like 3Blue1Brown", (4) User wants to plan a Manim video or animation sequence, (5) User asks to "compose" or "plan" a math/science visualization.…

calesthio/OpenMontage · 174 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the brand-color canvas, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed at…

gooseworks-ai/goose-skills · 159 tokens

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

thesis-control

Use when AI-assisted thesis edits risk claim drift, scope creep, loss of author control, or repeated revisions that fail to converge; provides spine cards, edit contracts, drift audits, revision escalation, and human gates.

yha9806/academic-writing-toolkit · 47 tokens

manuscript-reframe

Reframe academic manuscript drafts that read like engineering reports, module inventories, internal validation packets, or system notes into paper-form scientific arguments with clear gap, contribution chain, results narrative, figure/table roles, AI-assisted component boundaries, and submission-readiness blockers.

yha9806/academic-writing-toolkit · 57 tokens