Agent skill

Diagram Generator

by minicoohei in minicoohei/ai-agent-camp

Gemini Image Generation API でテキストから図解・インフォグラフィック・ダイアグラムを生成するスキル。

No licenceAuto-check passedMedia & Creative

Install Diagram Generator

skills CLI
$ npx skills add minicoohei/ai-agent-camp --skill diagram-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install minicoohei/ai-agent-camp diagram-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/minicoohei/ai-agent-camp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/diagram-generator .claude/skills/diagram-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
diagram-generator
GitHub stars
347
Token cost
~581 tokens
SKILL.md length
139 words
Files
5 (incl. scripts)
Skills in repo
37
Repo updated
First seen
Licence
None found

At a glance

Gemini Image Generation API でテキストから図解・インフォグラフィック・ダイアグラムを生成するスキル。

  • Works in 4 steps: Provide topic/text to visualize → Gemini Flash optimizes the image… → Gemini Image generates the visualization → …
  • Tasks that involve Image generation
  • SKILL.md covers Workflow, Usage, Parameters and Styles, plus 6 more sections
  • Runs Python scripts from its folder; calls python; needs GEMINI_API_KEY and GOOGLE_API_KEY

What it does

Diagram Generator is an agent skill from minicoohei/ai-agent-camp. Gemini Image Generation API でテキストから図解・インフォグラフィック・ダイアグラムを生成するスキル。 「図を作って」「インフォグラフィック生成」「プロセスを図解して」等のリクエストで発動。

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `SKILL.en.md`, `SKILL.es.md` and `agents/openai.yaml`).

It sits in Media & Creative, covering Image generation and Diagrams. The repository describes itself as: AI Agent Camp — non-engineer-friendly AI agent training curriculum. Lessons, skills, commands, and hooks for Claude Code, Cursor, and Codex.

When your agent uses it

  • Tasks that involve Image generation
  • Tasks that involve Diagrams

Example prompts

  • “/diagram-generator”

Requirements

  • Python 3
  • A credential in GEMINI_API_KEY
  • A credential in GOOGLE_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Provide topic/text to visualize
  2. Gemini Flash optimizes the image generation prompt
  3. Gemini Image generates the visualization
  4. Outputs PNG image

What it can do on your machine

Read from SKILL.md and the folder at commit 048ba4c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • GOOGLE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Diagram Generator loads about 581 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 139 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~581

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 139 words (~581 tokens).

“Generate visual diagrams and infographics from text descriptions.”

— opening of SKILL.md by minicoohei
name
diagram-generator
triggers
diagram-generator, 図を作って, ダイアグラム生成, インフォグラフィック, 図解して, diagram, フローチャート作成

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts) in skills/diagram-generator of minicoohei/ai-agent-camp.

  • SKILL.md
  • SKILL.en.md
  • SKILL.es.md
  • agents/openai.yaml
  • scripts/generate_diagram.py

Open the folder on GitHubat commit 048ba4c

Compare with similar skills

Diagram Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Diagram Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Diagram Generator this skillminicoohei/ai-agent-camp347—~581Automated safety check: PassNone
Generate Imageynulihao/AgentSkillOS61810 repos~1.7kAutomated safety check: NotesNone
Guizang Material Illustrationop7418/guizang-material-illustration1.2k—~1.6kAutomated safety check: PassNone
Imagensanjay3290/ai-skills4326 repos~657Automated safety check: PassApache-2.0
Nano Bananakkoppenhaver/cc-nano-banana3781 repos~1.4kAutomated safety check: PassMIT
FigureMuuuun/luxas1.2k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Generate Image

    ynulihao/AgentSkillOS

    Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.

    618 GitHub starsUsed in 10 repos~1.7k tokens
    Media & CreativeAuto-check: notes
  • Guizang Material Illustration

    op7418/guizang-material-illustration

    Generate Guizang-style material illustrations, labeled explanatory visuals, material-styled chart illustrations, and data-first editorial images from articles, notes, product concepts, workplace…

    1.2k GitHub stars~1.6k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Imagen

    sanjay3290/ai-skills

    Generate images using Google Gemini's image generation capabilities.

    432 GitHub starsUsed in 6 repos~657 tokens
    Media & CreativeAuto-check passed
  • Nano Banana

    kkoppenhaver/cc-nano-banana

    REQUIRED for all image generation requests. An agent skill from kkoppenhaver/cc-nano-banana.

    378 GitHub starsUsed in 1 repo~1.4k tokens
    Media & CreativeAuto-check passed
  • Figure

    Muuuun/luxas

    Hybrid figure pipeline (Nano Banana raster + rembg background removal + TikZ vector assembly).

    1.2k GitHub stars~1.2k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Academic Figures Drawer

    M1n-n9/academic-figures-drawer

    Create camera-ready, editable draw.io figures from papers, method descriptions, code, or reference images.

    218 GitHub stars~3.3k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from minicoohei/ai-agent-camp

All 37 skills in this repo
  • Exploratory Data Analysis

    minicoohei/ai-agent-camp

    200以上のファイル形式に対応した探索的データ分析(EDA)スキル. An agent skill from minicoohei/ai-agent-camp.

    347 GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Content Optimizer

    minicoohei/ai-agent-camp

    コンテンツのA/Bテスト・自己改善ループを支援するプランナースキル. An agent skill from minicoohei/ai-agent-camp.

    347 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check: notes
  • Video Editor

    minicoohei/ai-agent-camp

    TikTok/YouTube向け動画編集スキル。ffmpegでキャプション焼き込み、 Ken Burnsエフェクト、シーン結合、音声合成を行う。

    347 GitHub stars~756 tokensUpdated 4 days ago
    Auto-check passed
  • Article Writer

    minicoohei/ai-agent-camp

    テーマからアウトライン生成→文体プロファイル適用→Markdown記事出力を行う記事執筆スキル. An agent skill from minicoohei/ai-agent-camp.

    347 GitHub stars~990 tokensUpdated 4 days ago
    Auto-check passed
  • Banner Creator

    minicoohei/ai-agent-camp

    各種SNS・広告プラットフォーム向けのバナー/クリエイティブを生成するスキル. An agent skill from minicoohei/ai-agent-camp.

    347 GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed
  • Check Inbox

    minicoohei/ai-agent-camp

    メールとSlackから返信すべき項目・タスクを抽出する統合型スキル. An agent skill from minicoohei/ai-agent-camp.

    347 GitHub stars~870 tokensUpdated 4 days ago
    Auto-check: notes

Questions about Diagram Generator

What does Diagram Generator do?

Gemini Image Generation API でテキストから図解・インフォグラフィック・ダイアグラムを生成するスキル。. Diagram Generator is an agent skill from minicoohei/ai-agent-camp.

When should I use Diagram Generator?

Diagram Generator fits situations like: tasks that involve Image generation; tasks that involve Diagrams.

How do I install Diagram Generator in Claude Code?

Run `npx skills add minicoohei/ai-agent-camp --skill diagram-generator -a claude-code`. Or copy the skill folder (skills/diagram-generator in minicoohei/ai-agent-camp) into .claude/skills/diagram-generator in your project. Claude Code loads it when a task matches its description.

How do I install Diagram Generator in Codex?

Run `npx skills add minicoohei/ai-agent-camp --skill diagram-generator -a codex`. Or copy the skill folder (skills/diagram-generator in minicoohei/ai-agent-camp) into .agents/skills/diagram-generator in your project. Codex loads it when a task matches its description.

Can I use Diagram Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add minicoohei/ai-agent-camp --skill diagram-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/diagram-generator, .gemini/skills/diagram-generator, .github/skills/diagram-generator and .opencode/skills/diagram-generator in your project.

What does Diagram Generator need to run?

Going by SKILL.md and its folder, Diagram Generator needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named GEMINI_API_KEY and GOOGLE_API_KEY. Our summary lists: Python 3; A credential in GEMINI_API_KEY; A credential in GOOGLE_API_KEY.

Does Diagram Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Diagram Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Diagram Generator use?

No licence was found for Diagram Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Diagram Generator use?

About 581 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Diagram Generator?

Skills that share tags, products or a category with Diagram Generator: Generate Image (ynulihao/AgentSkillOS, 618 stars), Guizang Material Illustration (op7418/guizang-material-illustration, 1.2k stars), Imagen (sanjay3290/ai-skills, 432 stars) and Nano Banana (kkoppenhaver/cc-nano-banana, 378 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Diagram Generator?

minicoohei (a GitHub user) maintains it in minicoohei/ai-agent-camp, which has 347 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on October 7, 2026.

Source: minicoohei/ai-agent-camp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.