Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Figure Legend Check

    1

    Make each figure legend say exactly what the image shows, one claim at a time.

    Free

    Security scanned
    Figure Legend Check

    Figure Legend Check

    Example session with this skill installed

    Check the legend of Figure 1 against the image in demo_manuscript_revised.docx and propose a corrected legend

    • Read your context and instructions
    • Compiled the figure legend check

    Figure 1: legend vs image

    Summary: 2 of the 6 claims of the legend are wrong: the Site B bars are blue, not green, and the figure has no error bars. The bar heights and the dashed line agree with the data and with Table 1. A corrected legend is proposed below.

    Extraction (extract_figures.py, output unedited)

    fig_p015_image1.png                       39 KB | Figure 1. Mean number of chitinase genes per genome for each genus, drawn with Tool C [4].…
    
    1 image(s) extracted to legend-vs-figure/images, each with its full legend in a .txt file of the same name
    

    Image checked at full resolution (1200 × 720 px).

    Legend checked (full text, from fig_p015_image1.txt): "Figure 1. Mean number of chitinase genes per genome for each genus, drawn with Tool C [4]. Bar color indicates the site: red bars, Site A; green bars, Site B. Error bars show the standard deviation. The dashed line marks the mean over all 20 genomes (4.2 chitinase genes per genome)."

    Legend claimWhat the image showsVerdictProposed correction
    "Mean number of chitinase genes per genome for each genus"y axis "Chitinase genes per genome"; 3 genera on the x axisOK
    "red bars, Site A"red bars, embedded legend "Site A"OK
    "green bars, Site B"the Site B bars are blue (embedded legend "Site B")Wrong colour"blue bars: Site B"
    "Error bars show the standard deviation"no error bars on any barNot visibledelete the sentence
    "dashed line … mean over all 20 genomes (4.2 …)"black dashed line just above 4, embedded legend "Mean, all genomes"; recomputed mean of the 20 genomes = 4.2OK
    "drawn with Tool C [4]"cannot be seen on an imageNot verifiable herekeep; check that [4] is a live Zotero field (zotero-citation-audit)

    Check against the data: bar heights 7.0 / 5.0 (B. exemplaris), 4.5 / 2.0 (Fictibacter sp.), 3.5 / 1.5 (Imaginomonas sp.) are identical to Table 1 and to demo_data.tsv.

    Corrected legend

    Figure 1. Mean number of chitinase genes per genome for each genus, drawn with Tool C [4]. Red bars: Site A; blue bars: Site B. The dashed line marks the mean over all 20 genomes (4.2 chitinase genes per genome).

    This also removes "color" (US spelling; "colour" in British English) and keeps the legend as one single paragraph.

    Image defect to fix at the source (cosmetic): the first x-axis label shows a wide gap, "B. exemplaris". Fix it in the plotting script, not in the .docx.

    Next steps: paste the corrected legend, update the response to Reviewer 2 (it quotes this legend), regenerate the PDF and re-read lines 29–32.

    Fix it in the plotting script, not in the .docx

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    Splits a legend into individual claims and checks each against the full-resolution image: colours, symbols and their number, positions, panels, axes, units.

    • Proposes a corrected legend
    • Lists image defects to fix in the original software (cropped letters, misplaced symbols)

    Included

    • extract_figures.py: extracts every image of a .docx at full resolution with its nearest legend

    Field-tested on a real, successful research project.

    Requires full-resolution source images, not PDF screenshots. Does not automatically fix source plotting scripts or image files.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Requires

    Python
    python-docx

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed6 days ago

    What's inside

    Frequently Asked Questions

    No. It works on copies and reports what it finds. Edits are applied only after you approve them, on a backed-up copy.

    The method works in any language. The automatic spelling checks (US/UK, -ise/-ize) are written for English text.

    The method is built for Word (.docx) manuscripts, with or without Zotero. Zotero-specific checks are skipped if there are no Zotero fields.

    No. Everything runs locally on your files; the scripts make no network calls.

    New in Research & Analysis