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.
npx skills add muhammad1438/academic-writer-skills --skill latex-writergit clone --depth 1 https://github.com/muhammad1438/academic-writer-skillsWrote 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.
[](https://agentmods.dev/skills/muhammad1438/academic-writer-skills/latex-writer)<a href="https://agentmods.dev/skills/muhammad1438/academic-writer-skills/latex-writer"><img src="https://agentmods.dev/badge/skills/muhammad1438/academic-writer-skills/latex-writer/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.
<a href="https://agentmods.dev/skills/muhammad1438/academic-writer-skills/latex-writer"><img src="https://agentmods.dev/badge/skills/muhammad1438/academic-writer-skills/latex-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.04226 |
| Opus 5 | $0.00000 | $0.02113 |
| Sonnet 5 | $0.00000 | $0.00845 |
| Haiku 4.5 | $0.00000 | $0.00423 |
Grade A, and why
latex-writer 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX Writer
LaTeX is the standard document preparation system for mathematics, physics, engineering, computer science, and increasingly used across all academic disciplines for its precise typesetting, equation rendering, and bibliography management.
Document Class Selection
Choose the document class before anything else — it sets the fundamental layout.
| Class | Use Case | Key Features |
|---|---|---|
article |
Journal papers, short reports, conference papers | Standard academic default; no chapter divisions |
report |
Long reports, theses, technical documentation | Has chapters; two-sided by default |
book |
Textbooks, monographs, book-length works | Parts, chapters; front/main/back matter |
beamer |
Presentations and slides | Frame-based; themes and colour schemes |
IEEEtran |
IEEE journal and conference papers | Strict IEEE formatting; two-column option |
revtex4-2 |
APS/AIP physics journals (Physical Review, etc.) | Physics-community standard; multiple journal modes |
elsarticle |
Elsevier journal submissions | Author-year and numbered citation modes |
acmart |
ACM conference and journal papers | Multiple sub-formats (acmsmall, sigconf, etc.) |
memoir |
Highly customisable books and theses | Replaces many packages; built-in flexibility |
Standard article declaration:
\documentclass[12pt, a4paper]{article}
Two-column IEEE:
\documentclass[conference]{IEEEtran}
Elsevier submission:
\documentclass[review, 12pt]{elsarticle}
Minimal Working Example (MWE)
Every LaTeX document needs this skeleton:
\documentclass[12pt, a4paper]{article}
% ── Encoding & fonts ──────────────────────────────────────────
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % not needed in modern TeX distributions
% ── Page geometry ─────────────────────────────────────────────
\usepackage[margin=2.5cm]{geometry}
% ── Mathematics ───────────────────────────────────────────────
\usepackage{amsmath, amssymb, amsthm}
% ── Bibliography ──────────────────────────────────────────────
\usepackage[style=apa, backend=biber]{biblatex}
\addbibresource{references.bib}
% ── Figures ───────────────────────────────────────────────────
\usepackage{graphicx}
\graphicspath{{figures/}}
% ── Tables ────────────────────────────────────────────────────
\usepackage{booktabs}
% ── Cross-references ──────────────────────────────────────────
\usepackage[hidelinks]{hyperref}
\usepackage{cleveref}
% ── Title information ─────────────────────────────────────────
\title{Your Paper Title}
\author{Author Name \and Second Author}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
Your abstract text.
\end{abstract}
\section{Introduction}
Your introduction.
\printbibliography
\end{document}
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.
- 12d ago First seen · 472 lines · 0 tokens per session scan A 3d50acca8521
latex-writer is a skill published in the GitHub repository muhammad1438/academic-writer-skills (6 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,226 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.
Other skills, from other repositories
read
Read PDF page by page with structured output — key arguments, terms glossary, thesis connections. Use when reading academic papers, books, or articles.
release-governance
Use when preparing, auditing, releasing, PDF-hardening, or rebuttal-hardening academic manuscripts, datasets, artifacts, reviewer packets, or claim registers involving multiple refs, local assets, human labels, agent-assisted drafts, wide tables, figure provenance, submission PDFs, or evidence-boundary checks.
export
Convert thesis chapters and reading notes from Markdown to Word (.docx) and package for submission. Use when preparing materials for supervisors or examiners.
human-eval-handoff-repair
Use when validating, repairing, or mapping human-evaluation handoff packages, filled annotation CSVs, rebuttal annotation UIs, or reviewer annotation returns across package versions. Applies to checking row alignment, detecting cross-snapshot contamination, converting old labels to current schemas, generating…
thesis-control
Use when AI-assisted thesis or manuscript edits risk claim drift, scope creep, loss of intended use, experiment-role promotion, or repeated revisions that fail to converge; provides author-intent control, lightweight or strict contracts, drift audits, revision escalation, and human gates.
argument-governance
Build and audit the manuscript or research-project argument system across intended use, gaps, claims, data, results, experiment roles, contributions, innovation evidence, limitations, and contribution focus. Use when a paper, thesis chapter, review article, or research project needs an explicit argument map…