academic-latex-layout

academic-latex-layout is a skill for Claude Code from joshua-zyy/academic-paper-writer. It costs 66 tokens per session (345 once invoked), scanned A, original, MIT.

A set of instructions for arranging figures and tables in academic papers written with LaTeX, a document preparation system often used for research papers. It covers creating layouts from drafts, repairing existing layouts, and checking the compiled PDF.

In plain words
What is it for?
Use it to turn a paper draft and template into a LaTeX layout, repair figure and table placement in an existing .tex project, or diagnose layout problems without editing.
Why use it?
It helps fix figures that pile up, appear far from the text they explain, or leave large empty areas. It also helps handle page limits and two-column layouts using the PDF result as evidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the academic-paper-writer plugin — 8 skills shipped together

Good fit Use it to turn a paper draft and template into a LaTeX layout, repair figure and table placement in an existing .tex project, or diagnose layout problems without editing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joshua-zyy/academic-paper-writer/academic-latex-layout
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 joshua-zyy/academic-paper-writer --skill academic-latex-layout
Clone the repo
git clone --depth 1 https://github.com/joshua-zyy/academic-paper-writer

Made for: Claude Code.

Or install academic-paper-writer, the plugin that ships this one along with the rest of its 8 skills.

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 academic-latex-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/joshua-zyy/academic-paper-writer/academic-latex-layout/github.svg)](https://agentmods.dev/skills/joshua-zyy/academic-paper-writer/academic-latex-layout)
Your own site
<a href="https://agentmods.dev/skills/joshua-zyy/academic-paper-writer/academic-latex-layout"><img src="https://agentmods.dev/badge/skills/joshua-zyy/academic-paper-writer/academic-latex-layout/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 academic-latex-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/joshua-zyy/academic-paper-writer/academic-latex-layout"><img src="https://agentmods.dev/badge/skills/joshua-zyy/academic-paper-writer/academic-latex-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 345 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.00066 $0.00345
Opus 5 $0.00033 $0.00172
Sonnet 5 $0.00013 $0.00069
Haiku 4.5 $0.00007 $0.00034

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

Security

Grade A, and why

academic-latex-layout 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 13d 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/academic-latex-layout/SKILL.md · 37 lines

What it actually says

Academic LaTeX Layout

LaTeX layout and float-placement router for academic papers. Optimize figure/table placement by semantic adjacency and compiled PDF evidence, not by source-level hacks.

Router Protocol

  1. Read manifest.yaml.
  2. Read every file listed under always_load.
  3. Detect exactly one mode from the manifest.
  4. Echo the selected mode before executing.
  5. Reach for references/ only when the manifest condition is satisfied.

Modes

Mode Use when
draft-to-latex-layout Draft + template + existing figures/tables must become LaTeX with semantically placed floats
layout-repair Existing .tex project has float pileups, text/figure drift, blank areas, or two-column layout problems
layout-audit User wants diagnosis only, without edits

Boundaries

Do not generate data figures; use academic-figure. Do not broadly polish prose; use academic-polishing. Do not decide which figures the paper should contain.

Completion Criteria

  • Template constraints identified or bounded.
  • Figure/table semantic map produced.
  • Direct edits follow risk policy.
  • Compile and PDF preview loop run when feasible; otherwise bounded assessment explains the blocker.
  • Final report follows references/report-format.md.
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. 13d ago First seen · 37 lines · 66 tokens per session scan A 6a4ab1f3ecdc

Subscribe to this mod's changes

academic-latex-layout is a skill published in the GitHub repository joshua-zyy/academic-paper-writer (110 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 345 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

light-typesetting

Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11. Use when receiving a paper-writing manuscript, figure delivery, citation delivery.json/references.bib/citekey-audit.json, or a venue/template profile; when selecting pdfLaTeX/XeLaTeX/LuaLaTeX and BibTeX/Biber; when diagnosing LaTeX errors or…

Light0305/Light-skills · 169 tokens

data-management-plan

Draft a funder-compliant Data Management Plan (NSF DMP, NIH DMS Policy 2023, ERC, Horizon Europe) by composing the confidential-data and environment-capture primitives. Sections cover data description, formats/metadata, storage/backup, access/sharing, preservation/archiving, and roles. Use when user says "data…

pedrohcgs/claude-code-my-workflow · 143 tokens

new-diagram

Scaffold a new TikZ diagram from the snippet gallery with prevention rules pre-applied (explicit node dimensions, coordinate map, directional edge labels). Compiles standalone, invokes tikz-reviewer with citations from tikz-measurement.md, and loops on revisions until APPROVED.

pedrohcgs/claude-code-my-workflow · 60 tokens

aaai-artifact-evaluation

Use when packaging AAAI code, data, multimedia appendices, technical appendices, reproducibility evidence, and post-acceptance artifact releases without violating double-blind or immutable-supplement rules.

brycewang-stanford/Awesome-Journal-Skills · 47 tokens

arxiv-preflight

Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv"…

Mathews-Tom/armory · 120 tokens

arxiv-package

Package a TeX/LaTeX project into a clean tarball or zip for arXiv upload: file selection, build-artifact exclusion, 00README.XXX generation, ancillary file organization, archive validation. Triggers on: "package for arXiv", "create arXiv tarball", "bundle submission", "zip for arXiv", "prepare arXiv upload", "arXiv…

Mathews-Tom/armory · 105 tokens