CIIP智能报销

SKILL效率
效率 未标注权限 许可证不明确
安装这个技能

适配铯镨平台“三自”分配体系,当用户需要生成费用报销申请单 Excel、根据聊天信息 / JSON 数据自动填充报销单据,或是通过 IMAP 协议从邮箱(QQ 邮箱、163 邮箱、126 邮箱、谷歌邮箱、Outlook、腾讯企业邮)获取 / 下载发票附件时,应当启用本功能。 功能覆盖对话式报销全流程、14 列表单模板生成,以及邮箱发票自动化处理。 触发关键词:报销、发票、reimbursement、invoice、报销单、expense form、邮箱发票、拉取发票、下载发票。

一句话选型结论

按资料字段整理

CIIP智能报销是效率类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类效率 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_f62d5d31/syw646071870
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

效率
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_f62d5d31仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791680667
正文体量7.9 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
整理待办与日程

把零散任务收进清单,排出优先级。

批量处理重复任务

把固定动作做成模板,重复执行。

把流程写成清单

把口头流程整理成可复用的步骤。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在效率场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
CIIP智能报销当前 未标注权限 未标注 未标注 未标注 有
Nano PDF 文档 联网访问 ClawHub 市场 424.9 万 OpenClaw 有
自动更新程序 浏览器控制 ClawHub 市场 296.4 万 OpenClaw 有
Gemini 助手 联网访问 ClawHub 市场 254.7 万 OpenClaw 有
word DOCX 文档 联网访问 ClawHub 市场 239.6 万 OpenClaw 有
Excel XLSX 前端 联网访问 ClawHub 市场 227.0 万 OpenClaw 有

SKILL.md 全文

7.9 KB
模型实际读到的说明书原文,来自技能仓库

一体化对话式报销 Agent

Purpose

Provide a ready-to-run, two-in-one reimbursement toolkit for enterprise / personal finance scenarios:

  1. Excel 报销单生成 — turn conversational chat text or a JSON structure into a
    formatted《费用报销申请单》.xlsx (14-column template, RMB uppercase total, auto-sum).
  2. 邮箱发票自动化 — connect to a mailbox over IMAP and list / count / download
    invoice attachments using natural-language commands (e.g. "拉取本周发票",
    "下载所有差旅费发票").

The toolkit is fully self-contained Python (no LLM required) and degrades gracefully
when optional dependencies are missing.

When to use

  • User asks to "生成报销单 / 做报销 / 录入报销信息 / 从JSON生成报销单".
  • User asks to "查看发票邮件 / 拉取本周发票 / 下载差旅费发票 / 统计本月发票数量".
  • User asks to "扫描微信发票 / 从微信聊天记录中找发票 / 自动提取微信发票".
  • User needs the《费用报销申请单》Excel template filled programmatically.
  • User wants a no-account demo of either flow (use --demo mode).

Deployment (run once per working directory)

The bundled scripts use relative imports, so reimburse_agent.py,
email_invoice_agent.py, and reimburse_engine.py must sit in the same folder.

  1. Copy the three scripts + example config into the target working directory:
    - scripts/reimburse_agent.py
    - scripts/email_invoice_agent.py
    - scripts/reimburse_engine.py
    - scripts/email_config.example.json
  2. Install dependencies (graceful degradation if skipped — see Errors below):
    pip install openpyxl imap-tools
  3. (Email only) Create email_config.json from the example and fill in real values:
    - email — mailbox account
    - auth_code — authorization code, NOT the login password
    - provider — one of qq / 163 / 126 / gmail / outlook / exmail,
    or set imap_host directly
    - local_dir — where invoice attachments are saved (supports ~)
    - categories — keyword map for invoice categorization
    - ⚠️ Security: Never commit email_config.json to version control or share it publicly — it contains sensitive credentials.

Usage

Run from the directory containing the scripts.

Reimbursement form (Excel):

python reimburse_agent.py                      # interactive wizard
python reimburse_agent.py "生成报销单示例"      # one-click sample xlsx
python reimburse_agent.py "从JSON生成报销单 a.json"
python reimburse_agent.py "从文本生成报销单 a.txt"
python reimburse_agent.py --demo "生成报销单示例"   # no deps needed

Email invoices:

python reimburse_agent.py "查看全部发票邮件"
python reimburse_agent.py "拉取本周发票"
python reimburse_agent.py "下载所有差旅费发票"
python reimburse_agent.py "统计本月发票数量"
python reimburse_agent.py "下载最近7天的餐饮发票"
python reimburse_agent.py --demo "统计本月发票数量"   # mock data, no account

Natural-language time words are supported: 本周/这周, 上周/上个星期, 本月/这个月,
上月/上个月, 今天, 最近N天, 全部/所有. Categories: 差旅/交通/住宿/餐饮/办公/通讯.
Type 帮助 for the full command menu, 退出 to quit interactive mode.

WeChat invoice scanning (macOS only):

python wechat_invoice_scanner.py                      # list all invoices
python wechat_invoice_scanner.py --recent 30          # invoices from last 30 days
python wechat_invoice_scanner.py --output json        # JSON format output
python wechat_invoice_scanner.py --output reimburse   # reimburse-Agent compatible format
python wechat_invoice_scanner.py --invoice-id 3       # view invoice #3 details

Scans ~/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files/<user>/msg/file/
for PDF files matching invoice keywords (dzfp_, 发票, invoice, etc.). Extracts invoice
number, date, buyer/seller names, tax IDs, amounts, and line items using pdfplumber.
Non-invoice PDFs (e.g., reimbursement reports) are automatically filtered out by checking
for 发票号码 or 开票日期 markers in the extracted text.

Note: WeChat database files (db_storage/message/*.db) are WCDB-encrypted and cannot
be read with standard SQLite. The scanner works at the file-system level only — it finds
invoice PDFs but cannot determine which chat sent them.

Engine details (reimburse_engine.py)

  • generate(data, output_path) — fills the template. data = {basic, reason, invoices[], payments[], attachments_note}. See SAMPLE_INPUT in the script for
    the exact schema.
  • parse_chat(text) — heuristic parser converting semi-structured chat text into the
    data dict (fields use Chinese labels like 费用类别:, 价税合计:).
  • English keys in basic are mapped to Chinese template labels automatically.
  • Excel write errors (file open in Excel/WPS → PermissionError; bad directory →
    OSError) surface as RuntimeError with actionable Chinese messages.

Customization

The Excel template includes a company name line (line 2 of the sheet). To customize it
for your organization, edit reimburse_engine.py and change the string on line ~207:

ws["A2"] = "铯镨(××)科技有限公司 | 智能财务 · 对话式自动化报销单"

Replace with your own company name and subtitle. The engine code is fully self-contained
with no external template files — all formatting is generated programmatically.

Errors & graceful degradation

Situation Behavior
openpyxl missing HAS_EXCEL=False; Excel feature shows install hint, email feature still works
imap-tools missing HAS_IMAP_TOOLS=False; email shows install hint / suggests --demo
Bad email_config.json Warning, falls back to built-in defaults
Unconfigured mailbox AgentError: create email_config.json with auth code
Login failed AgentError: check auth code ≠ password, IMAP enabled
Cannot reach server AgentError: network / provider / port 993 hints
Local dir unwritable AgentError: fix local_dir path/permissions
Some attachments fail Others still download; summary shows failure count
No matching invoices Prints 4 actionable suggestions instead of crashing

All user-facing errors use the AgentError class (message only, no stack trace).

Known issues & fixes

163/126 (NetEase) "SELECT Unsafe Login"

Symptom: IMAP login succeeds but SELECT INBOX returns SELECT Unsafe Login. Please contact kefu@188.com for help.

Root cause: NetEase mail servers enforce mandatory IMAP ID command (RFC 2971) before allowing SELECT operations. Standard imap-tools does not send this command.

Fix: email_invoice_agent.py now auto-detects provider: "163" / "126" in email_config.json and switches to a native imaplib path that sends the required ID command after login:

imaplib.Commands["ID"] = ("AUTH",)
conn._simple_command("ID", '("name" "WorkBuddy" "version" "1.0" "vendor" "CiipPlatform")')

No config changes needed — just set "provider": "163" (or "126") and ensure the auth code is valid.

Reference

For the full beginner's manual (pre-config walkthrough, all commands, FAQ 11,
config-field reference, 30-second quick card), load references/报销Agent_新手使用手册.md.

常见问题

5 问
答案由本站依据条目字段整理
CIIP智能报销怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_f62d5d31/syw646071870。安装方式为未标注。装完刷新技能列表或重开客户端。

CIIP智能报销支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

CIIP智能报销权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

CIIP智能报销收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

CIIP智能报销用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。