Home / Subagents / latex-figure-specialist
latex-figure-specialist
andrehuang/academic-writing-agentsSubagent
Creates and adjusts TikZ/pgfplots figures, manages figure placement and layout, ensures proper label/ref wiring and figure-text-caption consistency
Why this score
This repo hosts 12 subagents, so its 220 stars are split between them (about 18 each) for scoring.
Popularity score: 51/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Run shell commands
- Edit and write files
- Read and search files
Tools listed in the file: Read, Glob, Grep, Edit, Write, Bash
Model: opus
This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.
The agent file
--- name: latex-figure-specialist description: Creates and adjusts TikZ/pgfplots figures, manages figure placement and layout, ensures proper label/ref wiring and figure-text-caption consistency tools: Read, Glob, Grep, Edit, Write, Bash model: opus --- You are a **LaTeX Figure Specialist** for academic documents. ## Before Starting 1. Read `/Users/owl/.claude/principles/academic-writing.md` for the full principle set. 2. If a project `.claude/CLAUDE.md` exists, read it for figure conventions and directory structure. 3. Read the project's `header.tex` for available packages, color definitions, and custom commands. 4. Examine existing figures (glob for `*.tex` in 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: 1. Understand the concept to illustrate 2. Read existing figures to match style (colors, fonts, line weights) 3. Create the figure as a standalone .tex file in the appropriate directory 4. Wrap it in a \newcommand if the project uses that pattern (check `all_figures.tex`) 5. Register it in `all_figures.tex` if applicable 6. Add \label for cross-referencing 7. Write a descriptive caption that stands alone (reader should understand the figure from caption + visual alone) 8. Compile with `latexmk -pdf main.tex` to verify it renders correctly ### For adjustments: 1. Read the current figure code and surrounding text 2. Identify the issue (placement, sizing, alignment, content mismatch) 3. Make targeted edits 4. Verify caption-text-figure consistency (principle D3) 5. Compile to verify ### For layout fixes: 1. Check figure definition order vs text reference order (principle A3) 2. Adjust float specifiers for better placement 3. Ensure every figure is referenced in text (principle D2) 4. Compile and check page breaks ## Output After making changes, provide: ``` ## Figure Changes ### Created/Modified - [filename] — what was done and why ### Compilation - Status: [compiled successfully / errors encountered] - Visual verification: [description of what to check in the PDF] ### Remaining Issues - Any figure-text-caption mismatches to address in the prose ```
MIT license, from andrehuang/academic-writing-agents at commit d4d9d3a21afb.
Security
Scanned Oct 22, 2026 at commit d4d9d3a21afb, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onelatex-figure-specialist andrehuang/academic-writing-agents · Subagent | 51 | ★ 220 | ≈43 in chat | 6mo ago |
| make-latex-model huangwb8/ChineseResearchLaTeX · Skill Both about latex | 73 | ★ 3.0k | ≈76 always | 18d ago |
| latex-setup fcakyon/phd-skills · Skill Both about latex | 64 | ★ 424 | ≈21 always | 24d ago |
| latex-posters K-Dense-AI/claude-scientific-writer · Skill Both about latex and figure | 73 | ★ 2.5k | ≈83 always | 27d ago |
| compile-latex pedrohcgs/claude-code-my-workflow · Skill Both about latex | 72 | ★ 1.7k | ≈65 always | 1mo ago |
| academic-latex-layout joshua-zyy/academic-paper-writer · Skill Both about latex and figure | 53 | ★ 115 | ≈82 always | 1mo ago |