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 nongjun/feishu-cursor-claw --skill wecom-finance-sdkgit clone --depth 1 https://github.com/nongjun/feishu-cursor-clawWrote 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/nongjun/feishu-cursor-claw/wecom-finance-sdk)<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/wecom-finance-sdk"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/wecom-finance-sdk/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/nongjun/feishu-cursor-claw/wecom-finance-sdk"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/wecom-finance-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00057 | $0.00512 |
| Opus 5 | $0.00028 | $0.00256 |
| Sonnet 5 | $0.00011 | $0.00102 |
| Haiku 4.5 | $0.00006 | $0.00051 |
Grade A, and why
wecom-finance-sdk 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 11d 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.
What it actually says
WeCom Finance SDK
核心特性
- ctypes 调用 C++ SDK:
libWeWorkFinanceSdk_C.so - 线程安全单例:
get_finance_sdk()获取全局实例 - 崩溃自恢复:
reset_finance_sdk()重置损坏的 SDK 实例 - 分块下载:媒体文件循环调用直到
is_finish == 1
关键方法(WeComFinanceSDK)
| 方法 | 用途 |
|---|---|
get_chat_data(seq, limit) |
增量拉取加密聊天记录 |
decrypt_data(aes_key, encrypt_chat_msg) |
AES 解密消息内容 |
get_media_data(sdkfileid) |
分块下载媒体文件 |
消息拉取流程
- 调用 get_chat_data(seq=0) 获取加密消息
- RSA 私钥解密 encrypt_random_key 得到 AES 密钥
- 调用 decrypt_data() 解密消息内容
- 保存 seq,下次从新 seq 继续增量拉取
重点关注
- 仅支持 Linux x86_64,需手动下载
libWeWorkFinanceSdk_C.so - 服务器 IP 必须加入企微白名单
- 消息仅保留 5 天,必须及时拉取
- SDK 偶发段错误,已通过
reset_finance_sdk()处理 - 媒体文件下载必须循环调用直到完成
配合服务
ChatService(会话存档模块)封装了完整的同步流程:
sync_messages_from_wecom()— 批量同步+解密+入库_download_media_if_needed()— 媒体文件自动下载_recognize_voice_message()— 语音转文字(腾讯云 ASR)
参考文件
会话存档/后端服务/app/sdk/wecom_finance_sdk.py会话存档/后端服务/app/services/chat_service.py
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.
- 11d ago First seen · 49 lines · 57 tokens per session scan A 13f57301d1eb
wecom-finance-sdk is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 512 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
metabot-team
Use for the MetaBot Agent Teams CLI: create and inspect durable Teams, spawn teammates, exchange messages, and manage Tasks and Runs across Sessions.
firebase-messaging
Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).
firebase-cloud-functions
Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.
audit-payment-system
Read-only audit for payment/money-movement systems, scope-gated so a Stripe-Checkout site and an in-house ledger each see only relevant findings. Use when "audit payment system", "double charge / idempotency", "ledger / reconciliation", "webhook / 3DS / PCI". Mobile IAP → audit-monetization-iap.
enhance-web-web3d
Add purposeful 3D/WebGL and scroll choreography to an existing site with Three.js/R3F, GSAP, or Motion. Use when "add 3D", "WebGL hero", "React Three Fiber", or "scroll-driven 3D". General UI polish → enhance-web-ui. Motion without 3D → enhance-motion.
mobile-rn-screen
Polish an existing React Native screen to feel intentional, native, and human-crafted. Use for "this screen looks off", "feels clunky on iOS", "Android version looks wrong", "jank when scrolling", "button is unreachable", or any RN-specific UX polish pass.