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.5 | $0.00023 | $0.00205 |
| Sonnet 5.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 3mo 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.
- 3mo 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 4mo ago), licensed MIT. It adds 57 tokens to every session and 512 once invoked, about $0.0002 per session on Opus 5.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.
wecom-finance-sdk compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wecom-finance-sdknongjun/feishu-cursor-claw | Skill | 14 | 4mo ago | MIT | A | 57 | Claude Code, Codex |
| firebase-messagingevanca/flutter-ai-rules | Skill | 676 | 18d ago | MIT | A | 35 | Claude Code |
| firebase-cloud-functionsevanca/flutter-ai-rules | Skill | 676 | 18d ago | MIT | A | 36 | Claude Code |
| metabot-teamxvirobotics/metabot | Skill | 1.0k | 1mo ago | MIT | A | 33 | Claude Code, Codex |
| audit-payment-systemkensaurus/cursor-kenji | Skill | 9 | 2mo ago | MIT | A | 66 | Claude Code |
| enhance-web-web3dkensaurus/cursor-kenji | Skill | 9 | 2mo ago | MIT | A | 69 | Claude Code |
| mobile-emulator-testkensaurus/cursor-kenji | Skill | 9 | 2mo ago | MIT | A | 67 | Claude Code |