figure-style

figure-style is a skill for Claude Code from emaballarin/ccplugins. It costs 156 tokens per session (4,342 once invoked), scanned A, a copy of figure-style, MIT.

A checklist and helper for making scientific plots accurate, readable, and consistent with their source data.

In plain words
What is it for?
Use it before drawing publication figures to apply font-size rules, outward-facing ticks, frameless legends, colour-vision considerations, and 300-dpi output checks.
Why use it?
It catches misleading or hard-to-read presentation choices, including incorrect summaries, unclear labels, and poor accessibility.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the ccsci plugin — 7 skills, 2 agents shipped together

Good fit Use it before drawing publication figures to apply font-size rules, outward-facing ticks, frameless legends, colour-vision considerations, and 300-dpi output checks.

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

Made for: Claude Code.

Or install ccsci, the plugin that ships this one along with the rest of its 7 skills, 2 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 figure-style

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/emaballarin/ccplugins/figure-style"><img src="https://agentmods.dev/badge/skills/emaballarin/ccplugins/figure-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,342 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 89% copy Near-identical to another mod 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.00156 $0.04342
Opus 5.5 $0.00062 $0.01737
Sonnet 5.5 $0.00031 $0.00868
Haiku 4.5 $0.00016 $0.00434

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

Security

Grade A, and why

figure-style 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 19d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (kernel.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.

Origin

This is a copy

89% identical to figure-style — 172 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ccscience/skills/figure-style/SKILL.md · 364 lines

How it starts

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

Publication-Grade Figure Rules

A checklist for correct, legible, internally-consistent scientific figures. This skill does not impose a visual house style — frame, font, and palette are parameters. Once the kernel is loaded (below), call k.apply_figure_style() before plotting.

Loading the kernel

The helpers live in kernel.py next to this file. It is not auto-injected — import it in each Bash python heredoc (each run is a fresh process), then call helpers as k.apply_figure_style(), k.panel_crops(fig), …:

import importlib.util
spec = importlib.util.spec_from_file_location("fs_kernel", "${CLAUDE_SKILL_DIR}/kernel.py")
k = importlib.util.module_from_spec(spec)
spec.loader.exec_module(k)

apply_figure_style() sets a role-mapped font-size ladder, outward ticks, frameless legends and 300-dpi output. The plotting helpers are focal_palette, bar_with_points, strip_with_median, end_of_line_labels, panel_letter, set_frame, goodness_arrow and two_tier_label; panel_crops returns the per-panel crop boxes the QA loop uses.

§0 Scope

Load trigger. This skill is for final-deliverable figures — those shipping in a report, paper, or export, or saved as a file that will be kept — not for exploratory/intermediate plots (quick looks, EDA, sanity checks), which are drawn plainly without it. Once loaded, "every plot" below means every plot you render toward the deliverable.

§1–§3, §8, and §9 are correctness — they apply to every plot, in every context, and have no aesthetic content. §4–§7 are guidance — defaults that produce a clean result but that a deliberate alternative can override (individual rules inside §4–§7 that state a factual/perceptual invariant — e.g. §4.4 semantic-zero centring, §4.5 CVD, §6.9 leader anchoring — still bind). This skill is the inner tier (make one plot good); figure-composer assembles these panels into one multi-panel figure and paper-narrative reviews a whole paper's figure arc — the outer two tiers of the stack.

Read the full file on GitHub · 364 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. 19d ago Changed · +6 lines · -63 tokens per session a2c8753eecf1
  2. 2mo ago Changed · +14 lines db7c458cbbea
  3. 3mo ago Changed · +6 lines · +52 tokens per session 36c6390e374e
  4. 3mo ago First seen · 338 lines · 167 tokens per session scan A 0872ac6b129e

Subscribe to this mod's changes

figure-style is a skill published in the GitHub repository emaballarin/ccplugins (4 stars, last pushed 2d ago), licensed MIT. It adds 156 tokens to every session and 4,342 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to figure-style, differing in 172 lines, and is treated as a copy.

Related

figure-style compared with skills from other repositories

figure-style next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
figure-styleemaballarin/ccpluginsSkill42d agoMITA156Claude Code
r-miraiposit-dev/skillsSkill58222d agoMITA74Claude Code
r-cran-statusposit-dev/skillsSkill58222d agoMITA105Claude Code
paper-opportunity-radartamdogood/builder-essential-skillsSkill2307d agoMITA98Codex
aria-clinical-researchpkotecha-eng/aria-mcp-serverSkill32d agoMITA137Claude Code
aql-authoringCadasto/openehr-assistant-pluginSkill62mo agoMITA102Claude Code
cutting-planes-valid-inequalitieshajibabaie/combinatorial-optimization-skillsSkill235mo agoMITA127Claude Code