Agent skill

Yao Image Tools

by YaoApp in YaoApp/yao

Lets an agent read and describe images through a vision model and generate or edit images from text prompts, using the tai command-line tool.

Custom licenceAuto-check passedMedia & Creative

Install Yao Image Tools

skills CLI
$ npx skills add YaoApp/yao --skill yao-image -a claude-code

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

GitHub CLI
$ gh skill install YaoApp/yao yao-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/YaoApp/yao.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tools/skills/yao-image .claude/skills/yao-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
yao-image
GitHub stars
8.1k
Token cost
~2k tokens
SKILL.md length
615 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Custom licence

At a glance

Lets an agent read and describe images through a vision model and generate or edit images from text prompts, using the tai command-line tool.

  • Reading a screenshot or chart that the agent cannot view natively
  • SKILL.md covers image_read, image_generate, image_edit and image_providers, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Describing a photo or diagram from a file path or URL

What it does

This skill documents image tools that run through the `tai tool` command. The image_read tool sends a local file or URL to a vision-capable model and returns a text description. It accepts an optional prompt, a maximum edge size that defaults to 1080 pixels, and a choice of vision provider. Images are resized before sending, and PNG, JPEG, GIF and WebP are supported.

The image_generate tool creates a picture from a text prompt and always writes it to a path you give with --output. Options cover provider, model, dimensions, a transparent background for icons or stickers, output format (PNG or WebP) and quality. Changing an existing picture is handled by a separate image_edit tool.

When your agent uses it

  • Reading a screenshot or chart that the agent cannot view natively
  • Describing a photo or diagram from a file path or URL
  • Generating an icon or mascot with a transparent background
  • Producing an image file in PNG or WebP at a chosen size

Example prompts

  • “Describe what is shown in ./screenshots/checkout-error.png.”
  • “Generate a flat fox mascot with a transparent background and save it as fox.png.”
  • “Read the chart in ./reports/q3-chart.png and list the figures it shows.”

Requirements

  • The tai command-line tool
  • A vision-capable model provider for reading images
  • An image generation provider for creating images

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    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

Yao Image Tools loads about 2k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 615 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 615 words (~1,995 tokens).

“Use these tools when you encounter images you cannot read natively, or when you need to generate new images.”

— opening of SKILL.md by YaoApp, Custom licence
name
yao-image

Read the full SKILL.md on GitHub

Files

Just SKILL.md in tools/skills/yao-image of YaoApp/yao.

Open the folder on GitHubat commit eea1e7e

Compare with similar skills

Yao Image Tools 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.

Yao Image Tools compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yao Image Tools this skillYaoApp/yao8.1k—~2kAutomated safety check: PassCustom licence
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Generate Imageynulihao/AgentSkillOS61710 repos~1.7kAutomated safety check: NotesNone
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT
BlockRun Image GenerationBlockRunAI/ClawRouter6.6k—~2.1kAutomated safety check: PassMIT
Native Transparent ImagegenZSeven-W/craft-skills2251 repos~1.1kAutomated safety check: PassApache-2.0

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
  • 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
  • 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 8 days ago
    Media & CreativeAuto-check: notes
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Native Transparent Imagegen

    ZSeven-W/craft-skills

    Generate new raster assets that must contain native pixel transparency, then verify the untouched PNG or WebP before delivery.

    225 GitHub starsUsed in 1 repo~1.1k tokens
    Media & CreativeAuto-check passed
  • Antigravity Gemini Image

    uluckyXH/OpenMOSS

    Generate or edit images using the Antigravity-hosted Gemini image model via the local gateway.

    1.3k GitHub stars~730 tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes

More from YaoApp/yao

All 14 skills in this repo
  • Lists, downloads, references and deploys agents on a Yao host through five bash-invoked tools, keeping edits to the smith namespace while allowing read-only study of any agent.

    8.1k GitHub stars~873 tokensUpdated today
    Auto-check passed
  • Transcribes audio files such as mp3, m4a, wav and webm to text with the tai audio_transcribe tool, and lists the available speech-to-text providers.

    8.1k GitHub stars~416 tokensUpdated today
    Auto-check passed
  • Starts, lists, checks, restarts and stops long-running background services through Yao daemon tools, reporting the verified port and URL of each.

    8.1k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Starts, lists, monitors, waits on and stops long-running background commands through a dedicated set of job-management tools.

    8.1k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Lists workspaces and reads or writes their files on a remote node through five tai tool commands, for cross-node file work the local filesystem cannot do.

    8.1k GitHub stars~939 tokensUpdated today
    Auto-check passed
  • Manages Git identity, HTTPS access tokens and SSH keys at the workspace level through three `tai tool` commands, each with a get, set, list, import or delete action.

    8.1k GitHub stars~712 tokensUpdated today
    Auto-check passed

Questions about Yao Image Tools

What does Yao Image Tools do?

Lets an agent read and describe images through a vision model and generate or edit images from text prompts, using the tai command-line tool. This skill documents image tools that run through the `tai tool` command. The image_read tool sends a local file or URL to a vision-capable model and returns a text description.

When should I use Yao Image Tools?

Yao Image Tools fits situations like: reading a screenshot or chart that the agent cannot view natively; describing a photo or diagram from a file path or URL; generating an icon or mascot with a transparent background; producing an image file in PNG or WebP at a chosen size.

How do I install Yao Image Tools in Claude Code?

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

How do I install Yao Image Tools in Codex?

Run `npx skills add YaoApp/yao --skill yao-image -a codex`. Or copy the skill folder (tools/skills/yao-image in YaoApp/yao) into .agents/skills/yao-image in your project. Codex loads it when a task matches its description.

Can I use Yao Image Tools 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 YaoApp/yao --skill yao-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/yao-image, .gemini/skills/yao-image, .github/skills/yao-image and .opencode/skills/yao-image in your project.

What does Yao Image Tools need to run?

SKILL.md names no scripts, command-line tools or credentials: Yao Image Tools is instructions for the agent only. Our summary lists: The tai command-line tool; A vision-capable model provider for reading images; An image generation provider for creating images.

Does Yao Image Tools 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 Yao Image Tools 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. Review the folder before installing.

What licence does Yao Image Tools use?

Yao Image Tools has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Yao Image Tools use?

About 2k tokens (SKILL.md is roughly 8k 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 Yao Image Tools?

Skills that share tags, products or a category with Yao Image Tools: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Generate Image (ynulihao/AgentSkillOS, 617 stars), GPT Image Generation CLI (wuyoscar/GPT-Image2-Skill, 5.7k stars) and BlockRun Image Generation (BlockRunAI/ClawRouter, 6.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yao Image Tools?

YaoApp (a GitHub organization) maintains it in YaoApp/yao, which has 8,103 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.

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