iflytek-image-understanding

iflytek-image-understanding is a skill for Claude Code, Codex from iflytek/iFly-Skills. It costs 61 tokens per session (1,423 once invoked), scanned A, original, Apache-2.0.

An image-analysis tool that describes pictures and answers questions about what they contain. It uses an AI vision service, which interprets visual content rather than only reading text files.

In plain words
What is it for?
It can describe photos, answer questions about objects or scenes, and process common JPG and PNG files.
Why use it?
It lets a developer ask questions about an image without building a separate image-analysis workflow.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It can describe photos, answer questions about objects or scenes, and process common JPG and PNG files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iflytek/ifly-skills/iflytek-image-understanding
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iflytek/iFly-Skills --skill iflytek-image-understanding
Clone the repo
git clone --depth 1 https://github.com/iflytek/iFly-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for iflytek-image-understanding

README.md
[![agentmods](https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-image-understanding/github.svg)](https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-image-understanding)
Your own site
<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-image-understanding"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-image-understanding/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for iflytek-image-understanding

Your own site · 80×15
<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-image-understanding"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-image-understanding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,423 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.01423
Opus 5 $0.00030 $0.00711
Sonnet 5 $0.00012 $0.00285
Haiku 4.5 $0.00006 $0.00142

Measured 10d ago against content hash d505a0d5a2be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

iflytek-image-understanding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/image_understanding.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/iflytek-image-understanding/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ifly-image-understanding

Analyze images and answer questions about their content using iFlytek's Spark Vision model (图片理解).

Setup

  1. Create an app at 讯飞控制台 with 图片理解 service enabled
  2. Set environment variables:
    export IFLY_APP_ID="your_app_id"
    export IFLY_API_KEY="your_api_key"
    export IFLY_API_SECRET="your_api_secret"
    

Usage

Describe an image

python3 scripts/image_understanding.py photo.jpg

Ask a question about an image

python3 scripts/image_understanding.py photo.jpg -q "图片里有什么动物?"

Use basic model (lower token cost)

python3 scripts/image_understanding.py photo.jpg --domain general

Options

Flag Short Description
image Image file path (.jpg, .jpeg, .png)
--question -q Question about the image (default: describe)
--domain -d imagev3 (advanced, default) or general (basic, fixed 273 tokens/image)
--temperature -t Sampling temperature (0,1], default 0.5
--max-tokens Max response tokens 1-8192, default 2048
--raw Output raw WebSocket JSON frames

Examples

# OCR a receipt
python3 scripts/image_understanding.py receipt.png -q "总金额是多少?"

# Identify objects
python3 scripts/image_understanding.py scene.jpg -q "图片中有哪些物体?"

# Low-cost basic model
python3 scripts/image_understanding.py chart.png -q "图表的趋势是什么?" -d general

Notes

  • Image formats: .jpg, .jpeg, .png
  • Max image size: 4MB
  • Max tokens: 8192 (input + output combined)
  • Auth: HMAC-SHA256 signed WebSocket URL
  • Endpoint: wss://spark-api.cn-huabei-1.xf-yun.com/v2.1/image
  • Pure stdlib: No pip dependencies — uses built-in socket + ssl for WebSocket
  • Model versions: imagev3 (advanced, dynamic token cost) vs general (basic, fixed 273 tokens/image)

错误码说明 😢

遇到错误先别慌~看看下面找到对应的解决方法吧!✨

错误码 错误信息 解决办法
0 🎉 成功 恭喜你!请求正常完成啦~
10003 用户的消息格式有错误 检查一下你的请求格式是否正确哦~确保发送的是合法的JSON格式呢!
10004 用户数据的schema错误 看起来数据结构有点问题~请检查一下字段名称和类型是否正确呀!
10005 用户参数值有错误 参数值可能不太对呢~仔细核对一下每个参数的有效范围吧!
10006 用户并发错误:同一用户不能多处同时连接 检测到重复连接啦!请确保只有一个客户端在连接同一个用户ID哦~
10013 用户问题涉及敏感信息,审核不通过 哎呀,你的问题可能包含了一些不太合适的内容~换个问题试试看吧!
10022 模型生产的图片涉及敏感信息,审核不通过 生成的图片没有通过审核呢...很抱歉,换张图片再试一下吧!
10029 图片任何一边的长度超过12800 图片尺寸太大啦!请确保图片宽高都不超过12800像素哦~
10041 图片分辨率不符合要求 图片尺寸不合适的呢~要求是:50×50 < 图片总像素值 < 6000×6000 哦!
10907 Token数量超过上限 内容太丰富啦!对话历史+问题的字数太多,需要精简一下输入哦~

Read the full file on GitHub · 120 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 120 lines · 61 tokens per session scan A d505a0d5a2be

Subscribe to this mod's changes

iflytek-image-understanding is a skill published in the GitHub repository iflytek/iFly-Skills (216 stars, last pushed 2d ago), licensed Apache-2.0. It adds 61 tokens to every session and 1,423 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

image-prompt-builder-nl

Craft high-quality natural-language image prompts for any modern text-to-image or image-edit model that accepts flowing English. Trigger when the user wants help writing, rewriting, improving, or translating an English natural-language image prompt — including "write me an image prompt", "improve this image prompt"…

jim60105/copilot-prompt · 125 tokens

ai-media-generation-expert

Expert guide for AI image generation (Flux, DALL-E, Stable Diffusion), video generation (Sora, Runway), voice synthesis (ElevenLabs TTS), and speech recognition (Whisper STT) integration / Panduan ahli integrasi AI generasi gambar, video, suara (TTS), dan pengenalan suara (STT).

roedyrustam/vibes-plug · 78 tokens

azure-video-indexer

Expert knowledge for Azure AI Video Indexer development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring live camera analysis, custom insights, OpenAI summaries, APIs/widgets, or secure access, and…

MicrosoftDocs/Agent-Skills · 116 tokens

docker-model

Use this skill when running local AI models with Docker Model Runner — the docker model CLI — e.g. "run an LLM locally with Docker", "pull a model from the ai/ namespace", "connect my app to a local model", "use a local model as backend for the Drupal AI module", or when wiring the models: top-level element into a…

siva01c/claude-plugins · 97 tokens

scammer

A scam-message checker that analyzes suspicious texts, images, or conversation descriptions. It can identify the likely stage of a scam and suggest what the sender may try next.

naxiaoduo/Scammer.skill · 50 tokens

image-generator-sd-webui

Generate images via the Stable Diffusion WebUI / Forge HTTP API (AUTOMATIC1111-compatible /sdapi/v1/). Use when the user wants to (1) discover or pick a model / extra module (TE/VAE) / sampler / scheduler / style preset from a running sd-webui server, (2) generate an image with a given prompt (txt2img), (3) check…

jim60105/copilot-prompt · 176 tokens