latex-writing

latex-writing is a skill for Claude Code, Codex from Zaoqu-Liu/ScienceClaw. It costs 30 tokens per session (1,005 once invoked), scanned A, original, MIT.

A writing and compilation aid for creating academic papers, theses, reports, presentations, and posters in LaTeX, a document system commonly used for technical and mathematical writing.

In plain words
What is it for?
It helps create or edit LaTeX files, add academic content, apply templates and page layouts, and compile the result into a PDF.
Why use it?
It helps manage structured documents with equations, figures, tables, citations, cross-references, indexes, and bibliographies without assembling the formatting by hand.

Skill for Claude CodeCodex

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

Good fit It helps create or edit LaTeX files, add academic content, apply templates and page layouts, and compile the result into a PDF.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaoqu-liu/scienceclaw/prismer-latex-writing
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 Zaoqu-Liu/ScienceClaw --skill prismer-latex-writing
Clone the repo
git clone --depth 1 https://github.com/Zaoqu-Liu/ScienceClaw

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-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/prismer-latex-writing/github.svg)](https://agentmods.dev/skills/zaoqu-liu/scienceclaw/prismer-latex-writing)
Your own site
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/prismer-latex-writing"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/prismer-latex-writing/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-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/prismer-latex-writing"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/prismer-latex-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.00030 $0.01005
Opus 5 $0.00015 $0.00502
Sonnet 5 $0.00006 $0.00201
Haiku 4.5 $0.00003 $0.00101

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

Security

Grade A, and why

latex-writing 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.

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/prismer-latex-writing/SKILL.md · 172 lines

How it starts

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

LaTeX Writing Skill

Description

Create, edit, and compile LaTeX documents for academic papers, theses, and reports.

Tools Used

  • latex_compile - Compile LaTeX to PDF (auto-switches to LaTeX editor)
  • update_latex - Update LaTeX editor content without compiling
  • send_ui_directive - Send raw UI directives for advanced control

Capabilities

Document Creation

  • Academic papers (IEEE, ACM, Springer formats)
  • Theses and dissertations
  • Technical reports
  • Presentations (Beamer)
  • Posters

Content Management

  • Section and subsection organization
  • Figure and table insertion
  • Mathematical equations
  • Algorithm pseudocode
  • Citation and bibliography (BibTeX)

Formatting

  • Custom styling and templates
  • Cross-references and labels
  • Index and glossary generation
  • Page layout configuration

Usage Patterns

Create New Paper

When user says: "Create a new paper about [topic]"

  1. Ask about target venue/format
  2. Create main.tex with appropriate template
  3. Set up bibliography file
  4. Add standard sections (abstract, intro, conclusion)
  5. Compile initial PDF

Add Equation

When user says: "Add the softmax equation"

  1. Identify equation type (inline/display)
  2. Generate LaTeX math code
  3. Insert with appropriate label
  4. Recompile PDF

Add Figure

When user says: "Add a figure showing [description]"

  1. Ask for figure path or create placeholder
  2. Generate figure environment
  3. Add caption and label
  4. Update references
  5. Recompile PDF

Add Citation

When user says: "Cite this paper: [reference]"

  1. Parse reference information
  2. Create BibTeX entry
  3. Insert \cite{} command
  4. Run bibtex + latex

Fix Compilation Errors

When user says: "The LaTeX isn't compiling"

  1. Read error log
  2. Identify error location and type
  3. Suggest and apply fix
  4. Recompile and verify

Common Templates

IEEE Conference

\documentclass[conference]{IEEEtran}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphicx}
\usepackage{textcomp}

Read the full file on GitHub · 172 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. 8d ago First seen · 172 lines · 30 tokens per session scan A 9f9cbdec9d14

Subscribe to this mod's changes

latex-writing is a skill published in the GitHub repository Zaoqu-Liu/ScienceClaw (60 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 1,005 once invoked, about $0.0002 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

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

extracting-lab-tables

Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…

maziyarpanahi/openmed · 210 tokens

paper-spine

Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.

WUBING2023/PaperSpine · 37 tokens

paper-compile

A build workflow that turns LaTeX source files into a PDF and checks whether the paper compiles correctly. LaTeX is a text-based system commonly used for academic papers.

wanshuiyin/Auto-claude-code-research-in-sleep · 53 tokens

nsfc-budget

A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.

huangwb8/ChineseResearchLaTeX · 138 tokens