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.
npx skills add iflytek/iFly-Skills --skill iflytek-ocr-invoicegit clone --depth 1 https://github.com/iflytek/iFly-SkillsWrote 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.
[](https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-ocr-invoice)<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-ocr-invoice"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-ocr-invoice/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.
<a href="https://agentmods.dev/skills/iflytek/ifly-skills/iflytek-ocr-invoice"><img src="https://agentmods.dev/badge/skills/iflytek/ifly-skills/iflytek-ocr-invoice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 85 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.03331 |
| Opus 5 | $0.00039 | $0.01665 |
| Sonnet 5 | $0.00015 | $0.00666 |
| Haiku 4.5 | $0.00008 | $0.00333 |
Grade A, and why
iflytek-ocr-invoice 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.
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.
How it starts
The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ifly-ocr-invoice
OCR-based invoice and receipt recognition using the iFlytek (科大讯飞) API. Extracts structured fields from photos or scans of Chinese invoices and bills.
When to Use
- User provides an invoice/receipt image and wants structured data extracted
- Need to digitize paper invoices (增值税发票、出租车票、火车票、医疗票据 etc.)
- Expense report automation — extract amounts, dates, vendor info from receipts
Prerequisites
- Python 3 (standard library only, no pip install needed)
- Environment variables (get from 讯飞控制台):
XFYUN_APP_ID— Application IDXFYUN_API_KEY— API KeyXFYUN_API_SECRET— API Secret
Supported Image Formats
png, jpg/jpeg, bmp, gif, tif/tiff, pdf
Usage
The script is at scripts/invoice.py relative to this skill directory.
Basic Recognition
python3 scripts/invoice.py /path/to/invoice.png
Options
| Flag | Description |
|---|---|
--raw |
Output raw API JSON response instead of formatted text |
Examples
# 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
Output Format (default)
Human-readable structured fields:
票据类型: 增值税普通发票
发票代码: 012345678901
发票号码: 12345678
开票日期: 2026年03月06日
金额: ¥1,234.56
...
Output Format (--raw)
Full API JSON response including all metadata and encoded payload.
Authentication
Uses HMAC-SHA256 signature-based auth (讯飞鉴权). The script handles all signing automatically — just set the three environment variables.
API Details
- Endpoint:
POST https://api.xf-yun.com/v1/private/sc45f0684 - Auth: HMAC-SHA256 signature in URL query parameters
- Image limit: Check your service tier on 讯飞控制台
哎呀,出错了怎么办?(´;ω;`)
别慌别慌~ 对照下面的表格看看,大部分问题都能自己解决哦!如果试了还是不行,随时来问我,我们一起解决~ ✧٩(ˊᗜˋ*)و✧
🌟 常见错误快速排查表
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.
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.
- 10d ago First seen · 210 lines · 77 tokens per session scan A a9be7ef5d6be
iflytek-ocr-invoice is a skill published in the GitHub repository iflytek/iFly-Skills (216 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 3,331 once invoked, about $0.0004 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.
Other skills, from other repositories
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
officecli-financial-model
Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…
A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.
report-generator
Generate professional HTML/PDF investment reports with interactive visualizations.
financial-document-parser
Extract and analyze data from invoices, receipts, bank statements, and financial documents. Categorize expenses, track recurring charges, and generate expense reports. Use when user provides financial PDFs or images.
paper2xhs
A process for turning an academic paper PDF into an illustrated multi-image post for Xiaohongshu, a Chinese social-media platform. It combines a plain-language explanation with a cover, paper figures, and tags.