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 agentmods add skills/coderwanfeng/python-office/vatinvoiceocr2excelnpx skills add CoderWanFeng/python-office --skill vatinvoiceocr2excelgit clone --depth 1 https://github.com/CoderWanFeng/python-officeWhat 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 | $0.00060 | $0.00537 |
| Opus 5 | $0.00030 | $0.00269 |
| Sonnet 5 | $0.00012 | $0.00107 |
| Haiku 4.5 | $0.00006 | $0.00054 |
Grade A, and why
VatInvoiceOCR2Excel 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 yesterday.
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.
What it actually says
VatInvoiceOCR2Excel Skill
使用 OCR 技术将增值税发票信息提取并导出到 Excel 文件
功能描述
使用光学字符识别(OCR)技术识别增值税发票图片中的信息,并将结果导出到 Excel 文件中。支持批量处理多个发票图片。
所属分类
office/skills/ocr/VatInvoiceOCR2Excel/
调用方式
from skills.ocr import VatInvoiceOCR2Excel
VatInvoiceOCR2Excel(
input_path='./invoices',
output_path='./',
output_excel='invoices.xlsx',
id='your_baidu_id',
key='your_baidu_key'
)
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_path |
str | 是 | - | 发票图片文件路径或包含多个发票图片的文件夹路径 |
output_path |
str | 否 | './' |
输出 Excel 文件的文件夹路径 |
output_excel |
str | 否 | 'VatInvoiceOCR2Excel.xlsx' |
输出 Excel 文件的名称 |
img_url |
str | 否 | None |
网络发票图片的 URL。如果提供了 input_path,则此参数将被忽略 |
id |
str | 否 | None |
百度 OCR API 的识别 ID |
key |
str | 否 | None |
百度 OCR API 的密钥 |
file_name |
bool | 否 | False |
是否使用图片文件名作为 Sheet 名称 |
trans |
bool | 否 | False |
是否将识别结果翻译成英文 |
返回值
None:函数将结果直接写入到指定的 Excel 文件中
使用示例
from skills.ocr import VatInvoiceOCR2Excel
VatInvoiceOCR2Excel(input_path='./发票图片', output_excel='所有发票汇总.xlsx')
原始函数
office.api.ocr.VatInvoiceOCR2Excel
What ships with it
1 file 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.
- yesterday First seen · 59 lines · 60 tokens per session scan A 609e8d56292b
VatInvoiceOCR2Excel is a skill published in the GitHub repository CoderWanFeng/python-office (1,346 stars, last pushed 12d ago), licensed Apache-2.0. It adds 60 tokens to every session and 537 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.
Other skills, from other repositories
airflow-translations
Add or update translations for the Apache Airflow UI. Guides through setting up locales, scaffolding translation files, translating with locale-specific guidelines, and validating results. Use when working with i18n tasks in airflow-core/src/airflow/ui/public/i18n/locales/.
docs-sync
Analyze main branch implementation and configuration to find missing, incorrect, or outdated documentation in docs/. Use when asked to audit doc coverage, sync docs with code, or propose doc updates/structure changes. Only update English docs under docs/ and never touch translated docs under docs/ja, docs/ko, or…
frontend-feature
Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.
qiskit-to-cudaq
Use when porting Qiskit Python circuits to CUDA-Q kernels while preserving algorithms and validation fidelity.
youtube-cli
Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info, and timestamped transcripts/captions with language selection and translation. Use when the user asks about YouTube…
jmcomic
Search, browse, inspect album-specific or site-wide comments, and download manga from JMComic (18comic), obtain the latest Android APK from hect0x7/JMComic-APK, and invoke the upstream jm-view-server jms command for local reading. Use for manga discovery, ranking, comment analysis, downloads, post-processing…