Skip to content
Research
Skill

/figure-library

Search, browse, select, import, review, publish, and materialize reusable scientific-figure assets through Scientific Figure Library. Use for finding plotting references or managing the shared figure library; the host executes project tasks.

From plugin
figure-library
1401 skill

Claude Code

$ npx -y skills add xuzhougeng/ScientificFigureLibrary --skill figure-library --agent claude-code

SKILL.md

figure-library.SKILL.md
name: figure-library
description: Search, browse, select, import, review, publish, and materialize reusable scientific-figure assets through Scientific Figure Library. Use for finding plotting references or managing the shared figure library; the host executes project tasks.

Scientific Figure Library 0.9.3

Use the connected SFL tools and one user-selected global Library. The MCP App is optional: ordinary MCP tools can supply guidance, candidate thumbnails, pagination, exact previews, and materialization without loading App HTML.

For network problems, use `figure_library_network_status` to inspect this MCP process's same-user/machine loopback HTTP proxy setting and `figure_library_network_test` for a bounded check of the fixed SFL GitHub Release endpoint. Remote or container MCP processes have separate settings. `figure_library_update_status` reports the running version, latest stable Release cache, freshness, and exact Release link; `{ "refresh": true }` checks manually. A new-version notice may appear as one additional text item on a successful tool result; keep the structured result authoritative. Updating is manual and requires restarting the MCP process. These three tools return the standard terminal envelope and status fields in `structuredContent`. Read `envelope.code`, `terminal`, and `retrySameCall` before acting; do not repeat a failed diagnostic unchanged. A fresh update result with `cachePersisted: false` is still valid for this process; report its cache warning separately instead of treating the network check as failed.

Load only the guidance needed

This is the single Skill entrypoint. Read supporting files locally, or call `figure_library_get_skill` with `document` set to their path relative to this Skill directory. Calling it with no arguments returns this file plus the available document IDs, resource URIs, hashes, service version and capabilities. Resource-capable hosts may read those URIs instead. Resolve relative links against the current document's directory; use the returned document IDs. The tool returns the same bundled text, including optional helper source; reading it does not install a Skill, execute helpers, or grant write approval.

  • For binding, intake, review, publication, Provider management, backup, or

recovery, read [library workflows](references/library-workflows.md) before planning a change. The tool schemas remain authoritative for parameters.

  • Before creating/updating template prose, read

[description guidance](references/figure-description/GUIDE.md). Keep description, application, dataProfile, and visualProfile separate.

  • When the user requests adapting a selected template, read

[script organization](references/figure-organization/GUIDE.md) and [style and render checks](references/figure-style/GUIDE.md), then only their relevant backend references. Preserve the reference style by default.

  • Export diagnostics only when requested, using `figure_library_export_diagnostics`.

Recreate and publish templates

Use the existing description/style/organization guidance. Propose a readable English subtitle and a source-grounded scientific question; inspect the whole figure and relevant panel/legend/axis crops before and after rendering. The host runs plotting, not SFL. Use figure_library_plan_publish → one human review → figure_library_apply_publish. Default publication is local; open_module is explicit and ends at a PR. See [library workflows](references/library-workflows.md) for proposal fields and recovery. Keep provenance/execution truth in metadata, not repeated template-facing disclaimers.

Search and display candidates

1. Call `figure_library_source_status` when the effective Library/setup is unknown. On `setup_required`, use the binding workflow and ask for the missing absolute global Library and Local workspace directories. Never infer either directory from the current project. `figure_library_open` opens the optional App when the user requests it. 2. First state the user's core need to yourself: data shape, scientific question, required visual form, language. Inspect user-provided reference images with the host viewer first. Do not invent a need when the user only asks to open the library. 3. Default: choose from the catalog by meaning. Call `figure_library_list_catalog` with `limit: 0` to read per-Provider counts and familyGroup/domain/language facets. Narrow by `familyGroup` (figure type) or `domain` (research field such as `single_cell` or `spatial`) only when one value clearly fits the need — the two combine, and an entry can belong to several of each (FigureYa entries marked `analysis` prepare data and draw no figure) — and by `providerIds`/`language`/`assetKind` only when the user stated them (`other`/`unclassified` hold analysis-only and unlabelled templates; when unsure, do not narrow), then read the compact entry pages with the returned `resultSetId` and `nextOffset`. Reading these text pages is expected; it shows no images. Pick at most 6 entries that satisfy the core need and give each a one-line reason. Read the full catalog once per session: for later figure requests, reuse the entries you already read and call only `limit: 0` to compare its `catalogRevision`; re-read the pages only when it changed. Listed `candidateId`s belong to their listing `resultSetId`; if image tools report it stale, list again before displaying. 4. Use `figure_library_search` (keyword) only when the user names a template or chart type, or as a quick first try. Zero or poor keyword hits never mean the library lacks the figure; fall back to step 3. Only after the default Providers were listed without filters may you say a figure type is missing. Both tools return a `resultSetId` and result-scoped `candidateId`s; search also returns provider-qualified `exactSelector`s and thumbnail URIs. Keep returned identities unchanged. Default Providers ar

Read more
@xuzhougeng
Ships withfigure-library

Website · 简体中文 · Quickstart · User Guide (online) · Protocol · Releases · Scientific Figure Library (SFL) is a local-first MCP server and MCP App for your scientific figures.

Stars on GitHub

Momentum

stars in total
140
Star history of xuzhougeng/ScientificFigureLibrary on GitHub, a chart by star-history.com

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about figure-library.

Which coding agents can use figure-library?
figure-library installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.