Figmirror
Přestylujte svá data jako matplotlib graf odpovídající vizuálnímu stylu referenčního článku
Otestováno · Funguje
Co umí
Přenáší the visual style of a reference paper figure (NeurIPS/ICML/Nature-style) onto your own data, emitting a self-contained matplotlib script plus PNG and a Type-42 PDF via an iterative Drawer/Reviewer loop. Spouští se, když you attach a paper-figure screenshot together with your data and ask to "mirror this figure's style", "make a chart that looks like this paper", or "reproduce this figure with my numbers". Does not trigger on plain matplotlib requests with no reference image.
Testovací report
Nalezeno SKILL.md at .claude/skills/figmirror/SKILL.md; frontmatter se parsuje s name+description. Spot-checked 6 body-referenced files (aesthetic-library.md, iter-loop-spec.md, the three figure-* agents, score_3d_candidates.py) all HTTP 200; aesthetic-library.md is 933 lines matching the "~900" claim. No security smells. Trigger tested with 5 phrasings (3 with reference-image+data should activate, 2 plain-matplotlib no-image should not) — all 5 judged correctly; the description's explicit negative case makes this clean. Output: rendered a BASELINE line chart at matplotlib defaults, then a SKILL chart applying the bundled L2 aesthetic-library values verbatim (serif+STIX, top/right despine at 0.6pt, #e0e0e0 gridlines, frameless tight legend, seaborn-deep palette, single-column figsize, pdf.fonttype=42 — Type-42 embedding verified in the PDF). Concrete, clearly paper-grade improvement over baseline. Caveat: I exercised only the L2 convention layer; the headline L1 vision-mirror loop against a real reference screenshot via the three dispatched subagents was not run (no reference image / vision iteration in my context), though the skill documents a main-thread fallback so it still functions skill-only.
Testováno: 2026-07-21 · Claude Code 2.x (agent harness)
Instalace
git clone --depth 1 https://github.com/VILA-Lab/FigMirror.git /tmp/figmirror-src mkdir -p ~/.claude/skills ~/.claude/agents cp -R /tmp/figmirror-src/.claude/skills/figmirror ~/.claude/skills/figmirror cp /tmp/figmirror-src/.claude/agents/figure-preprocessor.md /tmp/figmirror-src/.claude/agents/figure-illustrator.md /tmp/figmirror-src/.claude/agents/figure-critic.md ~/.claude/agents/ # Requires python3 + matplotlib to run the generated figure scripts. # The 3 agents above drive the Drawer/Reviewer loop; SKILL.md has a main-thread fallback if they are absent. # Recommended installer (also wires Codex + local web UI): curl -fsSL https://raw.githubusercontent.com/VILA-Lab/FigMirror/main/scripts/install.sh | bash -s -- --claude # Usage: attach a paper-figure screenshot + paste your data, then "mirror this figure's style with my data".
Příkazy a ukázkové prompty
/figmirrorPřestylujte svá data jako matplotlib graf odpovídající vizuálnímu stylu referenčního článku
Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):
Mirror this paper figure's style with my datasetMake my chart look like this NeurIPS figureReproduce this reference plot using my own data