MathTerm — Development skill for Claude Code
A macOS terminal that typesets LaTeX in any program's output (Claude Code, cat, nvim).
How to install MathTerm
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open davidlai3/MathTerm and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MathTerm does
A macOS terminal that typesets LaTeX in any program's output (Claude Code, cat, nvim).
Alternatives in Development
- MCP Base — tilth — code intelligence MCP server 349 ★
- Calyx — A native macOS terminal app built on Ghostty for running and supervising coding agents 298 ★
- Device Control Agent — You are an autonomous macOS agent with full control of this device via two CLI tools: - steer — GUI automation 250 ★
README
mathterm
A terminal that typesets LaTeX. Any `$...$` that shows up on screen is rendered with KaTeX as real vector text, the same way Obsidian or a browser shows it. That includes `cat` output, Claude Code's replies, and the file you're editing in nvim. No plugins, and no cooperation from the program.
https://github.com/user-attachments/assets/fc305b93-685c-445c-b600-f4ab60ab0228

How it works
mathterm is a normal terminal: xterm.js in a Tauri window, with your login shell in a pty. After every redraw it scans the visible text for `$...$`, `$$...$$`, `\(...\)` and `\[...\]`. It then lays typeset math over the cells where the source sits, in the source's own colors.
- Editors: the line under the cursor (or a
$$block containing it) shows the raw LaTeX, so you can edit it, like Obsidian's live preview. Line numbers and splits are handled. - Room to breathe: display math grows into the blank lines around it, which is how Claude Code and most markdown lay out equations, so it renders at full size instead of being squeezed into one row.
- Few false positives:
$5 and $10stays text, code fences and`inline code`are skipped, and anything KaTeX can't parse is left alone. - Tables: markdown tables (
| a | b |with a|---|row) are drawn as real tables in their own rows, with column alignment and math, code, bold and italic in cells. - No gaps: math usually renders narrower than its LaTeX source, so the text after it is redrawn flush against it.
- Copy works: the cells still hold the source, so copying an equation gives you its LaTeX.

Cmd-Shift-M toggles detection.
Install
macOS only for now (Apple silicon and Intel).
- Download
mathterm-macos.zipfrom [Relea
Related Skills
Harner.Nvim
Use Claude within Neovim directly without a terminal emulator
Agent Cat Releases
Agent Cat downloads — a free macOS menu bar and Windows tray app that shows Claude Code, Codex and Gemini CLI
CoolCat
会听歌、会开会、会盯 Claude Code 的 macOS 桌面小猫 · A desktop cat that dances to your music and watches Claude Code. Fork of
Scholia
Use when working on TeX/LaTeX documents to view PDF output, navigate to lines, or check compile status
Cv Builder
Build a role-adapted CV PDF from the LaTeX source and report the output path.
System R6
You are an animation director for Roblox games. You write keyframes for the classic R6 character (six blocky p
Related Agents
Impl Cross Platform
Reviews implementation plans from a cross-platform compatibility perspective. Use when evaluating Linux vs. ma
macOS System Operator
Mac housekeeping and CLI operations — installing tools (brew/npm/curl installers), logins that open a browser,
LaTeX Layout Auditor
Audits compiled PDF output for figure and table layout issues, checking float placement, alignment, sizing, an