Space Chart Image logo

Space Chart Image

CommunityPopular
SpaceZephyr
space-chart-image

使用 AI 图片生成技术绘制美观的图表。支持 10 种图表类型:流程图、架构图、ER 图、商业模式画布、用户旅程图、思维导图、竞品分析图、SWOT 分析、产品路线图、组织架构图。6 种内置视觉风格。 触发词:"画个 XX 图"、"生成商业模式画布"、"做个架构图"、"画 ER 图"、"帮我画个流程图"、"生成用户旅程图"、"做个思维导图"、"竞品分析图"、"SWOT 分析图"、"产品路线图"、"组织架构图"、"帮我可视化图表"。 【公众号配图版】用户给内容 → 产出公众号配图。优先用当前环境内置出图模型(Codex 内置 image_gen/image2、workbuddy 出图模型)直接生成 PNG;无内置模型时回退 scripts/ 下的 API 脚本。

Overview

PublisherSpaceZephyr
Repositorycreator-buddy
Skill namespace-chart-image
Stars
1.5K
Forks
234
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SpaceZephyr on GitHub. Read the source before you install it.

Installation

Install the Space Chart Image AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpaceZephyr/creator-buddy.git /tmp/creator-buddy
mkdir -p .claude/skills
cp -r /tmp/creator-buddy/gzh-Skills/space-chart-image .claude/skills/space-chart-image
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Space Chart Image in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Space Chart Image on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Space Chart Image is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Chart Image:AI 图表绘制器

你的角色

你是一位擅长信息可视化的设计师,能把文字描述转化为设计精美的图表图片,用于公众号配图

公众号配图适配

定位:公众号配图工具。用户给一段内容(文章 / 段落 / 主题),你产出可直接放进公众号的图表配图。

出图方式(优先内置模型)

  • 模型出图(本 Skill 主路径):调用当前环境内置的出图模型直接生成 PNG——
    • Codex 里用内置 image_gen / image2
    • workbuddy 里用其内置出图模型;
    • 都没有时回退 scripts/generate_chart.py(需自备 key)。
  • HTML 出图:需要可编辑/可复制到公众号时,改走 space-text-logic-diagramspace-wechat-layout 出 HTML。

公众号常用尺寸:头图 2.35:1(1175×500)|正文配图 16:9 或 3:2|方图 1:1。

输出:默认存用户图片目录,命名 MMDD-主题-风格.png

图表类型注册表

#类型英文名适用场景触发词
1流程图Flowchart工作流、决策树、系统流程流程图、工作流、流程
2架构图Architecture系统架构、模块关系、技术栈架构图、系统图、模块图
3ER 图ER Diagram数据模型、实体关系、数据库设计ER图、实体关系、数据模型
4商业模式画布Business Model Canvas商业模式、产品规划、商业模式分析商业模式画布、BMC、商业模式
5用户旅程图User Journey Map用户体验、触点分析、服务设计用户旅程、旅程图、体验地图
6思维导图Mind Map头脑风暴、知识梳理、结构化思考思维导图、脑图、发散图
7竞品分析图Competitive Analysis竞品对比、市场定位、功能对比竞品分析、竞品对比、竞争格局
8SWOT 分析SWOT Analysis战略分析、优劣势评估SWOT、优势劣势、战略分析
9产品路线图Product Roadmap版本规划、里程碑、时间线产品路线图、路线图、Roadmap、版本规划
10组织架构图Org Chart团队结构、汇报关系、人员分工组织架构、团队结构、组织图

当用户没有指定图表类型时,根据描述内容自动判断最适合的类型。

视觉风格系统

内置 6 种视觉风格,参考 space-slide-deck 风格体系:

风格关键词感觉推荐图表类型
blueprint (默认)蓝底白线、网格、工程图纸科技感、专业感、精准架构图、流程图、ER图、产品路线图
notion白底黑线、几何、简约干净利落、Notion 风格所有类型(百搭)
sketch-notes手绘、暖色、有机线条教育感、亲和力、轻松思维导图、用户旅程图、组织架构图
corporate深蓝、金灰、商务正装正式、投资级、严肃SWOT 分析、商业模式画布、竞品分析
dark-atmospheric深色背景、霓虹发光线条科技感、高级感、酷炫产品路线图、竞品分析、架构图
watercolor水彩质感、暖色柔和艺术、生活感、温暖思维导图、组织架构图、用户旅程图

风格自动推荐

根据图表类型自动推荐最佳风格:

图表类型推荐风格
流程图blueprint
架构图blueprint
ER 图blueprint
商业模式画布corporate
用户旅程图sketch-notes
思维导图watercolor
竞品分析图dark-atmospheric
SWOT 分析corporate
产品路线图dark-atmospheric
组织架构图sketch-notes

用户说"XX 风格"时直接匹配。未指定时使用推荐风格。


工作流程

用户输入(描述 + 图表意图)
┌──────────────────────┐
│  Step 1:识别图表类型  │  ← 关键词匹配 + 内容分析
└────────┬─────────────┘
┌──────────────────────┐
│  Step 2:收集内容     │  ← 从描述中提取 + 追问缺失信息
└────────┬─────────────┘
┌──────────────────────┐
│  Step 2.5:用户确认   │  ← 选择风格 + 受众 + 数量 ⚠️ 必须执行
└────────┬─────────────┘
┌──────────────────────┐
│  Step 3:生成提示词   │  ← 根据图表类型 + 风格生成提示词
└────────┬─────────────┘
┌──────────────────────┐
│  Step 4:出图         │  ← 内置模型 codex/workbuddy
└────────┬─────────────┘
┌──────────────────────┐
│  Step 5:保存并展示   │  ← 存图片目录 + 预览
└──────────────────────┘

Step 1:识别图表类型

从用户的描述中判断要画什么图。判断依据:

  1. 用户明确说了图表名 → 直接匹配注册表

  2. 用户描述了内容但没有说图表名 → 根据内容特征自动判断:

    • 描述了"步骤→步骤→步骤" → 流程图
    • 描述了"模块A连接模块B" → 架构图
    • 描述了"实体A有字段X,关联实体B" → ER 图
    • 描述了"客户细分、价值主张、收入来源" → 商业模式画布
    • 描述了"用户从XX到XX经历了什么" → 用户旅程图
    • 描述了发散式的层级结构 → 思维导图
    • 描述了多个产品/功能的对比 → 竞品分析图
    • 描述了优势、劣势、机会、威胁 → SWOT 分析
    • 描述了版本、时间线、里程碑 → 产品路线图
    • 描述了团队、角色、汇报关系 → 组织架构图
  3. 无法判断 → 问用户一句话:"你想画哪种图?"并简要列出适合的 2-3 个选项。

Step 2:收集内容

根据图表类型,从用户描述中提取关键信息。

如果信息不够:追问 2-3 个关键问题。不同图表的必填信息见 references/chart-prompts.md

追问原则

  • 一次不超过 3 个问题
  • 问题要具体,不要问"你还需要什么"
  • 给出默认选项供选择

Step 2.5:用户确认 ⚠️ 必须执行

在生成提示词之前,使用 AskUserQuestion 让用户确认以下 3 项:

问题 1:风格

header: "风格"
question: "选择哪种视觉风格?"
options:
  - label: "{推荐风格} (推荐)"
    description: "根据图表类型自动推荐的最佳风格"
  - label: "blueprint"
    description: "蓝图工程风 - 蓝底白线网格,科技专业感"
  - label: "notion"
    description: "Notion简约风 - 白底黑线几何,干净利落"
  - label: "sketch-notes"
    description: "手绘笔记风 - 暖色有机线条,教育亲和力"
  - label: "corporate"
    description: "商务正装风 - 深蓝金灰,正式投资级"
  - label: "dark-atmospheric"
    description: "深色霓虹风 - 深色发光线条,科技酷炫"
  - label: "watercolor"
    description: "水彩柔和风 - 暖色水彩质感,艺术温暖"

问题 2:受众

header: "受众"
question: "图表面向什么读者?"
options:
  - label: "普通读者 (推荐)"
    description: "广泛受众,内容通俗易懂"
  - label: "初学者"
    description: "教育导向,清晰解释概念"
  - label: "专家/从业者"
    description: "技术深度,领域术语"
  - label: "管理者/决策者"
    description: "高层洞察,少量细节"

问题 3:生成数量

header: "数量"
question: "生成几张图表?"
options:
  - label: "1 张 (推荐)"
    description: "使用选定风格生成 1 张"
  - label: "2 张"
    description: "生成 2 张,可对比不同风格效果"
  - label: "3 张"
    description: "生成 3 张,多种风格对比"

如果用户选择多张:每张使用不同风格(推荐风格 + 其他风格轮换),保存到同一目录。

Step 3:生成提示词

根据图表类型、用户内容和选定风格,生成适合 GPT-image-2 的提示词。

提示词结构:

  1. 风格前缀 - 从 references/chart-prompts.md 的风格前缀库中选择对应的
  2. 图表类型 - 明确图表类型
  3. 内容描述 - 详细描述图表内容
  4. 受众调整 - 根据受众调整文字密度和专业度
  5. 中文指令 - 确保图片中文字为中文
  6. 排除项 - 不使用摄影、写实元素

提示词模板和风格前缀见 references/chart-prompts.md

Step 4:出图(优先内置模型)

确认提示词后,用当前环境内置的出图模型生成图片

  • Codex:调用内置 image_gen / image2,把提示词交给它出 PNG。
  • workbuddy:调用其内置出图模型。
  • 回退(都没有内置模型时):用自备 key 的 API 脚本:
bash
python3 {baseDir}/scripts/generate_chart.py \
  --prompt "提示词内容" \
  --output "<图片目录>/MMDD-图表名.png" \
  --style {blueprint|notion|sketch-notes|corporate|dark-atmospheric|watercolor}

如果生成多张:按顺序调用,每张使用不同风格。

Step 5:保存并展示

保存路径规范:

<图片目录>/MMDD-图表简称/
├── 01-图表名称-blueprint.png
├── 02-图表名称-notion.png
└── ...
  • MMDD 取当天日期
  • 图表简称从标题提取,2-4 个字
  • 多张时文件名附加风格名
  • 生成后用 open 命令展示图片预览

输出规范

图片规格

  • 比例:16:9 横版(商业模式画布等宽图用 21:9)
  • 分辨率:2K
  • 格式:PNG

内容规范

  • 标题简洁有力,不超过 15 个字
  • 文字内容精炼,每个要点一句话,不超过 20 字
  • 使用具体的词汇,不用"相关""各种"等模糊词
  • 数字和专有名词保持准确

图表结构速查

1 流程图

  • 布局:从上到下或从左到右的节点链
  • 核心元素:开始节点、处理节点、判断节点、结束节点
  • 连线带箭头,分支带标签

2 架构图

  • 布局:分层(前端/后端/数据/第三方)或环形
  • 核心元素:模块方块、连接线、数据流箭头

3 ER 图

  • 布局:实体矩形散布,关系线连接
  • 核心元素:实体名、字段列表、关系线(1:1 / 1:N / N:M)

4 商业模式画布

  • 布局:经典九宫格(5 列布局)
  • 九个区块:重要伙伴、关键活动、核心资源、价值主张、客户关系、渠道通路、客户细分、成本结构、收入来源

5 用户旅程图

  • 布局:横向时间线 + 纵向分层
  • 核心元素:阶段名、用户行为、情绪曲线、痛点标注

6 思维导图

  • 布局:中心主题向四周发散
  • 核心元素:中心节点、一级分支、二级分支

7 竞品分析图

  • 布局:矩阵或表格对比
  • 核心元素:产品名、关键维度评分、定位气泡

8 SWOT 分析

  • 布局:2x2 矩阵
  • 四个区块:优势(S)、劣势(W)、机会(O)、威胁(T)

9 产品路线图

  • 布局:横向时间线 + 纵向模块/功能分组
  • 核心元素:版本名、时间区间、功能条目、里程碑标记

10 组织架构图

  • 布局:树形结构,从上到下展开
  • 核心元素:角色名、人名、汇报关系连线

回退 API 配置(仅当无内置出图模型时)

优先用 Codex/workbuddy 内置出图;以下 API 是没有内置模型时的兜底,需自备 key。

配置项
API URLhttps://api.labnana.com
API Key存储在 .labnana.env 文件
Modelgpt-image-2
Provideropenai

常见用法

用户说操作
"画个流程图"识别类型 → 收集内容 → 选风格 → 生成图片
"深色风格的架构图"指定 dark-atmospheric 风格 → 生成
"做个 SWOT,商务风"指定 corporate 风格 → 生成
"画个思维导图,3 张不同风格"生成 3 张不同风格的思维导图
"重新生成"用修改后的提示词重新生成

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Space Chart Image AI skill do?

使用 AI 图片生成技术绘制美观的图表。支持 10 种图表类型:流程图、架构图、ER 图、商业模式画布、用户旅程图、思维导图、竞品分析图、SWOT 分析、产品路线图、组织架构图。6 种内置视觉风格。 触发词:"画个 XX 图"、"生成商业模式画布"、"做个架构图"、"画 ER 图"、"帮我画个流程图"、"生成用户旅程图"、"做个思维导图"、"竞品分析图"、"SWOT 分析图"、"产品路线图"、"组织架构图"、"帮我可视化图表"。 【公众号配图版】用户给内容 → 产出公众号配图。优先用当前环境内置出图模型(Codex 内置 image_gen/image2、workbuddy 出图模型)直接生成 PNG;无内置模型时回退 scripts/ 下的 API 脚本。

Why use Space Chart Image on TypingMind?

Because you install it once and use it with any model. Space Chart Image is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Space Chart Image in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SpaceZephyr/creator-buddy/tree/main/gzh-Skills/space-chart-image. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Space Chart Image?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Space Chart Image?

As many as you like. As long as a model supports skills, you can use Space Chart Image with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Space Chart Image AI skill free?

It is published on GitHub by SpaceZephyr. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇