academic-figure

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

A skill for creating, revising, or checking data and result figures for computer science, artificial intelligence, and machine learning papers. It normally produces editable SVG charts from Python plotting code.

In plain words
What is it for?
Use it for benchmark charts, ablation results, training curves, robustness tests, diagnostics, distributions, confusion matrices, and efficiency comparisons.
Why use it?
It provides a defined process for turning experiment data into figures and checking whether they communicate results clearly. It also prevents requests for architecture diagrams from being treated as data plots.

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 for benchmark charts, ablation results, training curves, robustness tests, diagnostics, distributions, confusion matrices, and efficiency comparisons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joshua-zyy/academic-paper-writer/academic-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 joshua-zyy/academic-paper-writer --skill academic-figure
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-figure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/joshua-zyy/academic-paper-writer/academic-figure"><img src="https://agentmods.dev/badge/skills/joshua-zyy/academic-paper-writer/academic-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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.00235 $0.00789
Opus 5 $0.00118 $0.00394
Sonnet 5 $0.00047 $0.00158
Haiku 4.5 $0.00023 $0.00079

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

Security

Grade A, and why

academic-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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/chart_template.py, scripts/qa_figure.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-figure/SKILL.md · 42 lines

How it starts

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

Academic Figure

CS/AI/ML academic-figure router. 实验数据图默认交付 Python/matplotlib 可编辑 SVG,并执行 CS/AI/ML 图表设计 gate。模型框架图、架构图、overview 图和复杂机制图不属于本 skill 的自动绘制范围;如论文需要此类图,只能输出人工绘制需求、证据清单、caption 草案或 figure blueprint notes。

Router Protocol

  1. Read manifest.yaml. It declares always_load files, axes, and references.on_demand.
  2. Read every file listed under always_load. These are the skill's binding rules — not reference material.
  3. Apply the loaded material as constraints:
    • stance.md defines Python-only plotting, figure contract, visual policy, and scope.
    • red-lines.md defines absolute prohibitions. Do not negotiate these.
    • output-contract.md defines deliverables per mode.
    • anti-patterns.md defines known failure modes and their correct alternatives.
  4. Select exactly one mode from the manifest. If ambiguous, ask one concise clarification only when data source or target use is missing. Requests for model framework, architecture, overview, or mechanism diagrams use figure-blueprint only to produce manual_figure_needed notes; never render images, SVG, or prompts.
  5. Echo the selected mode to the user before executing.
  6. Reach for references/ only when the manifest's references.on_demand condition is satisfied.

Modes

Mode Use when
chart-from-data Data files or numeric results, needs publication plot with CS/AI/ML chart design gate
figure-blueprint Wants figure suggestions for a paper section
figure-audit Existing figure reviewed for publication readiness
figure-revision Existing figure needs revision

Agent Dispatch

agents/figure_agent.md is dispatched by the orchestrator at Step 6.4. The agent returns figure artifacts, scripts, SVG paths, and reports; it must not independently edit project source code or experimental data.

Completion Criteria

  • chart-from-data: Figure Contract, CS/AI/ML chart design gate, Python script, source data, editable SVG, QA report — all pass.
  • figure-audit: Every QA item has pass/fail status and concrete remediation.
  • figure-blueprint: Every suggested figure maps to a paper claim and data/evidence source.
  • figure-revision: Revised artifact or instructions, QA report, unchanged evidence traceability.

Read the full file on GitHub · 42 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. 13d ago First seen · 42 lines · 235 tokens per session scan A c27d4257fbca

Subscribe to this mod's changes

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

anti-defensive-writing-en

Stops defensive writing across the entire paper lifecycle — writing, revising, cutting, and organizing experiments. Treats the paper as a press conference, not a project summary, lab log, or self-audit: identify the single most publishable strength of the work and build the most favorable, complete, and persuasive…

Adkid-Zephyr/anti-defensive-writing-Skill · 138 tokens

anti-defensive-writing

A Chinese-language writing guide for presenting a research paper around its strongest supported contribution. It treats the paper as a focused academic presentation rather than a project diary or complete lab record.

Adkid-Zephyr/anti-defensive-writing-Skill · 160 tokens

light-paper-writing

A research-paper writing workflow that links each important claim to evidence and checks whether the wording matches the strength of that evidence.

Light0305/Light-skills · 435 tokens

light-result-analysis

A research-results review workflow that explains what experiment results may mean and how strongly they support each claim. It uses statistical checks such as effect sizes, confidence intervals, and corrections for testing many hypotheses.

Light0305/Light-skills · 406 tokens

light-figure

A research-figure workflow for planning and creating publication-ready charts and diagrams. It connects each figure to a paper claim and checks that the visual presentation does not misrepresent the data.

Light0305/Light-skills · 514 tokens

light-research-plan

A research-planning guide for turning an approved idea into a reproducible experiment plan. It defines what to compare, what to measure, when to stop, and how to record seeds, environments, versions, and data splits.

Light0305/Light-skills · 334 tokens