Agent skill

AI Chart Image Generator

by SpaceZephyr in SpaceZephyr/design-buddy

Generates a finished chart image directly with GPT-image-2 from a text description, across ten chart types such as flowcharts, architecture diagrams and SWOT grids in six visual styles.

No licenceAuto-check passedMedia & Creative

SKILL.md written in Chinese; this summary is our English description.

Install AI Chart Image Generator

skills CLI
$ npx skills add SpaceZephyr/design-buddy --skill space-chart-image -a claude-code

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

GitHub CLI
$ gh skill install SpaceZephyr/design-buddy space-chart-image --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/SpaceZephyr/design-buddy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/space-chart-image .claude/skills/space-chart-image && 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
space-chart-image
GitHub stars
174
Token cost
~1.6k tokens
SKILL.md length
360 words
Files
5 (incl. scripts, references)
Skills in repo
16
Repo updated
First seen
Licence
None found

At a glance

Generates a finished chart image directly with GPT-image-2 from a text description, across ten chart types such as flowcharts, architecture diagrams and SWOT grids in six visual styles.

  • Works in 6 steps: :识别图表类型 → :收集内容 → 5:用户确认 ⚠️ 必须执行 → …
  • Generating a flowchart or architecture diagram as a finished image rather than HTML
  • SKILL.md covers 你的角色, 图表类型注册表, 视觉风格系统 and 工作流程, plus 4 more sections
  • Runs Python scripts from its folder; calls python3; reaches api.labnana.com

What it does

Unlike a sibling HTML-based chart skill, this one renders a complete PNG image directly through the GPT-image-2 model rather than producing markup. Ten chart types are registered with matching Chinese and English trigger words: flowchart, architecture diagram, ER diagram, business model canvas, user journey map, mind map, competitive analysis chart, SWOT analysis, product roadmap and org chart, and the agent infers the right type from the user's description when none is named, for example treating a step-by-step description as a flowchart or a list of strengths and weaknesses as a SWOT grid.

Six built-in visual styles, blueprint, notion, sketch-notes, corporate, dark-atmospheric and watercolor, each come with a recommended pairing to specific chart types, such as blueprint for architecture and flowchart diagrams or corporate for SWOT and business model canvases, and the agent uses the recommended style unless the user names one directly. The workflow asks at most two or three follow-up questions when needed information is missing, each with concrete default options rather than open-ended prompts, and explicitly confirms the chosen style with the user via a structured question before generating the final image prompt and calling scripts/generate_chart.py.

When your agent uses it

  • Generating a flowchart or architecture diagram as a finished image rather than HTML
  • Creating a business model canvas, SWOT grid or competitive analysis chart
  • Making a user journey map, mind map or org chart in a specific visual style

Example prompts

  • “Draw an architecture diagram of our checkout service in blueprint style.”
  • “帮我做个SWOT分析图,商务正装风格。”
  • “Make a user journey map showing a customer from sign-up to first purchase.”

Requirements

  • GPT-image-2 model access
  • Python for scripts/generate_chart.py

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. :识别图表类型
  2. :收集内容
  3. 5:用户确认 ⚠️ 必须执行
  4. :生成提示词
  5. :调用 API
  6. :保存并展示

What it can do on your machine

Read from SKILL.md and the folder at commit f1d835f. 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:

    • python3

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.labnana.com

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

AI Chart Image Generator loads about 1.6k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 360 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

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 360 words (~1,599 tokens).

name
space-chart-image

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references) in space-chart-image of SpaceZephyr/design-buddy.

  • SKILL.md
  • .labnana.env.example
  • agents/chart.yaml
  • references/chart-prompts.md
  • scripts/generate_chart.py

Open the folder on GitHubat commit f1d835f

Compare with similar skills

AI Chart Image 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.

AI Chart Image Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Chart Image Generator this skillSpaceZephyr/design-buddy174—~1.6kAutomated safety check: PassNone
Generate Imageynulihao/AgentSkillOS61710 repos~1.7kAutomated safety check: NotesNone
Guizang Material Illustrationop7418/guizang-material-illustration1.2k—~1.6kAutomated safety check: PassNone
Imagensanjay3290/ai-skills4317 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.

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

    431 GitHub starsUsed in 7 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.

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

More from SpaceZephyr/design-buddy

All 16 skills in this repo
  • Slide Deck Image Generator

    SpaceZephyr/design-buddy

    Turns written content into designed slide images from an outline, merges them into PPTX or PDF, and can borrow styles from a registry of brand design systems.

    174 GitHub stars~6.5k tokensUpdated 3 mo ago
    Auto-check passed
  • WeChat Article Layout

    SpaceZephyr/design-buddy

    Turns an article into WeChat Official Account HTML with a local preview, a choice of three visual styles and a button that copies the rich HTML.

    174 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Article Illustration Batch Generator

    SpaceZephyr/design-buddy

    Splits a Markdown article by heading, drafts an image prompt for each section, then generates diagrams with the Gemini API and embeds them in the note.

    174 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Batch Image Skill Builder

    SpaceZephyr/design-buddy

    Walks a non-coder through structured questions about scene, style, color, text rules and consistency, then auto-generates a complete, ready-to-use batch image-generation skill.

    174 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Space Image Studio

    SpaceZephyr/design-buddy

    Generates PNG images for four common needs: Xiaohongshu covers, slide illustrations, charts and article logic diagrams, with twelve visual styles and automatic style suggestions.

    174 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed
  • Batch Logo Generator

    SpaceZephyr/design-buddy

    Generates ten logo variants in one run from a brand description or an uploaded reference image, with seven style options, using the Gemini image API and saving files to an Obsidian folder.

    174 GitHub stars~870 tokensUpdated 3 mo ago
    Auto-check passed

Questions about AI Chart Image Generator

What does AI Chart Image Generator do?

Generates a finished chart image directly with GPT-image-2 from a text description, across ten chart types such as flowcharts, architecture diagrams and SWOT grids in six visual styles. Unlike a sibling HTML-based chart skill, this one renders a complete PNG image directly through the GPT-image-2 model rather than producing markup. Ten chart types are registered with matching Chinese and English trigger words: flowchart, architecture diagram, ER diagram, business model canvas, user journey map, mind map, competitive analysis chart, SWOT analysis, product roadmap and org chart, and the agent infers the right type from the user's description when none is named, for example treating a step-by-step description as a flowchart or a list of strengths and weaknesses as a SWOT grid.

When should I use AI Chart Image Generator?

AI Chart Image Generator fits situations like: generating a flowchart or architecture diagram as a finished image rather than HTML; creating a business model canvas, SWOT grid or competitive analysis chart; making a user journey map, mind map or org chart in a specific visual style.

How do I install AI Chart Image Generator in Claude Code?

Run `npx skills add SpaceZephyr/design-buddy --skill space-chart-image -a claude-code`. Or copy the skill folder (space-chart-image in SpaceZephyr/design-buddy) into .claude/skills/space-chart-image in your project. Claude Code loads it when a task matches its description.

How do I install AI Chart Image Generator in Codex?

Run `npx skills add SpaceZephyr/design-buddy --skill space-chart-image -a codex`. Or copy the skill folder (space-chart-image in SpaceZephyr/design-buddy) into .agents/skills/space-chart-image in your project. Codex loads it when a task matches its description.

Can I use AI Chart Image 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 SpaceZephyr/design-buddy --skill space-chart-image -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/space-chart-image, .gemini/skills/space-chart-image, .github/skills/space-chart-image and .opencode/skills/space-chart-image in your project.

What does AI Chart Image Generator need to run?

Going by SKILL.md and its folder, AI Chart Image Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: GPT-image-2 model access; Python for scripts/generate_chart.py.

Does AI Chart Image Generator access the network?

SKILL.md names 1 domain. In commands or code: api.labnana.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is AI Chart Image 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 AI Chart Image Generator use?

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

How many tokens does AI Chart Image Generator use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.

What are the alternatives to AI Chart Image Generator?

Skills that share tags, products or a category with AI Chart Image Generator: Generate Image (ynulihao/AgentSkillOS, 617 stars), Guizang Material Illustration (op7418/guizang-material-illustration, 1.2k stars), Imagen (sanjay3290/ai-skills, 431 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 AI Chart Image Generator?

SpaceZephyr (a GitHub user) maintains it in SpaceZephyr/design-buddy, which has 174 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on July 6, 2026.

Source: SpaceZephyr/design-buddy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.