FigMirror

作者 VILA-Lab已验证

An Automated AI Agent Tool for Plotting Your Data in Any Paper's Figure Style.

507
Stars
36
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/VILA-Lab/FigMirror

快速入门

使用 FigMirror 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

FigMirror

FigMirror: Plot Your Data in Any Paper's Style.
Pick a reference figure, paste your data, and get an editable matplotlib script plus a camera-ready PDF.

FigMirror turns repeated plotting-code edits into a polished paper figure

Web UI Codex skill Claude Code skill FigMirror gallery Contributions welcome

Showcase | Milestones | Quick Start | How It Works | Star History | Method | Contribute

English | 中文

🔥 Milestones

  • Jun 1, 2026 — FigMirror release: shipped FigMirror as Claude Code and Codex skills, with a local Web UI for upload, iteration browsing, and refinement.
  • Jun 17, 2026 — Algorithm update: refined the Codex path with role-separated Drawer / Reviewer agents, far-near visual review views, reviewer bounding boxes, and annotated feedback passed into the next iteration.
  • Jul 1, 2026 — Evaluation update: built an internal hybrid style scorer for repeatable method comparison.
  • Future — Paper release: release the scorer protocol, benchmark design, baselines, and analysis.

Showcase

FigMirror uses a reference figure as the style target, then renders your data through an iterative Drawer / Reviewer loop until the output looks like it belongs in the same paper family.

ReferenceFigMirror Output
reference paper-style figureFigMirror generated paper-style output
ReferenceFigMirror OutputReferenceFigMirror Output
reference joint hexbin plotFigMirror generated joint hexbin outputreference 3D waterfall plotFigMirror generated 3D waterfall output

Browse the FigMirror gallery
No high-quality reference at hand? Start from 139 paper figures across 25 chart families.

Quick Start

Install With Your Claude / Codex

Already inside Claude Code or Codex? Paste this and let the agent do the setup:

Install FigMirror for me: https://github.com/VILA-Lab/FigMirror

Web UI

Use this when you want upload, preview, iteration history, and refinement in a browser.

If uv is missing: python3 -m pip install uv.

git clone https://github.com/VILA-Lab/FigMirror.git && cd FigMirror
bash scripts/install.sh
uv run python scripts/figcopy_serve.py --workspace .artifacts/figmirror-workspace --backend codex

Open http://127.0.0.1:8765/.

The installer auto-detects Claude Code and Codex. For Codex, it installs the figmirror skill plus the figmirror-drawer and figmirror-reviewer custom agents used by the current role-separated algorithm.

Skill Only

Use this when you want FigMirror inside your agent, no web UI.

curl -fsSL https://raw.githubusercontent.com/VILA-Lab/FigMirror/main/scripts/install.sh | bash

Target one runtime explicitly:

curl -fsSL https://raw.githubusercontent.com/VILA-Lab/FigMirror/main/scripts/install.sh | bash -s -- --codex
curl -fsSL https://raw.githubusercontent.com/VILA-Lab/FigMirror/main/scripts/install.sh | bash -s -- --claude
curl -fsSL https://raw.githubusercontent.com/VILA-Lab/FigMirror/main/scripts/install.sh | bash -s -- --all

Then attach a paper-figure screenshot, paste your data, and ask:

Use FigMirror to mirror this figure's style with my data.

Need manual target selection, Claude backend, or troubleshooting? See Detailed Install.

How It Works

FigMirror architecture loop and grounded measurement algorithm

Illustration of FigMirror. The left panel shows the core agentic loop; the right panel introduces Grounded Measurement.

FigMirror uses an agentic Drawer-Reviewer loop. In the current Codex path, a top-level Orchestrator delegates drawing to a named Drawer agent and visual audit to a named Reviewer agent. The Reviewer sees a far-view composite plus full-resolution source and candidate views, returns structured feedback with bounding boxes, and the Orchestrator turns that feedback into an annotated image and notes for the next Drawer pass.

The Drawer renders a candidate figure with Grounded Measurement. The Reviewer compares it with the reference image, then returns a visual review, a revision checklist, and a preserve list. The preserve list accumulates across iterations as an anchor against style drift. The Aesthetic Lib provides fallback principles, style rules, and figure properties when the agents disagree or the Drawer has low confidence.

For 3D figures, FigMirror adds geometry-aware prompting for camera, scale, surfaces, lighting, and repair checks, helping the loop preserve the 3D composition of the reference figure while producing editable matplotlib code.

Grounded Measurement builds on two properties of computer-use-trained foundation models: Measurement with Axis, which lets the model return x/y coordinates for visual targets; and Resonate with Code, which turns those coordinates into executable checks, such as cropping a line segment and reading its color from pixels.

For the detailed algorithm, architecture, product envelope, and spec map, read docs/method.md. For the web UI, see scripts/README_figcopy_serve.md.

Contributing

FigMirror welcomes contributions!

Open an issue for bugs, broken installs, or figure cases FigMirror should learn from; open a PR for showcase examples, prompt improvements, UI polish, or small regression tests.

  • Showcase cases: add reference/output pairs that prove the method across chart families.
  • UI polish: make the web workflow feel instant, legible, and forgiving.
  • Prompt and reviewer quality: improve the Drawer / Reviewer loop without weakening the grounding rules.
  • Evaluation: add reproducible cases that catch visual drift, floor violations, and broken exports.

Start with docs/contributing.md. Good first PRs include adding a showcase example, improving a web UI interaction, tightening install docs, or adding a small regression test around runner behavior.

Star History

FigMirror GitHub star history chart

Rendered by Star History from GitHub stargazer data, so the chart stays current as the repository grows.

Roadmap

  • Ship the reference-to-figure loop as Codex and Claude Code skills.
  • Add a local Web UI for upload, iteration browsing, and refinement.
  • Publish a 139-figure gallery so users can start without hunting for references.
  • Refine the Codex algorithm with role-separated Drawer / Reviewer agents and bbox-annotated visual feedback.
  • Build an internal hybrid style scorer for repeatable method comparison.
  • Release the scorer protocol, benchmark design, baselines, and analysis in a paper.
  • Curate a public benchmark set with reference figures, input data, generated outputs, and human preference labels.
  • Harden install and runtime docs for more OpenAI-compatible and local-agent backends.

常见问题

What is FigMirror?

FigMirror is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by VILA-Lab. An Automated AI Agent Tool for Plotting Your Data in Any Paper's Figure Style. It has 507 GitHub stars.

Is FigMirror safe to use?

Yes. FigMirror passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install FigMirror?

Clone the repository with "git clone https://github.com/VILA-Lab/FigMirror" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is FigMirror written in?

FigMirror is primarily written in Python. It is open-source under VILA-Lab on GitHub, so you can review or fork the full source.

Are there alternatives to FigMirror?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh FigMirror against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情