yao-image
できること
このスキルにより、エージェントは自分だけでは読めない画像を見て、その内容を説明できます。新しい画像の生成にも対応しています。視覚的な内容を理解したり作成したりする必要がある人向けです。
使う場面
- ✓スクリーンショット、写真、グラフがあり、その説明がほしいとき。
- ✓画像に含まれる情報を、文字の形で必要とするとき。
- ✓書かれた説明から、新しい画像を生成したいとき。
スキルのリンク
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-image/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このスクリーンショットに何が写っているか説明して、グラフが何を示しているかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、あなたの質問とともに画像を画像認識に対応したモデルに送り、テキストの説明を受け取ります。大きな画像は、先にサイズが縮小されます。PNG、JPEG、GIF、WebPファイルに対応しています。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Image Tools
Use these tools when you encounter images you cannot read natively, or when you need to generate new images.
image_read
Send an image to a vision-capable model and get a text description.
Local file (most common):
tai tool image_read --image_path /path/to/image.png --prompt "Describe this image"
URL:
tai tool image_read --image_path https://example.com/photo.jpg --prompt "What is shown?"
With a specific vision provider:
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.
image_generate
Generate a new image from a text prompt (text-to-image). For editing an existing image, use image_edit instead.
Basic usage (always specify output):
tai tool image_generate --prompt "A serene mountain landscape at sunset" --output landscape.png
With specific provider, model and size:
tai tool image_generate --prompt "A futuristic city skyline" --provider llm.my-openai --model gpt-image-1 --dimensions 1792x1024 --output output/city.png
Transparent background (for icons, stickers, product shots):
tai tool image_generate --prompt "A cute fox mascot" --background transparent --output_format png --output fox.png
WebP output with quality control:
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.
image_edit
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.
Basic usage:
tai tool image_edit --image_path /path/to/photo.png --prompt "Change the background to a beach scene" --output edited.png
With URL image:
tai tool image_edit --image_path https://example.com/photo.jpg --prompt "Make it look like a watercolor painting" --output watercolor.png
With specific provider and model:
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
With mask (edit only the masked region):
tai tool image_edit --image_path /path/to/photo
よくある質問
どの画像形式を読めますか?
ローカルファイルまたはWebリンクから、PNG、JPEG、GIF、WebPファイルを読めます。
画像のサイズは変更されますか?
はい。分析に送る前に、形を保ったままサイズが縮小されます。
画像について具体的な質問ができますか?
はい。分析の焦点を絞るための指示を与えられます。
詳細
作者による元の説明
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.
repo: YaoApp/yao
人気
- GitHubのスター
- 8.3k
- ランキング
- #12475
- ライセンス
- —
- 更新日
- 2026/10/19
コメント
- …
このリポジトリの他のスキル
yao-agent
8.3kYaoホスト上のエージェントを一覧表示し、コードの確認、取得、デプロイ、モデルのコネクタ確認を支援します。
yao-audio
8.3kエージェントが、会議の録音などの音声ファイルを文字に起こすよう支援します。言語を指定しない場合は、自動で言語を判別します。
yao-board
8.3kYaoプラットフォーム上のカンバンボードとタスクの状況を、エージェントが確認できるよう支援します。推測ではなく、実際のプロジェクトの進捗を報告します。
yao-daemon
8.3k開発サーバーなど、長時間動くバックグラウンドのサービスを、エージェントが起動、確認、再起動、停止し、その出力を読めるよう支援します。