ai-figure-generation

ai-figure-generation is a skill for Claude Code from kinhluan/skills. It costs 57 tokens per session (2,600 once invoked), scanned A, original, MIT.

A tool for generating scientific pictures, diagrams, and illustrations with AI image models from research material. It is intended for visual explanations rather than exact data charts or precise mathematical drawings.

In plain words
What is it for?
Use it to create concept diagrams, workflow illustrations, stylized visualizations, poster artwork, and presentation backgrounds.
Why use it?
It helps turn technical ideas into visuals when writing an explanation alone is not enough. The generated images can support presentations, papers, posters, and outreach.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kinhluan-skills plugin — 61 skills shipped together

Good fit Use it to create concept diagrams, workflow illustrations, stylized visualizations, poster artwork, and presentation backgrounds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kinhluan/skills/ai-figure-generation
Install

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.

Any agent
npx skills add kinhluan/skills --skill ai-figure-generation
Clone the repo
git clone --depth 1 https://github.com/kinhluan/skills

Made for: Claude Code.

Or install kinhluan-skills, the plugin that ships this one along with the rest of its 61 skills.

Wrote 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.

agentmods badge for ai-figure-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/kinhluan/skills/ai-figure-generation/github.svg)](https://agentmods.dev/skills/kinhluan/skills/ai-figure-generation)
Your own site
<a href="https://agentmods.dev/skills/kinhluan/skills/ai-figure-generation"><img src="https://agentmods.dev/badge/skills/kinhluan/skills/ai-figure-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-figure-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/kinhluan/skills/ai-figure-generation"><img src="https://agentmods.dev/badge/skills/kinhluan/skills/ai-figure-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.02600
Opus 5 $0.00028 $0.01300
Sonnet 5 $0.00011 $0.00520
Haiku 4.5 $0.00006 $0.00260

Measured 11d ago against content hash 0cba52cf69f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ai-figure-generation scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent-skills/ai-figure-generation/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Figure Generation

Turn research concepts into compelling visuals.

This skill generates scientific figures, diagrams, and illustrations using AI image models. It bridges the gap between technical research content and visual communication — essential for slides, papers, posters, and outreach.

"A picture is worth a thousand words — but only if it's the right picture." — Unknown


1. When to Use AI Image Generation

Use Cases

Scenario AI Tool Output
Conceptual diagram DALL-E 3 / Midjourney v6 System architecture, workflow overview
Data visualization style Stable Diffusion XL Stylized charts, infographics
Illustrative figure DALL-E 3 Metaphorical representation of abstract concept
Poster figure Midjourney v6 Eye-catching, high-resolution scientific art
Slide background Stable Diffusion Themed backgrounds for presentation sections
Process flowchart DALL-E 3 Step-by-step methodology illustration

When NOT to Use

  • Exact data plots → Use slide-automation (matplotlib/plotly) for accuracy
  • Mathematical notation → Use LaTeX/TikZ for precision
  • Network topology → Use draw.io/Gephi for correctness
  • Screenshots of code/results → Use actual screenshots

2. Prompt Engineering for Scientific Figures

2.1 The Scientific Prompt Formula

[Subject] + [Style] + [Context] + [Technical Details] + [Composition] + [Quality]

Example:

Subject: "A federated learning system with 5 edge devices"
Style: "clean vector illustration, flat design, scientific diagram"
Context: "medical AI training on hospital data without sharing patient records"
Technical: "each device labeled 'Hospital A-E', central server labeled 'Aggregator', arrows showing gradient updates"
Composition: "white background, devices arranged in circle around server, color-coded data types"
Quality: "4K, crisp lines, professional publication quality, no text clutter"

Full prompt:
"Clean vector illustration of a federated learning system. Five edge devices 
labeled Hospital A through E arranged in a circle around a central server labeled 
'Aggregator'. Each hospital has a different colored data icon (blue for imaging, 
green for text, orange for genomics). Dashed arrows show encrypted gradient 
updates flowing to the server. Solid arrows show updated model returning to 
hospitals. White background, flat design, scientific diagram style, 4K, 
crisp lines, professional publication quality, minimal text, no clutter"

Read the full file on GitHub · 283 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 11d ago First seen · 283 lines · 57 tokens per session scan A 0cba52cf69f9

Subscribe to this mod's changes

ai-figure-generation is a skill published in the GitHub repository kinhluan/skills (4 stars, last pushed 14d ago), licensed MIT. It adds 57 tokens to every session and 2,600 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

manim-skill

Create mathematical animations with Manim Community Edition(manimce). Generates distinctive, production-grade animations that avoid generic "AI slop" aesthetics. Use when user wants to animate concepts, equations, illustrate proofs, visualize algorithms, create math explainers, or produce 3Blue1Brown-style videos.

Yusuke710/manim-skill · 64 tokens

scientific-figure-prompt-compiler

Transform concise scientific or technical descriptions into structured visual specifications and high-quality image-generation prompts. Use for scientific figures, technical diagrams, system architectures, mechanisms, workflows, spatial models, timelines, layered systems, and information-dense visuals. Model-agnostic…

basejb/skills · 72 tokens

paper-illustration-image2

Generate publication-quality academic illustrations through a local Codex app-server bridge that uses Codex native image generation. This is a separate experimental alternative to paper-illustration, intended for Claude Code users who want a GPT-image-style renderer without modifying the original skill.

wanshuiyin/Auto-claude-code-research-in-sleep · 59 tokens

scientific-slides

Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and…

foryourhealth111-pixel/Vibe-Skills · 65 tokens

paper-2-web

Use when converting academic papers into dissemination assets such as Paper2Web websites, Paper2Video video abstracts, or Paper2Poster conference posters from LaTeX or PDF sources.

foryourhealth111-pixel/Vibe-Skills · 40 tokens

ernie-image

Build Baidu ERNIE-Image / ERNIE-Image-Turbo workflows, primarily TEXT-TO-IMAGE. Pick ERNIE when you need precise multilingual text rendering, posters/signage, manga/anime multi-panel layouts, or strong instruction following for complex multi-object scenes. Also supports denoise-based image-to-image refine (NOT…

artokun/comfyui-mcp · 98 tokens