生成图片:配图、插图、海报、头像、示意图、Logo 草稿、封面、banner。触发词:画一张、画个、生成图片、生成一张图、做张图、做个图、配图、出图、生图、AI 绘图、image、draw、illustration、poster。仅从零生成,不做已有图片的编辑或修改。

MITAuto-check passedMedia & Creative

Install Image Gen

skills CLI
$ npx skills add different-ai-studio/teamclu --skill image-gen -a claude-code

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

GitHub CLI
$ gh skill install different-ai-studio/teamclu image-gen --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/different-ai-studio/teamclu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/image-gen .claude/skills/image-gen && 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
image-gen
GitHub stars
167
Token cost
~430 tokens
SKILL.md length
71 words
Files
3 (incl. scripts)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

生成图片:配图、插图、海报、头像、示意图、Logo 草稿、封面、banner。触发词:画一张、画个、生成图片、生成一张图、做张图、做个图、配图、出图、生图、AI 绘图、image、draw、illustration、poster。仅从零生成,不做已有图片的编辑或修改。

  • Tasks that involve Image generation
  • SKILL.md covers 怎么用, 四条硬约束, 提示词写法 and 完整示例
  • Runs JavaScript scripts from its folder; calls node

What it does

Image Gen is an agent skill from different-ai-studio/teamclu. 生成图片:配图、插图、海报、头像、示意图、Logo 草稿、封面、banner。触发词:画一张、画个、生成图片、生成一张图、做张图、做个图、配图、出图、生图、AI 绘图、image、draw、illustration、poster。仅从零生成,不做已有图片的编辑或修改。

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `catalog.yaml`).

It sits in Media & Creative, covering Image generation. The repository describes itself as: TeamClu, AI Agent Desktop Workspace. The licence is MIT.

When your agent uses it

  • Tasks that involve Image generation

Example prompts

  • “/image-gen”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 508d304. 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/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    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 no API keys, tokens, secrets or passwords.

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

Context cost

Image Gen loads about 430 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 71 words of instructions outside code blocks.

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

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

The full file from different-ai-studio/teamclu at commit 508d304, republished under its MIT licence (© different-ai-studio). 71 words, ~430 tokens.

Download SKILL.mdSave it as .claude/skills/image-gen/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
image-gen
description
生成图片:配图、插图、海报、头像、示意图、Logo 草稿、封面、banner。触发词:画一张、画个、生成图片、生成一张图、做张图、做个图、配图、出图、生图、AI 绘图、image、draw、illustration、poster。仅从零生成,不做已有图片的编辑或修改。

图片生成

通过团队 AI 网关生成图片。按张计入团队积分,所以不要为一次请求反复重试。

怎么用

bash
node scripts/generate.mjs --prompt "一片红色枫叶,扁平矢量风格,白色背景"

可选参数:

参数默认说明
--n1张数。每张都单独计费,用户没明确要多张就别传
--size1024x1024还支持 1024x1536(竖)、1536x1024(横)
--quality由网关决定low / medium / high。high 是标准价的 3 倍,用户没要求就别传
--out-dir当前目录一般不要传,见下面第 1 条

脚本只往 stdout 打印文件名、尺寸和大小。

四条硬约束

1. 图片必须留在会话目录里,引用必须用相对路径。

桌面端渲染 ![](...) 时会把路径按会话目录解析,解析结果只要落在会话目录之外就直接渲染成空 —— 没有报错、没有占位图、控制台也没有任何东西。所以:

markdown
![一片红色枫叶](maple-leaf-20260909-231500.png)   ← 对
![一片红色枫叶](/tmp/x.png)                        ← 用户看到的是一段没有图的文字
![一片红色枫叶](file:///Users/…/x.png)             ← 同上

直接用脚本打印出来的文件名,不要加目录前缀、不要转成绝对路径。

2. 绝对不要读这个图片文件。

不要 cat、不要 base64、不要用读文件工具打开它。一张图是 1–3 MB 的 base64,把它读进上下文会直接撑爆会话的压缩机制,之后每一轮都在白烧。你需要知道的一切(文件名、尺寸、大小)脚本已经打印了。

3. 不要自己拼 HTTP 请求。

只调 scripts/generate.mjs。不要去读 TEAMCLU_TEAM_PROVIDER、更不要读 tc_gateway_token,也不要用 curl 直接打网关。

4. 失败就照实告诉用户,不要重试。

脚本已经把错误翻译成人话了(积分不足、额度超限、团队没开网关、尺寸不支持、内容被拦截)。把那句话转述给用户就行 —— 这些都是用户自己能解决的问题,重试只会再花一次钱。唯一值得重试一次的是超时。

提示词写法

英文和中文都可以。把风格、构图、背景写进去,模型会自己改写提示词(脚本会把改写后的版本打印出来):

  • 好:一片红色枫叶,扁平矢量风格,纯白背景,居中构图
  • 差:枫叶

生成一张大约需要 30 秒,属于正常,不要中途取消。

完整示例

bash
$ node scripts/generate.mjs --prompt "一片红色枫叶,扁平矢量,白底"
maple-leaf-20260909-231500.png  (765 KB, 1024x1024)
  改写后的提示词: A single red maple leaf, flat vector illustration, white background

然后在回复里写:

markdown
![一片红色枫叶](maple-leaf-20260909-231500.png)

© different-ai-studio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/image-gen of different-ai-studio/teamclu.

  • SKILL.md
  • catalog.yaml
  • scripts/generate.mjs

Open the folder on GitHubat commit 508d304

Compare with similar skills

Image Gen 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.

Image Gen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image Gen this skilldifferent-ai-studio/teamclu167—~430Automated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Structured Image Generationbytedance/deer-flow84k4 repos~2.9kAutomated safety check: PassMIT
Canghe Comicfreestylefly/canghe-skills4618 repos~3.2kAutomated safety check: PassNone
Generate Imageynulihao/AgentSkillOS61810 repos~1.7kAutomated safety check: NotesNone
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Structured Image Generation

    bytedance/deer-flow

    Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.

    84k GitHub starsUsed in 4 repos~2.9k tokens
    Media & CreativeAuto-check passed
  • Canghe Comic

    freestylefly/canghe-skills

    Knowledge comic creator supporting multiple art styles and tones.

    461 GitHub starsUsed in 8 repos~3.2k tokens
    Media & CreativeAuto-check passed
  • 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
  • GPT Image Generation CLI

    wuyoscar/GPT-Image2-Skill

    Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.

    5.7k GitHub stars~2.5k tokensUpdated 9 days ago
    Media & CreativeAuto-check: notes
  • Minimal Zine Poster Generator

    LiamGvchi/gc-minimal-zine-poster

    Creates or analyzes quiet, paper-texture zine posters with big negative space, one color accent and experimental type, returning an image prompt and the generated poster.

    7.3k GitHub stars~2.9k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from different-ai-studio/teamclu

All 8 skills in this repo
  • App Auth

    different-ai-studio/teamclu

    A skill your agent uses when implementing TeamClu platform sign-in, organization-role access, employee pages or protected data endpoints in an app, or changing its login permissions.

    167 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Create Role

    different-ai-studio/teamclu

    Create a workspace role that follows the ROLE.md specification.

    167 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • macOS Control

    different-ai-studio/teamclu

    Control macOS desktop applications: open/operate apps, click buttons, type text, scroll, keyboard shortcuts, window management, toggle options, dropdown selections, etc.

    167 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Sentry Fix

    different-ai-studio/teamclu

    A skill your agent uses when the user wants to fix a Sentry issue, auto-repair a bug from Sentry, or create a fix PR for a Sentry error.

    167 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Sentry Monitor

    different-ai-studio/teamclu

    A skill your agent uses when the user wants to check Sentry issues, run a Sentry daily report, or monitor error trends.

    167 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Windows Control

    different-ai-studio/teamclu

    Control Windows desktop applications: open/operate apps, click controls, type text, scroll, keyboard shortcuts, window management, toggle options, lists and combos, etc.

    167 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Questions about Image Gen

What does Image Gen do?

生成图片:配图、插图、海报、头像、示意图、Logo 草稿、封面、banner。触发词:画一张、画个、生成图片、生成一张图、做张图、做个图、配图、出图、生图、AI 绘图、image、draw、illustration、poster。仅从零生成,不做已有图片的编辑或修改。. Image Gen is an agent skill from different-ai-studio/teamclu.

When should I use Image Gen?

Image Gen fits situations like: tasks that involve Image generation.

How do I install Image Gen in Claude Code?

Run `npx skills add different-ai-studio/teamclu --skill image-gen -a claude-code`. Or copy the skill folder (skills/image-gen in different-ai-studio/teamclu) into .claude/skills/image-gen in your project. Claude Code loads it when a task matches its description.

How do I install Image Gen in Codex?

Run `npx skills add different-ai-studio/teamclu --skill image-gen -a codex`. Or copy the skill folder (skills/image-gen in different-ai-studio/teamclu) into .agents/skills/image-gen in your project. Codex loads it when a task matches its description.

Can I use Image Gen 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 different-ai-studio/teamclu --skill image-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-gen, .gemini/skills/image-gen, .github/skills/image-gen and .opencode/skills/image-gen in your project.

What does Image Gen need to run?

Going by SKILL.md and its folder, Image Gen needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Image Gen 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 Image Gen 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 Image Gen use?

Image Gen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Image Gen use?

About 430 tokens (SKILL.md is roughly 1.7k 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 Image Gen?

Skills that share tags, products or a category with Image Gen: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Structured Image Generation (bytedance/deer-flow, 84k stars), Canghe Comic (freestylefly/canghe-skills, 461 stars) and Generate Image (ynulihao/AgentSkillOS, 618 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image Gen?

different-ai-studio (a GitHub organization) maintains it in different-ai-studio/teamclu, which has 167 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.

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