figure-table-quality

figure-table-quality is a skill for Claude Code from Mathews-Tom/armory. It costs 104 tokens per session (1,677 once invoked), scanned A, original, MIT.

A readability and rendering audit for figures and tables in academic manuscripts. It checks whether charts and tables remain readable and consistent in the final PDF.

In plain words
What is it for?
Use it to audit figure display sizes, effective font and marker sizes, label collisions, color and hatch accessibility, axis use, table formatting, and consistency across figures.
Why use it?
It catches problems such as tiny labels, overlapping annotations, unclear colors, inefficient axis ranges, and poor table formatting before submission.

Skill for Claude Code

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

Part of the armory plugin — 85 skills shipped together

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.

agentmods
npx agentmods add skills/mathews-tom/armory/figure-table-quality
Any agent
npx skills add Mathews-Tom/armory --skill figure-table-quality
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code.

Or install armory, the plugin that ships this one along with the rest of its 85 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 figure-table-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathews-tom/armory/figure-table-quality.svg)](https://agentmods.dev/skills/mathews-tom/armory/figure-table-quality)
Your own site
<a href="https://agentmods.dev/skills/mathews-tom/armory/figure-table-quality"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/figure-table-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00104 $0.01677
Opus 5 $0.00052 $0.00839
Sonnet 5 $0.00021 $0.00335
Haiku 4.5 $0.00010 $0.00168

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

Security

Grade A, and why

figure-table-quality 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 6d 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/figure-table-quality/SKILL.md · 190 lines

How it starts

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

Figure & Table Quality Audit

Pipeline position: Phase 2.5 (between Grounding/Polish and Submission). Runs after figure-rhetoric (content) and before arxiv-preflight (compliance). See /manuscript-pipeline for full execution order.

Purpose

Verify that every figure and table in a manuscript renders at readable size in the compiled PDF. figure-rhetoric checks whether figures communicate the right message. This skill checks whether the reader can physically read them.

Execution

Step 1 — Build the display-scale map

For every \includegraphics in the .tex source:

  1. Extract the display width (e.g., \textwidth, 0.7\textwidth, 0.55\textwidth)
  2. Compute the effective display width in inches using the document geometry
  3. Read the figure generation script to find the figsize for each figure
  4. Compute: scale = display_width / figsize_width

Also extract from the generation script or config:

  • Base font sizes: title, label, tick, legend, annotation
  • Marker sizes, line widths
  • Bar widths (for grouped bar charts)

Step 2 — Per-figure audit (all 9 checks)

For each figure, compute effective values at display scale and check:

2a. Font size at render
effective_font = script_font × scale
Element Minimum Warning
Axis title 7pt 8pt
Tick labels 6pt 7pt
Legend text 6pt 7pt
Annotations 6pt 7pt
Panel titles 7pt 8pt

FAIL if any element falls below minimum. WARN if any element falls below warning threshold.

2b. Label collision

Check for overlapping text in:

  • X-axis tick labels (especially with rotation < 45° and > 3 labels)
  • Y-axis tick labels (long text strings)
  • Data annotations near each other
  • Legend entries overlapping data

For rotated labels: compute horizontal footprint as len(label) × char_width × cos(rotation). If footprint > tick spacing, FAIL.

2c. Marker and line visibility
effective_marker = script_marker × scale
effective_linewidth = script_linewidth × scale
  • Markers below 4pt effective: WARN
  • Line widths below 0.5pt effective: WARN

Read the full file on GitHub · 190 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 190 lines · 104 tokens per session scan A e1e9c385b12f

Subscribe to this mod's changes

figure-table-quality is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 1,677 once invoked, about $0.0005 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

or-solver

Unified solver detection, installation, selection, and license configuration for OR optimization skills (LP, MIP, SOCP). One-stop solver management: detect installed packages, install missing solvers with proper priority, select the best available solver by problem type, and troubleshoot common errors. Covers 20…

VeryMath/AI4Math-Optimization · 145 tokens

cdopt-optimization

Use when Codex needs to solve, reproduce, test, compare, generate examples for, or diagnose CDOpt manifold optimization workflows, including CDOpt package smoke tests, official problem description cards, Stiefel dictionary learning, SciPy wrappers, PyTorch/JAX/NumPy CDOpt examples, dependency checks, tiny CPU…

VeryMath/AI4Math-Optimization · 80 tokens

linear-programming

Models and solves linear programs (LP) with multiple solvers (COPT, Gurobi, MOSEK, CPLEX, HiGHS (scipy/highspy), CLARABEL, PuLP/CBC, CVXOPT, OR-Tools/GLOP, GLPK, SoPlex, lpsolve, ECOS). Restates natural-language word problems into LP before building and solving. When no local solver is available, searches GitHub for…

VeryMath/AI4Math-Optimization · 149 tokens

copt-linear-program

Models and solves linear programs (LP) with Cardinal Optimizer (coptpy). Restates natural-language word problems into LP before building and solving. Use when the user mentions COPT/coptpy, linear programming, LP, word problems, applications, story problems, natural-language descriptions, 应用题, 线性规划文字题, or matrix-form…

VeryMath/AI4Math-Optimization · 90 tokens

osqp-solver

Model, solve, update, reproduce, and diagnose continuous convex quadratic programs with the OSQP Python interface, including canonical-form conversion, sparse CSC data, solver-status gates, residual checks, infeasibility certificates, warm starts, repeated parametric QPs, and academic citation. Use when a task names…

VeryMath/AI4Math-Optimization · 131 tokens

second-order-cone-programming

Models and solves second-order cone programs and problems convertible to SOCP form using cvxpy with multiple solver backends (COPT, Gurobi, MOSEK, CPLEX, CLARABEL, ECOS, SCS, CVXOPT, COSMO, OSQP). Handles linear objectives with second-order cone constraints, as well as problems reducible to SOCP such as portfolio…

VeryMath/AI4Math-Optimization · 114 tokens