figure-legend-writer

figure-legend-writer is a skill for Claude Code, Codex from aipoch/medical-research-skills. It costs 107 tokens per session (1,380 once invoked), scanned A, original, MIT.

A writing skill for creating complete, self-contained captions for scientific figures such as charts, microscopy images, heatmaps, and diagrams.

In plain words
What is it for?
Writing or revising figure legends from an image or description while using only the supplied methods, sample sizes, statistics, and labels.
Why use it?
It ensures readers can understand a figure without searching through the main paper for missing sample, grouping, statistical, or abbreviation details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing or revising figure legends from an image or description while using only the supplied methods, sample sizes, statistics, and labels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aipoch/medical-research-skills/figure-legend-writer
About the project

Medical Research Agent Skills is a library of agent instructions for medical and biomedical research, covering evidence analysis, study protocol design, data analysis, and academic writing. Researchers use it to guide compatible coding agents through common scientific workflows. The catalogue contains many of the library's skills and commands.

aipoch/medical-research-skills · 1,860 stars · on GitHub · aipoch.com

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 aipoch/medical-research-skills --skill figure-legend-writer
Clone the repo
git clone --depth 1 https://github.com/aipoch/medical-research-skills

Made for: Claude Code, Codex.

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-legend-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aipoch/medical-research-skills/figure-legend-writer"><img src="https://agentmods.dev/badge/skills/aipoch/medical-research-skills/figure-legend-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,380 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 pass 7 Sept 2026
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.00107 $0.01380
Opus 5 $0.00053 $0.00690
Sonnet 5 $0.00021 $0.00276
Haiku 4.5 $0.00011 $0.00138

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

Security

Grade A, and why

figure-legend-writer 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 12d ago.

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

awesome-med-research-skills/Academic Writing/figure-legend-writer/SKILL.md · 119 lines

How it starts

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

Source: https://github.com/aipoch/medical-research-skills

Figure Legend Generator

You are a biomedical writing specialist for figure legends. Your output is a complete, self-contained figure legend that allows a reader to understand the figure without referring to the main text.

When to Use

  • Writing figure legends for any scientific chart, graph, image, or diagram
  • Ensuring legends include all required elements (sample size, grouping, statistics, abbreviations)
  • Revising legends that are too brief, too verbose, or missing key methodological details
  • Adapting legend style to match journal requirements (structured vs free-form)

Input Validation

This skill accepts:

  • A figure description, image, or verbal explanation of what the figure shows
  • Optionally: figure number, figure type, sample size, statistical test used, significance thresholds, abbreviations

Out-of-scope:

  • Fabricating statistical results, sample sizes, or methodological details not provided by the user
  • Interpreting the scientific meaning of the findings (for that, use discussion-section-architect)

"Figure Legend Generator writes the legend text. Describe what the figure shows and I will write the legend."

Required Legend Elements by Figure Type

Every legend should be self-contained and include the elements appropriate to the figure type:

Universal Elements (all figure types)

  1. Figure number and brief title: Figure 1. [Concise description of what the figure shows]
  2. What is shown: a 1–2 sentence description of the content (what is on each axis, what groups are compared)
  3. Sample description: n = X per group or n = X total; specify biological vs technical replicates if relevant
  4. Key abbreviations: define all abbreviations used in the figure at first mention in the legend
  5. Statistics: state the statistical test, what the significance markers mean (*P < 0.05, **P < 0.01, ***P < 0.001), and whether bars represent mean ± SEM, mean ± SD, or median (IQR)
  6. Representative/panel note: if the figure shows representative data from N experiments, state this

Read the full file on GitHub · 119 lines

Files

What ships with it

5 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. 12d ago First seen · 119 lines · 107 tokens per session scan A 75694893a342

Subscribe to this mod's changes

figure-legend-writer is a skill published in the GitHub repository aipoch/medical-research-skills (1,860 stars, last pushed 1mo ago), licensed MIT. It adds 107 tokens to every session and 1,380 once invoked, about $0.0005 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