Figure Legend Writer logo

Figure Legend Writer

OrganizationPopular
aipoch
figure-legend-writer

Writes complete, publication-grade figure legends that can stand on their own. Use when writing or revising figure legends for any scientific figure — bar charts, line graphs, scatter plots, box plots, heatmaps, survival curves, flow cytometry plots, western blots, microscopy images, or schematic diagrams. Also triggers on "write a figure legend for", "help me describe this figure", "my figure needs a legend", "write Figure 1 legend", or "what should a figure legend include".

Overview

Publisheraipoch
Repositorymedical-research-skills
Skill namefigure-legend-writer
Stars
1.9K
Forks
175
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aipoch on GitHub. Read the source before you install it.

Installation

Install the Figure Legend Writer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Figure Legend Writer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Figure Legend Writer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Figure Legend Writer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Figure-Type-Specific Elements

Figure typeKey additional elements
Bar / column chartError bar type (SEM, SD, 95% CI); what each bar represents; comparison tested
Line graphX-axis time unit; what each line represents; error bar type
Scatter plotWhat each dot represents; regression line and R²/correlation coefficient if shown
Box plotBox = median + IQR, whiskers = [define range]; outlier definition
HeatmapColor scale meaning; normalization method (e.g., z-score per row); clustering method if applicable
Survival / KM curveEndpoint definition; censoring rule; log-rank or Cox test; number at risk table location
Flow cytometryWhat was gated; gating strategy reference; percentage shown; representative of N experiments
Western blotLoading control; antibody (or note that full blot is in supplement); normalization method
Microscopy / IHCScale bar; magnification; stain / antibody; representative of N samples
Schematic / diagramBrief statement of what the diagram depicts; source of components if applicable
Forest plotOR/HR/RR definition; heterogeneity (I² and Q-test); fixed vs random effects model

Core Workflow

Step 1 — Identify Figure Details

Ask the user to provide (or infer from description):

  • What type of figure is it?
  • What does each panel/axis/group show?
  • How many samples per group / total N?
  • What statistical test was used? What do significance markers represent?
  • What do error bars represent?
  • Any abbreviations in the figure that need defining?

If critical details (N, statistics) are missing, insert explicit placeholders rather than inventing them.

Step 2 — Write the Legend

Follow this structure:

Figure X. [Brief title — what the figure shows in ≤15 words].

[Panel-by-panel or grouped description of what is shown. State axes, 
groups compared, and data type. Include sample size and replicate info.] 
[Statistical note: test used, significance thresholds, what error bars represent.] 
[Abbreviation definitions.] [Representative data statement if applicable.]

For multi-panel figures, address each panel separately:

(A) [Panel A description]. (B) [Panel B description]. ...

Step 3 — Quality Check

  • Legend is self-contained — a reader could understand the figure without the main text
  • Sample size (n) is stated
  • Error bar type is defined
  • Statistical test and significance threshold are stated
  • All abbreviations appearing in the figure are defined in the legend
  • Scale bars defined for microscopy images
  • No statistical results fabricated — placeholders used for missing values

Placeholder Convention

When information is missing, use explicit placeholders:

  • [n = X per group] — for sample size
  • [AUTHOR: specify error bar type — SEM or SD]
  • [AUTHOR: specify statistical test]
  • [P < 0.05 = *; exact thresholds to be verified]

Hard Rules

  • Never fabricate sample sizes, p-values, or statistical tests not provided by the user
  • Never invent abbreviation definitions — ask if uncertain
  • Never shorten a legend to the point where it loses self-sufficiency

References

→ Templates by chart type: references/legend_templates.md → Academic style guide: references/academic_style_guide.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Figure Legend Writer AI skill do?

Writes complete, publication-grade figure legends that can stand on their own. Use when writing or revising figure legends for any scientific figure — bar charts, line graphs, scatter plots, box plots, heatmaps, survival curves, flow cytometry plots, western blots, microscopy images, or schematic diagrams. Also triggers on "write a figure legend for", "help me describe this figure", "my figure needs a legend", "write Figure 1 legend", or "what should a figure legend include".

Why use Figure Legend Writer on TypingMind?

Because you install it once and use it with any model. Figure Legend Writer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Figure Legend Writer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aipoch/medical-research-skills/tree/main/awesome-med-research-skills/Academic%20Writing/figure-legend-writer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Figure Legend Writer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Figure Legend Writer?

As many as you like. As long as a model supports skills, you can use Figure Legend Writer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Figure Legend Writer AI skill free?

Yes. It is published on GitHub by aipoch under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇