yao-agent
Agent management expert. ALWAYS invoke this skill when you need to list available agents,…
Image expert. ALWAYS invoke this skill when you need to read, analyze, describe, or generate images. Use for screenshots, photos, charts, diagrams, AI-generated images, or any visual content.
$ npx -y skills add YaoApp/yao --skill yao-image --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/yao-imageContext preview
The summary Claude sees to decide when to auto-load this skill.
Image expert. ALWAYS invoke this skill when you need to read, analyze, describe, or generate images. Use for screenshots, photos, charts, diagrams, AI-generated images, or any visual content.
name: yao-image description: Image expert. ALWAYS invoke this skill when you need to read, analyze, describe, or generate images. Use for screenshots, photos, charts, diagrams, AI-generated images, or any visual content.
Use these tools when you encounter images you cannot read natively, or when you need to generate new images.
Send an image to a vision-capable model and get a text description.
tai tool image_read --image_path /path/to/image.png --prompt "Describe this image"
tai tool image_read --image_path https://example.com/photo.jpg --prompt "What is shown?"
tai tool image_read --image_path /path/to/image.png --prompt "Describe" --provider llm.my-openai:gpt-4o
| Parameter | Type | Required | Description | | ---------- | ------- | -------- | --------------------------------------------------------------- | | image_path | string | yes | Image file path or URL | | prompt | string | no | Analysis instruction (default: describe in detail) | | max_size | integer | no | Max dimension in pixels for longest edge (default: 1080) | | provider | string | no | Vision provider connector ID. If omitted, uses default vision model |
Images are automatically resized (preserving aspect ratio) before sending to the vision model. Supported formats: PNG, JPEG, GIF, WebP.
Generate a new image from a text prompt (text-to-image). For editing an existing image, use `image_edit` instead.
tai tool image_generate --prompt "A serene mountain landscape at sunset" --output landscape.png
tai tool image_generate --prompt "A futuristic city skyline" --provider llm.my-openai --model gpt-image-1 --dimensions 1792x1024 --output output/city.png
tai tool image_generate --prompt "A cute fox mascot" --background transparent --output_format png --output fox.png
tai tool image_generate --prompt "A landscape painting" --output_format webp --quality high --output painting.webp
| Parameter | Type | Required | Description | | --------- | ------ | -------- | ----------------------------------------------------------------- | | prompt | string | yes | Text description of the image to generate | | output | string | yes | Output file path for the generated image | | provider | string | no | Provider connector ID (use `image_providers` to list). Auto-selects if omitted | | dimensions | string | no | Image dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024 | | model | string | no | Model name to use. Overrides the provider's default model | | background | string | no | `transparent`, `opaque`, or `auto`. Use `transparent` for PNG/WebP with no background | | output_format | string | no | `png`, `jpeg`, or `webp`. Default: png | | output_compression | integer | no | Compression level 0-100 for jpeg/webp. Higher = better quality. Default: 100 | | quality | string | no | `low`, `medium`, `high`, or `auto`. Higher takes longer. Default: auto | | extra | JSON | no | Provider-specific parameters as a JSON object (e.g. `--extra '{"moderation":"low"}'`) |
If `output` is omitted, the image is saved to a default path in the working directory.
Edit or transform an existing image based on a text prompt (image-to-image). Use for style transfer, background replacement, adding/removing elements, or any modification that requires a reference image.
tai tool image_edit --image_path /path/to/photo.png --prompt "Change the background to a beach scene" --output edited.png
tai tool image_edit --image_path https://example.com/photo.jpg --prompt "Make it look like a watercolor painting" --output watercolor.png
tai tool image_edit --image_path /path/to/original.png --prompt "Remove the person in the foreground" --provider llm.my-openai --model gpt-image-1 --dimensions 1024x1024 --output result.png
tai tool image_edit --image_path /path/to/photo.png --mask /path/to/mask.png --prompt "Replace with a garden" --output edited.png
tai tool image_edit --image_path /path/to/product.png --prompt "Remove background" --background transparent --output_format png --output cutout.png
| Parameter | Type | Required | Description | | ---------- | ------ | -------- | ----------------------------------------------------------------- | | image_path | string | yes | Reference image file path or URL | | prompt | string | yes | Text description of the desired edit or transformation | | output | string | yes | Output file path for the edited image | | provider | string | no | Provider connector ID (use `image_providers` with `capability=image_editing`). Auto-selects if omitted | | dimensions | string | no | Output dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024 | | model | string | no | Model name to use. Overrides the provider's default model | | mask | string | no | Mask image path/URL. Transparent areas in the mask define the editable region
✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.
Agent management expert. ALWAYS invoke this skill when you need to list available agents,…
Audio expert. ALWAYS invoke this skill when the user asks to transcribe, recognize, or…
Kanban board and task query expert. ALWAYS invoke this skill when the user asks about boards,…
Typed decision expert. ALWAYS invoke this skill when you need structured classification,…
Yao process documentation expert. ALWAYS invoke this skill when the user needs to discover…