# Image Generation (agent skill)

> Image Generation is an agent skill (a SKILL.md file) from zhayujie/CowAgent. Generate or edit images from text prompts. It works with Claude Code and has 47,256 GitHub stars. Install it by copying the skill folder into your agent's skills directory.

Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content. Generate and edit images using AI models. The script automatically picks a backend based on which API keys are configured — you don't need to specify a model unless the user explicitly names one. Never guess or invent a model: when the user doesn't name one, omit model entirely so the configured default/provider is used.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/zhayujie/CowAgent |
| Skill path | skills/image-generation/SKILL.md |
| Skill name | image-generation |
| GitHub stars | 47,256 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code |
| Category | Design & frontend |
| Last commit | Oct 6, 2026 |

## When it triggers

- Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/zhayujie/CowAgent.git
cp -r CowAgent/skills/image-generation ~/.claude/skills/image-generation   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/zhayujie/CowAgent.git
cp -r CowAgent/skills/image-generation .agents/skills/image-generation   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/zhayujie/CowAgent.git
cp -r CowAgent/skills/image-generation .cursor/skills/image-generation   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/zhayujie-image-generation
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
