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 zhinjs/zhin --skill ledgergit clone --depth 1 https://github.com/zhinjs/zhinWrote 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/zhinjs/zhin/ledger)<a href="https://agentmods.dev/skills/zhinjs/zhin/ledger"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/ledger/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/zhinjs/zhin/ledger"><img src="https://agentmods.dev/badge/skills/zhinjs/zhin/ledger.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.00023 | $0.00396 |
| Opus 5.5 | $0.00009 | $0.00158 |
| Sonnet 5.5 | $0.00005 | $0.00079 |
| Haiku 4.5 | $0.00002 | $0.00040 |
Grade A, and why
ledger 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 24d 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
个人记账本 (Personal Ledger)
何时使用本技能
- 用户想记录一笔消费/支出(如「记一笔午饭 18.5 元」「打车花了 32」)
- 用户想查看今日、本周或本月的消费汇总或分类占比
- 用户想列出近期的账单明细或按编号删除某笔账目
工作流
- 记账 (
ledger_add):提取类别(category)、金额(amount,正数元)与可选备注(note)。需要用户批准。 - 消费汇总与分类统计 (
ledger_summary):按period(today/week/month)查看总览(mode: "summary")或分类统计(mode: "categories")。 - 账单明细 (
ledger_list):按period查看带#编号的账单列表。 - 删除账目 (
ledger_delete):传入账目编号seq删除对应记录。需要用户批准。
注意
- 账目按发送者隔离,用户只能操作自己的账本。
- 群聊场景下会自动保护金额隐私(优先私信发送完整账单或在群内脱敏显示)。
What ships with it
4 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.
- 24d ago First seen · 42 lines · 23 tokens per session scan A 7670b38c8bec
ledger is a skill published in the GitHub repository zhinjs/zhin (136 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 396 once invoked, about $0.0001 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-06.
ledger compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ledgerzhinjs/zhin | Skill | 136 | yesterday | MIT | A | 23 | Claude Code, Codex |
| budget-allocationopen-octo/octo-agent | Skill | 160 | yesterday | MIT | A | 104 | Claude Code, Codex |
| gushenDuanZGit/D-Hub | Skill | 0 | yesterday | MIT | A | 110 | Claude Code, Codex |
| gcp-cost-optimizerarmanzeroeight/fastagent-plugins | Skill | 30 | 4mo ago | MIT | A | 39 | Claude Code |
| azure-cost-optimizerarmanzeroeight/fastagent-plugins | Skill | 30 | 4mo ago | MIT | A | 34 | Claude Code |
| ledgerseaworld008/Commonly-used-high-value-skills | Skill | 75 | yesterday | MIT | A | 35 | Claude Code, Codex |
| discord-bot-architectfindscripter/everything-skills | Skill | 12 | yesterday | none | A | 103 | Claude Code |