跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

yao-image

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.

AI 与智能体8.1ktools/skills/yao-image/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/yaoapp/yao/yao-image/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

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
ParameterTypeRequiredDescription
image_pathstringyesImage file path or URL
promptstringnoAnalysis instruction (default: describe in detail)
max_sizeintegernoMax dimension in pixels for longest edge (default: 1080)
providerstringnoVision 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
ParameterTypeRequiredDescription
promptstringyesText description of the image to generate
outputstringyesOutput file path for the generated image
providerstringnoProvider connector ID (use image_providers to list). Auto-selects if omitted
dimensionsstringnoImage dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024
modelstringnoModel name to use. Overrides the provider's default model
backgroundstringnotransparent, opaque, or auto. Use transparent for PNG/WebP with no background
output_formatstringnopng, jpeg, or webp. Default: png
output_compressionintegernoCompression level 0-100 for jpeg/webp. Higher = better quality. Default: 100
qualitystringnolow, medium, high, or auto. Higher takes longer. Default: auto
extraJSONnoProvider-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.png --mask /path/to/mask.png --prompt "Replace with a garden" --output edited.png

Transparent background edit:

tai tool image_edit --image_path /path/to/product.png --prompt "Remove background" --background transparent --output_format png --output cutout.png
ParameterTypeRequiredDescription
image_pathstringyesReference image file path or URL
promptstringyesText description of the desired edit or transformation
outputstringyesOutput file path for the edited image
providerstringnoProvider connector ID (use image_providers with capability=image_editing). Auto-selects if omitted
dimensionsstringnoOutput dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024
modelstringnoModel name to use. Overrides the provider's default model
maskstringnoMask image path/URL. Transparent areas in the mask define the editable region
backgroundstringnotransparent, opaque, or auto. Use transparent for PNG/WebP with no background
output_formatstringnopng, jpeg, or webp. Default: png
output_compressionintegernoCompression level 0-100 for jpeg/webp. Higher = better quality. Default: 100
qualitystringnolow, medium, high, or auto. Higher takes longer. Default: auto
extraJSONnoProvider-specific parameters as a JSON object (e.g. --extra '{"input_fidelity":"high"}')

If output is omitted, the image is saved to a default path in the working directory.

image_providers

List available image providers filtered by capability.

List image generation providers (default):

tai tool image_providers

List image editing providers:

tai tool image_providers --capability image_editing

List vision (image reading) providers:

tai tool image_providers --capability vision
ParameterTypeRequiredDescription
capabilitystringnoimage_generation (default), image_editing, or 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.

Constraints

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.

相似的 Skill

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI 与智能体

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI 与智能体

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI 与智能体

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI 与智能体

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI 与智能体

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI 与智能体