Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/tobiasblask/open-paper-machine/figure-enginenpx skills add TobiasBlask/open-paper-machine --skill figure-enginegit clone --depth 1 https://github.com/TobiasBlask/open-paper-machineWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tobiasblask/open-paper-machine/figure-engine)<a href="https://agentmods.dev/skills/tobiasblask/open-paper-machine/figure-engine"><img src="https://agentmods.dev/badge/skills/tobiasblask/open-paper-machine/figure-engine.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.02330 |
| Opus 5 | $0.00026 | $0.01165 |
| Sonnet 5 | $0.00011 | $0.00466 |
| Haiku 4.5 | $0.00005 | $0.00233 |
Grade B, and why
figure-engine scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
PB_SCRIPT="$(find ~/.claude/plugins -name paperbanana_direct.py -path '*/open-academic-paper-machine/*' 2>/dev/null | head -1)" How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Orchestration Log: When this skill is activated, append a log entry to
outputs/orchestration_log.md:### Skill Activation: Figure Engine **Timestamp:** [current date/time] **Actor:** AI Agent (figure-engine) **Input:** [brief description of the figure request] **Output:** [brief description of what was produced — e.g., "Generated methodology diagram (fig03_methodology.png), 3 iterations"]
Figure Engine
Core Principle
Academic papers need professional figures. This skill eliminates manual design work by using PaperBanana to generate publication-quality diagrams and plots from text descriptions or data files. Claude should produce ACTUAL FIGURES, not describe what to draw.
Based on: Zhu, D., Meng, R., Song, Y., Wei, X., Li, S., Pfister, T., & Yoon, J. (2026). PaperBanana: Automating Academic Illustration for AI Scientists. arXiv:2601.23265. The pipeline uses a 5-agent, 2-phase architecture: Retriever → Planner → Stylist (Phase 1: planning), then Visualizer ↔ Critic iterative refinement (Phase 2: generation) with VLM-as-Judge evaluation. Official research repo:
dwzhu-pku/PaperBanana.
Prerequisites
PaperBanana must be installed: pip install paperbanana[mcp,google]
A GOOGLE_API_KEY must be available via one of:
- Environment variable
GOOGLE_API_KEY .envfile in project root~/.paperbanana.env
Get a free key at https://aistudio.google.com/apikey
Method Priority
Priority Order:
- PRIMARY — Direct Python API (via Bash → python3) — ALWAYS use this
- FALLBACK — matplotlib/seaborn — If PaperBanana is not installed at all
Note: The PaperBanana MCP server is NOT used. The MCP stdio transport is unreliable (timeouts, hangs, silent failures). Always use the direct Python API.
Method 1: Direct Python API (PRIMARY — Always Use This)
The plugin ships a helper script scripts/paperbanana_direct.py that calls the
PaperBanana Python API directly via asyncio.run(), completely bypassing the
MCP stdio transport. It outputs JSON to stdout.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 262 lines · 53 tokens per session scan B c4e541046db6
figure-engine is a skill published in the GitHub repository TobiasBlask/open-paper-machine (18 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 2,330 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
component-design
Reusable component patterns including VGroup subclasses, helper methods, encapsulated visualizations, and alwaysredraw patterns.
math-typography
Mathematical rendering with MathTex, Tex, textocolormap, custom equation classes, and formula animation patterns.
meta-ads-creative
Create evidence-based Meta ad creative briefs, copy angles, and testable asset concepts for Facebook and Instagram. Use when asked for Meta ad creative, Facebook ads copy, Instagram ad assets, UGC concepts, creative briefs, new ad concepts, or creative refreshes.
paid-ads-creative
Create grounded paid-media creative concepts, copy angles, refresh hypotheses, and measurable test briefs across advertising platforms. Use for ad copy, creative briefs, UGC concepts, headlines, creative fatigue, asset ideas, or a creative refresh.
remove-ai-marks
Strip multi-vendor AI provenance from owned files: hidden Unicode (Layer A), statistical sampling watermarks via rewrite (Layer B — always offer), and C2PA/EXIF/XMP/container metadata on PNG/JPEG/WebP/SVG/PDF/DOCX/ODT/HTML/MD. Covers Claude, Gemini/SynthID-class, OpenAI provenance surfaces, and open-LLM sampling…
cran-extrachecks
Prepare R packages for CRAN submission by checking for common ad-hoc requirements not caught by devtools::check(). Use when: (1) Preparing a package for first CRAN release, (2) Preparing a package update for CRAN resubmission, (3) Reviewing a package to ensure CRAN compliance, (4) Responding to CRAN reviewer feedback.…