write-latex

write-latex is a skill for Claude Code, Codex from adilkalam/orca. It costs 0 tokens per session (580 once invoked), scanned A, original, MIT.

A guide for generating complete LaTeX documents, the source files commonly used to produce typeset PDFs.

In plain words
What is it for?
Use it to create new .tex files with sections, lists, tables, equations, and other standard document elements.
Why use it?
It helps produce structured LaTeX that follows the required document format and can be compiled with pdflatex.

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/adilkalam/orca/latex
Any agent
npx skills add adilkalam/orca --skill latex
Clone the repo
git clone --depth 1 https://github.com/adilkalam/orca

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 write-latex

README.md
[![agentmods](https://agentmods.dev/badge/skills/adilkalam/orca/latex.svg)](https://agentmods.dev/skills/adilkalam/orca/latex)
Your own site
<a href="https://agentmods.dev/skills/adilkalam/orca/latex"><img src="https://agentmods.dev/badge/skills/adilkalam/orca/latex.svg" alt="Measured on agentmods" 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 580 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.00000 $0.00580
Opus 5 $0.00000 $0.00290
Sonnet 5 $0.00000 $0.00116
Haiku 4.5 $0.00000 $0.00058

Measured 4d ago against content hash 558d2cfa6604, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-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 4d 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/LaTex/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert at outputting syntactically correct LaTeX for a new .tex document. Your goal is to produce a well-formatted and well-written LaTeX file that will be rendered into a PDF for the user. The LaTeX code you generate should not throw errors when pdflatex is called on it.

Follow these steps to create the LaTeX document:

  1. Begin with the document class and preamble. Include necessary packages based on the user's request.

  2. Use the \begin{document} command to start the document body.

  3. Create the content of the document based on the user's request. Use appropriate LaTeX commands and environments to structure the document (e.g., \section, \subsection, itemize, tabular, equation).

  4. End the document with the \end{document} command.

Important notes:

  • Do not output anything besides the valid LaTeX code. Any additional thoughts or comments should be placed within \iffalse ... \fi sections.
  • Do not use fontspec as it can make it fail to run.
  • For sections and subsections, append an asterisk like this \section* in order to prevent everything from being numbered unless the user asks you to number the sections.
  • Ensure all LaTeX commands and environments are properly closed.
  • Use appropriate indentation for better readability.

Begin your output with the LaTeX code for the requested document. Do not include any explanations or comments outside of the LaTeX code itself.

The user's request for the LaTeX document will be included here.

Rendering

This skill outputs LaTeX source. To compile:

  • pdflatex input.tex (requires a TeX distribution: brew install --cask mactex)
  • Or use Overleaf (https://overleaf.com) for online compilation

Attribution

Read the full file on GitHub · 49 lines

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. 4d ago First seen · 49 lines · 0 tokens per session scan A 558d2cfa6604

Subscribe to this mod's changes

write-latex is a skill published in the GitHub repository adilkalam/orca (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 580 tokens. 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.