paper-figure

paper-figure is a skill for Claude Code from zjunlp/Mechanist. It costs 68 tokens per session (6,008 once invoked), scanned A, original, MIT.

A figure-and-table generation workflow for research papers, using experiment results as input. It creates charts such as training curves and method comparisons, plus tables in formats suitable for papers and Markdown.

In plain words
What is it for?
Use it to make plots, comparison tables, or figures for a paper. It can produce vector PDF figures, PNG previews, Markdown tables, and LaTeX files.
Why use it?
It removes repetitive work when turning raw results into consistent paper figures and tables. It also supports both publication files and inline previews for research notes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the mechanist plugin — 85 skills, 4 agents shipped together

Good fit Use it to make plots, comparison tables, or figures for a paper. It can produce vector PDF figures, PNG previews, Markdown tables, and LaTeX files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjunlp/mechanist/paper-figure
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 zjunlp/Mechanist --skill paper-figure
Clone the repo
git clone --depth 1 https://github.com/zjunlp/Mechanist

Made for: Claude Code.

Or install mechanist, the plugin that ships this one along with the rest of its 85 skills, 4 agents.

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 paper-figure

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/mechanist/paper-figure/github.svg)](https://agentmods.dev/skills/zjunlp/mechanist/paper-figure)
Your own site
<a href="https://agentmods.dev/skills/zjunlp/mechanist/paper-figure"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/paper-figure/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 paper-figure

Your own site · 80×15
<a href="https://agentmods.dev/skills/zjunlp/mechanist/paper-figure"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/paper-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,008 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.00068 $0.06008
Opus 5.5 $0.00027 $0.02403
Sonnet 5.5 $0.00014 $0.01202
Haiku 4.5 $0.00007 $0.00601

Measured 1mo ago against content hash fcd16fdcc9e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper-figure 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 1mo 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/paper-figure/SKILL.md · 465 lines

How it starts

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

Paper Figure: Publication-Quality Plots from Experiment Data

Generate all figures and tables for a paper based on: $ARGUMENTS

This skill has two calling modes, sharing the same plotting machinery:

  • Standalone paper mode (default): driven by PAPER_PLAN.md from /paper-plan. Produces vector PDFs in figures/ plus latex_includes.tex for paper-write.
  • Auto-ledger mode (mode: auto-ledger): driven by an inline plan supplied by /auto's Ledger Figures hook. Image figures produce PDF (vector, for later paper use) and PNG (raster, for Markdown embed); table figures produce .md (inline-renderable for the ledger) and .tex (publication-grade) — all under figures/<claim_id>/, plus a machine-readable INDEX.json per claim. Tables are first-class artifacts in this mode, on equal footing with charts. See "Auto-ledger invocation contract" below.

Scope: What This Skill Can and Cannot Do

Category Can auto-generate? Examples
Data-driven plots ✅ Yes Line plots (training curves), bar charts (method comparison), scatter plots, heatmaps, box/violin plots
Comparison tables ✅ Yes LaTeX tables comparing prior bounds, method features, ablation results
Multi-panel figures ✅ Yes Subfigure grids combining multiple plots (e.g., 3×3 dataset × method)
Architecture/pipeline diagrams ❌ No — manual Model architecture, data flow diagrams, system overviews. At best can generate a rough TikZ skeleton, but expect to draw these yourself using tools like draw.io, Figma, or TikZ
Generated image grids ❌ No — manual Grids of generated samples (e.g., GAN/diffusion outputs). These come from running your model, not from this skill
Photographs / screenshots ❌ No — manual Real-world images, UI screenshots, qualitative examples

In practice: For a typical ML paper, this skill handles ~60% of figures (all data plots + tables). The remaining ~40% (hero figure, architecture diagram, qualitative results) need to be created manually and placed in figures/ before running /paper-write. The skill will detect these as "existing figures" and preserve them.

Read the full file on GitHub · 465 lines

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. 1mo ago First seen · 465 lines · 68 tokens per session scan A fcd16fdcc9e2

Subscribe to this mod's changes

paper-figure is a skill published in the GitHub repository zjunlp/Mechanist (78 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 6,008 once invoked, about $0.0003 per session on Opus 5.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-09-16.