make-figures

make-figures is a skill for Claude Code from Aperivue/medsci-skills. It costs 65 tokens per session (8,392 once invoked), scanned A, original, MIT.

A generator for publication-ready medical-research figures and visual abstracts, including plots, study flow diagrams, and graphical summaries.

In plain words
What is it for?
Use it to create figures such as ROC curves, forest plots, calibration plots, Kaplan–Meier curves, confusion matrices, and CONSORT, STARD, or PRISMA diagrams.
Why use it?
It helps produce clear figures that meet journal requirements for size, resolution, fonts, and accessible colours.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is style_path = os.path.join(os.environ.get('CLAUDE_SKILL_DIR', '.'), '../analyze-stats/references/style/figure_style.mplstyle').

Part of the medsci-analysis plugin — 6 skills shipped together

Good fit Use it to create figures such as ROC curves, forest plots, calibration plots, Kaplan–Meier curves, confusion matrices, and CONSORT, STARD, or PRISMA diagrams.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Aperivue/medsci-skills
agentmods
npx agentmods add skills/aperivue/medsci-skills/make-figures

Made for: Claude Code.

Or install medsci-analysis, the plugin that ships this one along with the rest of its 6 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 make-figures

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/make-figures"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/make-figures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,392 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 446
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Rogue Agent · line 291
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00065 $0.08392
Opus 5.5 $0.00026 $0.03357
Sonnet 5.5 $0.00013 $0.01678
Haiku 4.5 $0.00006 $0.00839

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

Security

Grade A, and why

make-figures 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 20d 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/make-figures/SKILL.md · 544 lines

How it starts

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

Make-Figures Skill

Data Privacy Check

Before reading any data file, check whether it might contain Protected Health Information (PHI):

  1. If *_deidentified.* files exist in the working directory, use those preferentially.
  2. If only raw CSV/Excel files exist (no *_deidentified.* counterpart), ask the user, in their language, whether the data contains patient identifiers (names, national ID / RRN, contact details, etc.) and, if so, to de-identify it first with the /deidentify skill.
  3. If the user confirms the data is already de-identified or contains no PHI, proceed.

Reference Files

  • Figure specifications: ${CLAUDE_SKILL_DIR}/references/figure_specs.md — read it before generating any figure (journal dimensions, DPI, file formats, palettes, font sizes, panel layouts, caption format).
  • Figure style: ${CLAUDE_SKILL_DIR}/../analyze-stats/references/style/figure_style.mplstyle

Journal AI-Image Policies (CRITICAL — check BEFORE generation)

Journal family Policy on AI-generated images Disclosure required
JACC family (incl. JACC: Asia, JACC Imaging, JACC EP, JACC BTS) Prohibited without prior Editor-in-Chief permission (JACC pathway, PMC10167500) Cover-letter pre-submission inquiry + ICMJE-style declaration
NEJM AI image generation prohibited N/A
Radiology / Radiology AI Allowed with disclosure Manuscript disclosure block
Springer Nature (Nature Portfolio, BMC, Springer journals) Allowed only when the visual is derived from independently verifiable data, source material, methods or code; AI visuals without verifiable inputs are "opaque" and not permitted. Charts from datasets and author-reviewed code-generated figures are the policy's own allowed examples (AI in manuscript preparation) Declare model and purpose; disclose non-generative image edits in the caption
Elsevier journals (publisher policy) Explanatory images (flow charts, schematics) allowed. Data visualizations only when directly derived from the underlying data by reproducible methods. Primary research images, including radiology scans and patient images, must not be created or altered with AI. AI images produced as part of the research methods are permitted. Graphical abstracts: dedicated illustration tools, not general-purpose generative AI (Generative AI policies for journals) Caption + AI disclosure statement (explanatory); Methods (data visualizations, research-method use)
Lancet family Disclosure required, generation discouraged Manuscript disclosure
Default (target unknown) Treat as prohibited until confirmed N/A

Read the full file on GitHub · 544 lines

Files

What ships with it

60 files 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. 20d ago Changed 38fc08aee577
  2. 22d ago Changed · +19 lines 131f2d9d12a2
  3. 24d ago Changed · -413 lines · -6 tokens per session 6349d028ad21
  4. 1mo ago Changed · +1 lines 66f08bb072fc
  5. 1mo ago Changed · -2 lines 0bb57c398397
  6. 1mo ago First seen · 939 lines · 71 tokens per session scan A e343de9c90b9

Subscribe to this mod's changes

make-figures is a skill published in the GitHub repository Aperivue/medsci-skills (349 stars, last pushed 3d ago), licensed MIT. It adds 65 tokens to every session and 8,392 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-08-30.

Related

Other skills, from other repositories