figure-style

figure-style is a skill for Claude Code from emaballarin/ccplugins. It costs 219 tokens per session (4,314 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 219 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,314 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.00219 $0.04314
Opus 5.5 $0.00088 $0.01726
Sonnet 5.5 $0.00044 $0.00863
Haiku 4.5 $0.00022 $0.00431

Measured 15d ago against content hash db7c458cbbea, 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 15d 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 — 166 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 · 358 lines

How it starts

The opening of the file, as written. The whole thing — 358 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)

§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.


§1 Data fidelity & self-consistency

1.1 Excluded rows. A row marked excluded or flagged in the source data is either omitted entirely or drawn with a visually distinct open/hatched marker and named in the key. It never enters a summary statistic plotted alongside the included rows.

1.2 Comparable conditions only. Arms measured under non-comparable conditions (different N, epoch budget, initialisation, protocol) are not plotted as visual peers. Separate them with a facet break or a marker on the label, and state the difference once in the caption.

Read the full file on GitHub · 358 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. 15d ago Changed · +14 lines db7c458cbbea
  2. 1mo ago Changed · +6 lines · +52 tokens per session 36c6390e374e
  3. 1mo 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 10d ago), licensed MIT. It adds 219 tokens to every session and 4,314 once invoked, about $0.0009 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 166 lines, and is treated as a copy.

Related

Other skills, from other repositories

r-mirai

Help users write correct R code for async, parallel, and distributed computing using mirai. Use when users need to run R code asynchronously or in parallel, write mirai code with correct dependency passing, set up parallel workers, convert from future or parallel, use miraimap, integrate with Shiny or promises, or…

posit-dev/skills · 74 tokens

r-cran-status

Look up an R package's live status on cran.r-project.org - submission/review state (queue, human review, waiting, archived, past version's fate) or R CMD check results (OK/NOTE/WARN/ERROR per platform). Use for "what's the CRAN status of X", "did X get accepted/rejected", "is X passing CRAN checks", "when was version…

posit-dev/skills · 105 tokens

paper-opportunity-radar

Run a cumulative daily or retrospective sweep of research papers on a chosen topic, audit their claims, methods, integrity signals, and independent support, then identify overlooked but feasible project or business opportunities in a detailed source-grounded report. Use when asked to monitor papers every day, mine…

tamdogood/builder-essential-skills · 98 tokens

aql-authoring

This skill should be used when the user asks to "write an AQL query", "optimize an AQL query", "review AQL", or "query openEHR data" — the multi-step authoring/optimization workflow for AQL (Archetype Query Language) over openEHR clinical data. For a one-off explanation of an existing query or a single AQL…

Cadasto/openehr-assistant-plugin · 102 tokens

ant-colony-optimization

When the user wants to design, implement, or tune ant colony optimization for combinatorial problems, including pheromone model design, visibility heuristics, and choosing among Ant System, Ant Colony System, and MAX-MIN Ant System. Also use when the user mentions "ant colony," "ACO," "pheromone," "MMAS," "ant colony…

hajibabaie/combinatorial-optimization-skills · 137 tokens

benders-decomposition

When the user wants to solve a structured MILP or two-stage stochastic program by Benders decomposition — splitting it into an integer master and LP subproblems, deriving optimality and feasibility cuts from subproblem duals, and implementing either the classic iterative loop or branch-and-Benders-cut with…

hajibabaie/combinatorial-optimization-skills · 151 tokens