{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "xuzhougeng-scientificfigurelibrary--reuse-exact-figure-in-new-project",
 "repo": "xuzhougeng/ScientificFigureLibrary",
 "repo_url": "https://github.com/xuzhougeng/ScientificFigureLibrary",
 "repo_slug": "xuzhougeng-scientificfigurelibrary",
 "title": "Reuse an exact figure template in a new project",
 "page_title": "How to reuse an exact figure template in a new project with Scientific Figure Library",
 "summary": "Search your Local Published library from your agent, confirm one template card, then materialize that exact version into an empty folder of the new project.",
 "who": "A researcher starting a new analysis who wants the same plot style and code as a past paper, not a redrawn approximation.",
 "problem": "Asking an agent to recreate a figure gives a similar plot with different code, so styles drift between papers.",
 "outcome": "The confirmed template's exact files copied into your project, ready to adapt to new data, with nothing copied until you approve it.",
 "steps": [
  "Open the new project in your MCP host with the figure library installed",
  "Ask the agent to open the workbench and search your Local Published templates",
  "Preview candidates and confirm one card",
  "Let the agent plan materialization into an empty folder you name",
  "Approve the plan so the exact files are written",
  "Swap in your new data inputs and run the code with your own R or Python setup"
 ],
 "agent_prompt": "Open the figure library workbench and search my Local Published templates for <plot type>. Wait for me to confirm one card. Then plan materialization into <empty folder>. Do not execute R or Python. Do not redraw the figure.",
 "agents": [
  "codex",
  "cursor",
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Drawing new data still needs approved R or Python runtimes in your host.",
 "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": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/xuzhougeng-scientificfigurelibrary/reuse-exact-figure-in-new-project/",
 "md": "https://dedupedai.com/use-cases/xuzhougeng-scientificfigurelibrary/reuse-exact-figure-in-new-project/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--reuse-exact-figure-in-new-project.json",
 "api_version": "v1"
}
