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 daijiaoshou-ds/Accounting-Entry-Test --skill legacy-cashflowgit clone --depth 1 https://github.com/daijiaoshou-ds/Accounting-Entry-TestWrote 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/daijiaoshou-ds/accounting-entry-test/legacy-cashflow)<a href="https://agentmods.dev/skills/daijiaoshou-ds/accounting-entry-test/legacy-cashflow"><img src="https://agentmods.dev/badge/skills/daijiaoshou-ds/accounting-entry-test/legacy-cashflow/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/daijiaoshou-ds/accounting-entry-test/legacy-cashflow"><img src="https://agentmods.dev/badge/skills/daijiaoshou-ds/accounting-entry-test/legacy-cashflow.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.00106 | $0.03192 |
| Opus 5.5 | $0.00042 | $0.01277 |
| Sonnet 5.5 | $0.00021 | $0.00638 |
| Haiku 4.5 | $0.00011 | $0.00319 |
Grade A, and why
cashflow-writer 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
现金流量表编写 — AI 操作手册
你是 AI 助手,这份手册是给你的。用户通常是会计/审计人员,不懂代码。 你要替 TA 把每一步做到位并验证通过;TA 只需要回答几个问题、看一眼结果。
这个 skill 在做什么
序时账 ──► 业务分类(模型,来自 summary_cleaner)──► 现金流量项目(程序查表)──► 一个 Excel
- 输入:序时账 Excel/CSV,至少要有 凭证号、一级科目、借方金额、贷方金额 四列
- 输出:一个 Excel(3 张 sheet),由程序落盘
- 本 skill 不判业务桶——业务分类来自
summary_cleaner(序时账清洗)。这里只做 「桶 + 货币资金借贷方向 → 现金流量项目」这一段。
⚠️ 分工铁律(先读这条)
| 谁做 | 做什么 | 为什么 |
|---|---|---|
| 程序 | 读文件、认列名、调上游判桶、查表定项目、写回、导出 Excel | 确定、可复现;落盘是"确定的活",你不写产出文件 |
| 你(AI) | 看待复核清单、给结论、把结果讲成人话 | 要读自然语言、处理模糊情况,程序写不完 |
你只做最后一公里。 不要自己算数、不要自己拼 Excel、不要自己写脚本改产出文件。
有结论就用 run --cf "行号=项目" 交回程序,程序重出文件。
两种跑法:本文件的
cli.py是单跑(一条命令跑到底,结论靠对话传递); 需要"程序 → AI 复核 → 再算下游"的穿插流程,用仓库根的journal(编排层, 见docs/design/architecture_v5.md)。两者算法相同,编排模式多两处复核停靠点。
操作流程
第 0 步 环境自检 ── status:依赖齐不齐、上游模型在不在、映射表自洽不自洽
第 1 步 字段确认 ── check:认不出列名时用 --set 手工指定(极少用)
第 2 步 跑账 ── run:业务分类 + 编现金流 + 导出,一次完成
第 3 步 看待复核 ── run 出参里的 cashflow_review(不落 Excel)
第 4 步 交结论 ── run --cf "行号=项目" 或 --cf-patch 补丁.json,重跑
第 5 步 讲人话 ── 把现金流量表读数讲给用户;指出仍需人工确认的条目
第 0 步 环境自检
%PY% -X utf8 cli.py status
看三块,任何一块不对就别往下走:
| 字段 | 期望 | 不对怎么办 |
|---|---|---|
missing_modules |
[] |
按 reference/SETUP.md 装依赖(torch 单独装) |
upstream.model_ready |
true |
上游模型缺件 → 让用户按 summary_cleaner 的 reference/SETUP.md 下载 |
cf_maps.validate_problems |
0 |
映射表被改坏了,看 validate 的 problems |
upstream.buckets = 上游业务桶数(当前 33)。桶表变了要重看 bucket_to_cf.json 覆盖没覆盖,
没覆盖的桶会全部落到「待复核 · 桶不在映射表里」。
第 1 步 字段确认
%PY% -X utf8 cli.py check "序时账.xlsx"
出参里看 mapping(程序认到的列)和 cashflow.money_vouchers(多少张凭证涉及货币资金)。
认错了列才用 --set:
%PY% -X utf8 cli.py check "序时账.xlsx" --set 一级科目="科目" --set 借方金额="借方发生额"
字段名就是 mapping 里的键:voucher_no / subject / debit / credit / summary / date / subject_name。
第 2 步 跑账
%PY% -X utf8 cli.py run "序时账.xlsx" --out "输出目录"
- 不加
--out时输出到序时账同级的现金流量表编写结果/ - 产物:
<文件名>_现金流量表.xlsx,3 张 sheet- 原始序时账——用户给什么就是什么,列名也不改
- 业务分类结果——原始列 + 业务分类/置信度/判定来源 + 现金流量项目/方向/判定/复核
- 货币资金凭证——含货币资金的整张凭证(编现金流要看对方科目在干什么)
What ships with it
2 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 · 207 lines · 106 tokens per session scan A ec00bc3e37af
cashflow-writer is a skill published in the GitHub repository daijiaoshou-ds/Accounting-Entry-Test (18 stars, last pushed 7d ago), licensed MIT. It adds 106 tokens to every session and 3,192 once invoked, about $0.0004 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-11-20.
cashflow-writer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cashflow-writerdaijiaoshou-ds/Accounting-Entry-Test | Skill | 18 | 7d ago | MIT | A | 106 | Claude Code, Codex |
| jangbu-importkimlawtech/korean-jangbu-for | Skill | 89 | 3mo ago | Apache-2.0 | A | 97 | Claude Code, Codex |
| generate-workbookcynco-labs/ai-accounting-skills | Skill | 5 | 4mo ago | MIT | A | 22 | Claude Code |
| csv-importermichielinksee/bantou | Skill | 2 | 3mo ago | MIT | A | 31 | Claude Code |
| prepare-primary-statementscynco-labs/ai-accounting-skills | Skill | 5 | 4mo ago | MIT | A | 34 | Claude Code |
| investor-materialsgongyijie85/dsh-ecc | Skill | 13 | 12d ago | MIT | A | 61 | Claude Code, Codex |
| financial-analysisd-wwei/financial-analysis | Skill | 8 | 9mo ago | none | A | 129 | Claude Code, Codex |