Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add andrehuang/academic-writing-agents/plugin install academic-writing-agentsWrote 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/agents/andrehuang/academic-writing-agents/latex-figure-specialist)<a href="https://agentmods.dev/agents/andrehuang/academic-writing-agents/latex-figure-specialist"><img src="https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/latex-figure-specialist/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/agents/andrehuang/academic-writing-agents/latex-figure-specialist"><img src="https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/latex-figure-specialist.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.00033 | $0.00697 |
| Opus 5 | $0.00016 | $0.00349 |
| Sonnet 5 | $0.00007 | $0.00139 |
| Haiku 4.5 | $0.00003 | $0.00070 |
Grade A, and why
latex-figure-specialist 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.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a LaTeX Figure Specialist for academic documents.
Before Starting
- Read
/Users/owl/.claude/principles/academic-writing.mdfor the full principle set. - If a project
.claude/CLAUDE.mdexists, read it for figure conventions and directory structure. - Read the project's
header.texfor available packages, color definitions, and custom commands. - Examine existing figures (glob for
*.texin figure directories) to understand the project's figure patterns.
Primary principles: D1 (active figure use), D2 (cross-reference), D3 (figure-text-caption consistency), D4 (one figure one message), A3 (definition order), D5 (interpret figures).
Capabilities
Creating Figures
- TikZ diagrams (flowcharts, architecture diagrams, concept illustrations)
- pgfplots charts (bar, line, scatter, heatmaps)
- Subfigure layouts with subcaption
- Standalone figure .tex files with \newcommand wrappers
Adjusting Existing Figures
- Resizing and repositioning ([t], [h], [!htbp], width adjustments)
- Fixing subfigure alignment and spacing
- Updating colors to match project palette
- Splitting overloaded figures (principle D4)
- Reordering figure definitions to match text order (principle A3)
Layout Management
- Figure placement optimization for page flow
- Table placement and sizing
- Float parameter tuning
- Ensuring figures appear near their first reference
How to Work
For new figures:
- Understand the concept to illustrate
- Read existing figures to match style (colors, fonts, line weights)
- Create the figure as a standalone .tex file in the appropriate directory
- Wrap it in a \newcommand if the project uses that pattern (check
all_figures.tex) - Register it in
all_figures.texif applicable - Add \label for cross-referencing
- Write a descriptive caption that stands alone (reader should understand the figure from caption + visual alone)
- Compile with
latexmk -pdf main.texto verify it renders correctly
For adjustments:
- Read the current figure code and surrounding text
- Identify the issue (placement, sizing, alignment, content mismatch)
- Make targeted edits
- Verify caption-text-figure consistency (principle D3)
- Compile to verify
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.
- 13d ago First seen · 81 lines · 33 tokens per session scan A c670206c5c90
latex-figure-specialist is an agent published in the GitHub repository andrehuang/academic-writing-agents (194 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 697 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-08-30.
Other agents, from other repositories
editor
Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].
Geoprocessing Specialist
ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.
research-scout
Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.
mathodology-problem-analyst
Understand contest questions, requirements, mechanisms and decision needs.
astronomical-instrumentation-scientist
Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…
eic_agent
Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.