md-to-latex

md-to-latex is a skill for Claude Code, Codex from fabioc-aloha/Alex_Skill_Mall. It costs 16 tokens per session (341 once invoked), scanned A, original, MIT.

A converter that turns Markdown into standalone LaTeX source files. LaTeX is a text-based typesetting system commonly used for academic and technical documents.

In plain words
What is it for?
Use it for papers, theses, journal submissions, bibliographies, and workflows that need editable .tex output.
Why use it?
It moves structured writing into a format that supports detailed layout control, citations, templates, and later PDF compilation.

Skill for Claude CodeCodex

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

Good fit Use it for papers, theses, journal submissions, bibliographies, and workflows that need editable .tex output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fabioc-aloha/alex_skill_mall/md-to-latex
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 fabioc-aloha/Alex_Skill_Mall --skill md-to-latex
Clone the repo
git clone --depth 1 https://github.com/fabioc-aloha/Alex_Skill_Mall

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 md-to-latex

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fabioc-aloha/alex_skill_mall/md-to-latex"><img src="https://agentmods.dev/badge/skills/fabioc-aloha/alex_skill_mall/md-to-latex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 341 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.00016 $0.00341
Opus 5 $0.00008 $0.00170
Sonnet 5 $0.00003 $0.00068
Haiku 4.5 $0.00002 $0.00034

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

Security

Grade A, and why

md-to-latex 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (md-to-latex.cjs), 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.

plugins/converters/md-to-latex/skills/md-to-latex/SKILL.md · 54 lines

What it actually says

md-to-latex

Convert Markdown to LaTeX source via Pandoc.

When to Use

  • Academic papers, theses, and journal submissions
  • Documents needing fine-grained typesetting control
  • Pipelines that further process .tex (BibTeX, custom preamble, journal classes)

What's Here

md-to-latex.cjs — Node script that wraps Pandoc and emits standalone .tex.

External Dependencies

  • node (≥ 16)
  • pandoc (≥ 3.0) on PATH
  • TeX distribution (TeX Live, MiKTeX) only if you compile the output

Usage

node md-to-latex.cjs paper.md
node md-to-latex.cjs paper.md --output paper.tex
node md-to-latex.cjs paper.md --bibliography refs.bib --csl ieee.csl
node md-to-latex.cjs paper.md --template custom-template.tex

Frontmatter Hooks

---
title: Paper Title
author: Your Name
documentclass: article
classoption: 11pt
bibliography: refs.bib
csl: ieee.csl
---

Notes

  • Output is standalone — compiles directly with pdflatex/lualatex
  • Citations in Pandoc syntax ([@key]) become \cite{key}
  • For journal-specific formatting, supply --template
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. 8d ago First seen · 54 lines · 16 tokens per session scan A 8b16ea1803cd

Subscribe to this mod's changes

md-to-latex is a skill published in the GitHub repository fabioc-aloha/Alex_Skill_Mall (4 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 341 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

apply-moonshot-technology-investing

Use when evaluating a technically ambitious, high-uncertainty breakthrough technology investment — accepting a much higher individual-investment failure rate than standard venture investing in exchange for the possibility of a genuinely transformative, category-defining outcome most investors wouldn't accept the…

jeffreytse/grimoire-core · 62 tokens

design-policy-management-lifecycle

Use when an organization's internal policies accumulate without a defined process for creating, approving, reviewing, and retiring them — establishing a formal policy lifecycle with an accountable owner, a defined review cadence, and a single authoritative repository, rather than letting policies proliferate as…

jeffreytse/grimoire-core · 66 tokens

write-ops-runbook

Use when documenting a repeatable operational procedure that on-call engineers or operators must execute under pressure.

jeffreytse/grimoire-core · 24 tokens

latex-writer

Author and compile LaTeX documents — academic papers, theses, mathematical equations, bibliographies, and Beamer presentations.

inbharatai/claude-skills · 28 tokens

scholarly-publishing

Use when planning an end-to-end scholarly publishing workflow, including manuscript source-of-truth, submission assets, revision/rebuttal files, camera-ready checks, reproducible build expectations, and publication package structure.

foryourhealth111-pixel/Vibe-Skills · 47 tokens

slides-as-code

Build research slides with text-first source (Slidev/Marp/Reveal/Quarto) and reproducible export (PDF). Includes structure, figure reuse rules, and quality checklist for top-tier scientific presentations.

foryourhealth111-pixel/Vibe-Skills · 46 tokens