formula-healer

formula-healer is a skill for Claude Code, Codex from Jacobinwwey/notemdpro. It costs 15 tokens per session (562 once invoked), scanned A, original, MIT.

A repair tool for LaTeX formulas, which is a text format used to write mathematical notation in Markdown files.

In plain words
What is it for?
It converts matching single-dollar formula blocks to double-dollar display blocks and can process individual files or folders.
Why use it?
It fixes incorrect formula delimiters that can make mathematical content render in the wrong style.

Skill for Claude CodeCodex

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

Good fit It converts matching single-dollar formula blocks to double-dollar display blocks and can process individual files or folders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jacobinwwey/notemdpro/formula-healer
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 Jacobinwwey/notemdpro --skill formula-healer
Clone the repo
git clone --depth 1 https://github.com/Jacobinwwey/notemdpro

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 formula-healer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/formula-healer"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/formula-healer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 562 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.00015 $0.00562
Opus 5.5 $0.00006 $0.00225
Sonnet 5.5 $0.00003 $0.00112
Haiku 4.5 $0.00002 $0.00056

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

Security

Grade A, and why

formula-healer 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (formulaFixer.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/formula-healer/SKILL.md · 27 lines

What it actually says

Formula healer

English

Use the bundled formulaFixer.ts from a complete repository checkout after npm ci. Installing this skill alone installs instructions; it does not install the repository's shared TypeScript runtime.

  • fixFormulaFormats(content) returns a string. It promotes paired standalone $ lines to $$ outside frontmatter and fenced code. Existing display math, inline math, escaped currency and unmatched delimiters remain unchanged.
  • fixFormulaFormatsInFile(filePath, reporter?) returns whether the file changed. It accepts a regular filesystem path, not an Obsidian App/TFile pair. File failures propagate; unchanged files are not written.
  • batchFixFormulaFormatsInFolder(folderPath, reporter?) visits Markdown/text files recursively and returns modifiedCount, processedCount, cancelled, and per-file errors. It does not follow symbolic links. The optional reporter exposes log, updateStatus, and a readable cancelled property.

Confirm the authorized files, read them, apply the helper, review the diff and report every failure. Preserve BOM and line endings. Never interpret a cancelled batch as completed. Validate with npm test and npm run typecheck; tests use isolated temporary files.

中文

在完整仓库中运行 npm ci 后使用随附的 formulaFixer.ts。单独安装此技能只安装操作说明,不会安装仓库共享的 TypeScript 运行代码。

  • fixFormulaFormats(content) 返回字符串。仅将 frontmatter 和围栏代码之外成对的独立 $ 行改为 $$,保留既有显示公式、行内公式、转义金额及未配对分隔符。
  • fixFormulaFormatsInFile(filePath, reporter?) 返回文件是否改变。参数为普通文件路径,不再使用 Obsidian App/TFile。文件错误继续抛出;内容不变时不写入。
  • batchFixFormulaFormatsInFolder(folderPath, reporter?) 递归处理 Markdown/文本文件,返回 modifiedCount、processedCount、cancelled 和逐文件 errors,不跟随符号链接。可选 reporter 提供 log、updateStatus 和可读取的 cancelled 属性。

确认已获授权的文件,读取并应用工具,审阅差异,报告每项失败。保留 BOM 与换行格式,不把已取消批次报告为完成。运行 npm test 和 npm run typecheck;测试使用隔离的临时文件。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · -142 lines · -18 tokens per session 3cb49cefb553
  2. 3mo ago First seen · 169 lines · 33 tokens per session scan A 4cb31bd64826

Subscribe to this mod's changes

formula-healer is a skill published in the GitHub repository Jacobinwwey/notemdpro (2 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 562 once invoked, about $0.0001 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

formula-healer compared with skills from other repositories

formula-healer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
formula-healerJacobinwwey/notemdproSkill22mo agoMITA15Claude Code, Codex
parallel-feature-developmentwshobson/agentsSkill43k3d agoMITA105Claude Code
nft-standardswshobson/agentsSkill43k3d agoMITA48Claude Code
cost-optimizationwshobson/agentsSkill43k3d agoMITA48Claude Code
istio-traffic-managementwshobson/agentsSkill43k3d agoMITA40Claude Code
linkerd-patternswshobson/agentsSkill43k3d agoMITA41Claude Code
postgresql-table-designwshobson/agentsSkill43k3d agoMITA37Claude Code