- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add YaoApp/yao --skill yao-image -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add YaoApp/yao --skill yao-image -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add YaoApp/yao --skill yao-image -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add YaoApp/yao --skill yao-image -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/YaoApp/yao/tree/HEAD/tools/skills/yao-imageTừ nhà phát hành
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
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
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
If output is omitted, the image is saved to a default path in the working directory.
List available image providers filtered by capability.
tai tool image_providers
tai tool image_providers --capability image_editing
tai tool image_providers --capability vision
Returns a list of providers with their available models and connector IDs that can be passed to image_generate, image_edit, or image_read.
Use only the parameters listed above for each tool. The supported first-class parameters are: prompt, output, provider, dimensions, model, background, output_format, output_compression, quality, mask (edit only), and extra.
Do not pass n, style, or response_format — they are unsupported and will be ignored or cause errors.
For provider-specific parameters not covered above (e.g. moderation, input_fidelity), pass them through the extra JSON object.
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-imagedescription: Image expert. ALWAYS invoke this skill when you need to read, analyze, describe, or generate images. Use for…---# tools/skills/yao-image/SKILL.mdCâu hỏi thường gặp
Tải tools/skills/yao-image/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/YaoApp/yao.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.