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 tomoking2004/claude-plugins --skill tidy-ledgergit clone --depth 1 https://github.com/tomoking2004/claude-pluginsWrote 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/tomoking2004/claude-plugins/tidy-ledger)<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/tidy-ledger"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/tidy-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/tomoking2004/claude-plugins/tidy-ledger"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/tidy-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.00217 | $0.02270 |
| Opus 5.5 | $0.00087 | $0.00908 |
| Sonnet 5.5 | $0.00043 | $0.00454 |
| Haiku 4.5 | $0.00022 | $0.00227 |
Grade A, and why
tidy-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 today.
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 — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
対象:作業ディレクトリから上へたどって見つかる .ledger/ の全ファイル(local/ を含む)と,プロジェクトの中にある CLAUDE.md の仲間.
まず LEDGER.md を読む.
手順
- 探す:同書の「探し方」で
.ledger/を探し,同書の「CLAUDE.md の仲間」を探す.どちらも無ければ,整理するものが無いと答えて終わる. - 測る:ファイルごとの字数と,会話の始まりに渡る量(同書の「会話の始まりに渡るもの」の全体)を測り,同書の「上限」と並べる.渡る文のうち,記録のほかの部分(在処を告げる文・見出し・要約)は mod(register.ts の
composeとnote)が組み立てる.字数は,バイトでなく文字の数で数える. - 突き合わせる:各項を実物と突き合わせる.出所が「確かめた」の項は,そのパスを読み直すか,そのコマンドを走らせ直す.走らせ直すのは,副作用が無いと言い切れるコマンドだけとする——書き込み・外への送信・時間のかかる処理がありうるものは走らせず,その項を突き合わせなかったものとして,走らせてよいかを手順7で問いとして挙げる.出所がユーザーの発言か「移した」の項は,実物と食い違うときだけ挙げる——どちらが正しいかはユーザーが決める.
- 見比べる:同じ事柄を持つ二つの項,食い違う二つの項,自動メモリと重なる項,同書の「書く条件」を満たさなくなった項(済んだ作業・失効した前提),同書の「置き分け」に合わない項(
general.mdにあって特定の仕事にだけ効く項,<主題>.mdにあってどの仕事にも効く項)を探す. - 境目を見る:CLAUDE.md の仲間を通して読み,プロジェクトの中身に当たる記述を探す.
.ledger/の項から,作業の仕方に当たるものを探す.判定は同書の「判定」の問いによる.どちらとも言えない記述は,移す案にせず問いとして挙げる.同じ事柄が両側にあれば,境目の正しい側に残し,他方から移す案にする(同書の「境目をまたいで移すとき」により,元を消すだけになる).追跡される側の記述に個人の事情が混ざっていれば,同書の「私用と秘密」で事情と決定を分ける案にする. - 分け方を決める:同書の「分けるとき」に照らし,分けるか畳むかを決める.分ける案と畳む案には,前後の渡る量と,仕事ごとに開くファイルの数と字数を並べ,同書の「分けるとき」に当たるものだけを案にする.
- 示す:手順3〜6で見つけたものを,同書の「案の示し方」で案にする.手順3と手順5の問いは,案とは別に並べる.自動メモリと重なる項は案にせず,手順10で挙げる.各案の理由には,見つけた手順と測った数を添える.分ける案と畳む案は,移す項ごとの案に分け,その一群の前に手順6で並べた数を置く.境目をまたぐ移す案は,元の文面・移す先の文面・両側の書き先を並べる.
.ledger/が無いまま移す案があれば,同書の「作るとき」の場所に作る案を先頭に置く.案が無ければ,手順3と手順5の問い・自動メモリと重なる項・測った数・通した手順を報告して終わる. - 当てる:認められた案だけを,同書の「項の書式」と「境目をまたいで移すとき」で当てる.新しく付ける出所の日付が承認の届いた日と違えば,同書の「出所」のとおり,日付だけを置き換える.
.ledger/が無いまま移すなら,同書の「作るとき」に従って作る. - 走査する:当てた差分に「固有の走査」を全件通す.その差分が承認された案と違うなら,当てた箇所を案のとおりに直して走査に戻る.案そのものに欠けがあれば,当てた箇所を元に戻し(秘密の値はただちに除く),直した案を示して改めて問う.
- 報告する:当てた案と見送った案,当てる前後の渡る量,分けたファイルと畳んだファイルごとに手順6で並べた数を報告する.自動メモリと重なる項は,報告に挙げる.
固有の走査
- 承認との一致:当てた差分を,
.ledger/と CLAUDE.md の仲間の両側で,承認された案と一件ずつ並べ,同書の「出所」の定める日付の置き換えを除いて,案に無い変更が無いかを確かめる. - 題の行方:当てる前後で,
.ledger/の題の集合を並べ,消えた題と移った題がどれも承認された案に当たるかを確かめる. - 境目の対:境目をまたいで移した記述ごとに,元から消え,移す先にあるかを並べる.
- 私用の保持:
CLAUDE.local.mdとlocal/から移した記述が,追跡される側に出ていないかを確かめる.local/の外へ当てた記述に,個人の事情が無いかを読む. - 出所の保持:出所を改める案の項を除き,残した項と
.ledger/の中で移した項が元の出所の行を持ち,CLAUDE.md の仲間から移した項が「<パス>から移した」の出所を持つかを確かめる. - 秘密:当てた差分で書いた記述(改めた項・畳んだ項・移した記述)に,同書の「秘密の検索」を通す.検索語と当たった件数と判定を報告する.
- 外れるか:手順8で
.ledger/を作ったなら,同書の「作るとき」の確かめを通す. - 渡る量:当てた後の渡る量を測り,上限と並べる.上限を超えて始めた整理なら,下回ったことを数で示す.
- 分けた根拠:分けたファイルと畳んだファイルごとに,手順6で並べた数が報告にあるかを確かめる.
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.
- today Changed e60a5efee1a0
- yesterday First seen · 43 lines · 217 tokens per session scan A 367b5fa6726f
tidy-ledger is a skill published in the GitHub repository tomoking2004/claude-plugins (3 stars, last pushed today), licensed MIT. It adds 217 tokens to every session and 2,270 once invoked, about $0.0009 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-29.
tidy-ledger compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tidy-ledgertomoking2004/claude-plugins | Skill | 3 | today | MIT | A | 217 | Claude Code |
| obsidian-memory-architectureAtlasOmnia/hermes-custom-pack | Skill | 87 | 13d ago | MIT | A | 56 | Claude Code, Codex |
| ad-nachbausebaskauf/skaile-community-library | Skill | 9 | 3d ago | MIT | A | 125 | Claude Code |
| ad-schnittsebaskauf/skaile-community-library | Skill | 9 | 3d ago | MIT | A | 104 | Claude Code |
| ad-analysesebaskauf/skaile-community-library | Skill | 9 | 3d ago | MIT | A | 100 | Claude Code |
| skill-teilensebaskauf/skaile-community-library | Skill | 9 | 3d ago | MIT | A | 97 | Claude Code |
| show-and-sharesebaskauf/skaile-community-library | Skill | 9 | 3d ago | MIT | A | 74 | Claude Code |