Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .claude/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .agents/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .cursor/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .gemini/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .github/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "iflytek-ocr-invoice" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-ocr-invoice into .opencode/skills/iflytek-ocr-invoice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-ocr-invoice", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
iflytek-ocr-invoice
GitHub stars
209
Token cost
~1.9k tokens
SKILL.md length
539 words
Files
4 (incl. scripts)
Skills in repo
11
Repo updated
First seen
Licence
Apache-2.0
At a glance
A skill your agent uses when user asks to recognize invoices, extract receipt data, or OCR bills and tickets.
User asks to recognize invoices
SKILL.md covers When to Use, Prerequisites, Supported Image Formats and Usage, plus 4 more sections
Runs Python scripts from its folder; calls python3; reaches api.xf-yun.com; needs IFLY_API_KEY and IFLY_API_SECRET
Extract receipt data
What it does
Iflytek OCR Invoice is an agent skill from iflytek/iFly-Skills. Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, bank receipts, and more.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `README.md`, `_meta.json` and `scripts/invoice.py`).
It sits in Documents & Office, covering Forms and invoices. The repository describes itself as: Official collection of iFLYTEK skills for speech, OCR, translation, proofreading, and multimodal AI capabilities. The licence is Apache-2.0.
When your agent uses it
User asks to recognize invoices
Extract receipt data
OCR bills and tickets
Example prompts
“/iflytek-ocr-invoice”
Requirements
Python 3
A credential in IFLY_API_KEY
A credential in IFLY_API_SECRET
What it can do on your machine
Read from SKILL.md and the folder at commit 58dc114. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3
From the folder's file list and the shell code blocks in SKILL.md.
Network
Hosts in commands or code, which the agent is likely to contact:
api.xf-yun.com
Also links to:
xfyun.cn
console.xfyun.cn
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names these keys or tokens, usually read from environment variables:
IFLY_API_KEY
IFLY_API_SECRET
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Iflytek OCR Invoice loads about 1.9k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 539 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~81
When it runs· the whole SKILL.md, loaded when a task matches
~1.9k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
Download SKILL.mdSave it as .claude/skills/iflytek-ocr-invoice/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
iflytek-ocr-invoice
description
Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, bank receipts, and more.
The script is at scripts/invoice.py relative to this skill directory.
Basic Recognition
bash
python3 scripts/invoice.py /path/to/invoice.png
Options
Flag
Description
--raw
Output raw API JSON response instead of formatted text
Examples
bash
# Recognize a VAT invoice
python3 scripts/invoice.py ./vat_invoice.jpg
# Recognize a medical receipt with raw output
python3 scripts/invoice.py ./medical_bill.png --raw
# Recognize a taxi receipt
python3 scripts/invoice.py ./taxi_receipt.jpg
# macOS / Linux 用户复制这行:
for name in IFLY_APP_ID IFLY_API_KEY IFLY_API_SECRET; do
if printenv "$name" | grep -q .; then echo "$name: set"; else echo "$name: missing"; fi
done
# Windows 用户在 cmd 里运行这行:
for %V in (IFLY_APP_ID IFLY_API_KEY IFLY_API_SECRET) do @if defined %V (echo %V: set) else (echo %V: missing)
上述命令仅检查是否已配置,不打印凭证值。显示 missing 时需要配置对应变量;显示 set 后仍须确认三项来自同一应用。设置方法:
Iflytek OCR Invoice next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Universal media renderer with no fixed template — any custom layout, size or style becomes pixel-perfect images (PNG/JPEG/WebP), vector SVG, paged PDFs or animations (WebP/GIF).
A skill your agent uses when the user wants to view AI conversation token usage as a receipt, invoice, checkout slip, token bill, usage receipt, cost snapshot, or creative monospace thermal-paper…
开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers.
A skill your agent uses when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Iflytek OCR Invoice is an agent skill from iflytek/iFly-Skills. Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets.
When should I use Iflytek OCR Invoice?
Iflytek OCR Invoice fits situations like: user asks to recognize invoices; extract receipt data; OCR bills and tickets.
How do I install Iflytek OCR Invoice in Claude Code?
Run `npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a claude-code`. Or copy the skill folder (skills/iflytek-ocr-invoice in iflytek/iFly-Skills) into .claude/skills/iflytek-ocr-invoice in your project. Claude Code loads it when a task matches its description.
How do I install Iflytek OCR Invoice in Codex?
Run `npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a codex`. Or copy the skill folder (skills/iflytek-ocr-invoice in iflytek/iFly-Skills) into .agents/skills/iflytek-ocr-invoice in your project. Codex loads it when a task matches its description.
Can I use Iflytek OCR Invoice in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoice -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iflytek-ocr-invoice, .gemini/skills/iflytek-ocr-invoice, .github/skills/iflytek-ocr-invoice and .opencode/skills/iflytek-ocr-invoice in your project.
What does Iflytek OCR Invoice need to run?
Going by SKILL.md and its folder, Iflytek OCR Invoice needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named IFLY_API_KEY and IFLY_API_SECRET. Our summary lists: Python 3; A credential in IFLY_API_KEY; A credential in IFLY_API_SECRET.
Does Iflytek OCR Invoice access the network?
SKILL.md names 3 domains. In commands or code: api.xf-yun.com; the agent is likely to contact it when it follows the instructions. As links in the text: xfyun.cn and console.xfyun.cn. This is read from the text; nothing was executed.
Is Iflytek OCR Invoice safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
What licence does Iflytek OCR Invoice use?
Iflytek OCR Invoice is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Iflytek OCR Invoice use?
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Iflytek OCR Invoice?
Skills that share tags, products or a category with Iflytek OCR Invoice: Form Filling (platonai/Browser4, 1.2k stars), Code2media (tsingliuwin/autoclaw, 283 stars), Token Receipt (Hchen1218/token-receipt, 126 stars) and Invoice Maker (tsingliuwin/autoclaw, 283 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Iflytek OCR Invoice?
iflytek (a GitHub organization) maintains it in iflytek/iFly-Skills, which has 209 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.
Source: iflytek/iFly-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.