{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "xuzhougeng-scientificfigurelibrary--build-personal-figure-template-library",
 "repo": "xuzhougeng/ScientificFigureLibrary",
 "repo_url": "https://github.com/xuzhougeng/ScientificFigureLibrary",
 "repo_slug": "xuzhougeng-scientificfigurelibrary",
 "title": "Keep a versioned library of your figure templates",
 "page_title": "How to keep a versioned library of your figure templates with Scientific Figure Library",
 "summary": "Install Scientific Figure Library as an MCP server, bind one global Library folder, and import figures with their code as reviewed, immutable releases.",
 "who": "A researcher or bioinformatician who reuses plotting code across papers and wants every figure template versioned with the exact code that made it.",
 "problem": "Figure scripts are scattered across old projects, and nobody remembers which version produced the plot in the published paper.",
 "outcome": "One local library of reviewed figure templates, each release hashed and versioned, searchable from Claude, Codex, Cursor, Pi or dsh.",
 "steps": [
  "For Pi run `pi install npm:pi-mcp-adapter` and then `pi install npm:scientific-figure-library`",
  "For other stdio hosts, follow docs/QUICKSTART.md and register the server figure-library pointing at dist/index.js (Node.js 22 or newer)",
  "Restart the host and call figure_library_get_skill, then figure_library_source_status",
  "If it reports setup_required, bind one absolute global Library directory and a Local workspace",
  "Import a figure image with its code and review it at the gate",
  "Publish an immutable Release so it shows up under Local Published"
 ],
 "agent_prompt": "Call figure_library_source_status. If writes are disabled, help me bind <absolute path> as my global Library after I confirm. Then import the figure <image path> with its code <script path>, review it and publish a release named <name>. Do not execute R or Python.",
 "agents": [
  "codex",
  "cursor",
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The server does not run plotting code; your host agent inspects and runs files.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "typescript",
 "requirements": [
  "An MCP host such as Pi, DeepSeek Harness (dsh), Claude, Codex or Cursor",
  "Node/npm for the Pi install"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xuzhougeng-scientificfigurelibrary/build-personal-figure-template-library/",
 "md": "https://dedupedai.com/use-cases/xuzhougeng-scientificfigurelibrary/build-personal-figure-template-library/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/xuzhougeng-scientificfigurelibrary--build-personal-figure-template-library.json",
 "api_version": "v1"
}
