latex-formula-extraction

latex-formula-extraction is a skill for Claude Code, Codex from EtaYang10th/spark-skills. It costs 0 tokens per session (6,578 once invoked), scanned A, original, no licence file.

A workflow for extracting standalone display-mode LaTeX formulas from a research-paper PDF. LaTeX is text used to write mathematical formulas, and the workflow also checks and corrects formula syntax.

In plain words
What is it for?
Use it to create a Markdown file containing one corrected formula per line.
Why use it?
It turns formulas embedded in a PDF into separate, reusable lines while helping find bracket errors and typos.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to create a Markdown file containing one corrected formula per line.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/etayang10th/spark-skills/latex-formula-extraction
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 EtaYang10th/spark-skills --skill latex-formula-extraction
Clone the repo
git clone --depth 1 https://github.com/EtaYang10th/spark-skills

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 latex-formula-extraction

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/etayang10th/spark-skills/latex-formula-extraction"><img src="https://agentmods.dev/badge/skills/etayang10th/spark-skills/latex-formula-extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00000 $0.06578
Opus 5 $0.00000 $0.03289
Sonnet 5 $0.00000 $0.01316
Haiku 4.5 $0.00000 $0.00658

Measured 12d ago against content hash 15bae7634666, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

latex-formula-extraction scanned grade A with 1 finding 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 12d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["rm", "-rf", output_dir], check=False)
spark_skills_gen/skills_gen_result/all_model_pdi/latex-formula-extraction/SKILL.md · 747 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files 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. 12d ago First seen · 747 lines · 0 tokens per session scan A 15bae7634666

Subscribe to this mod's changes

latex-formula-extraction is a skill published in the GitHub repository EtaYang10th/spark-skills (111 stars, last pushed 3mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 6,578 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mineru-pdf

High-accuracy PDF content extraction using MinerU (Shanghai AI Lab). Use this whenever the user needs to extract text, formulas, tables, or images from a complex PDF — especially academic papers, multi-column layouts, scanned documents, or any PDF where pypdf produces garbled /Cxx formula output. Trigger on: "MinerU"…

hawkongz/mineru-pdf · 154 tokens

mineru-pdf

Instructions for extracting text, formulas, tables, and images from difficult PDF files with MinerU, a document-reading tool. It is intended for papers, multi-column layouts, and scanned documents where basic PDF readers may produce poor results.

hawkongz/mineru-pdf · 180 tokens

paper-figures

Extract figures from downloaded papers and include them in survey/review reports. Use when the report covers other groups' work and benefits from their architecture diagrams, experimental plots, or system schematics. Your brain prompt supplies the absolute path to the extract-figures script as {{EXTRACTFIGURES}} — use…

Muuuun/luxas · 79 tokens

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

fin-paper-convert

Compile LaTeX to PDF and convert to target journal format.

csmar432/finai-research · 12 tokens

beamer-deck

Create an academic presentation as a LaTeX Beamer source and reviewed PDF with an original theme. Use when the requested deliverable is a conference, seminar, or lecture deck in Beamer. Not for PowerPoint or RevealJS; use $pptx or $quarto-deck.

flonat/flonat-research · 63 tokens