---
title: "assumption-ledger"
url: "https://claudemods.dev/ja/builds/assumption-ledger-93958f"
source: "https://github.com/DannyMac180/skills/tree/main/modsmith/templates/assumption-ledger"
source_type: "github"
repo: "https://github.com/DannyMac180/skills/tree/main/modsmith/templates/assumption-ledger"
author: "DannyMac180"
author_handle: "DannyMac180"
stars: 861
category: "マルチエージェント・連携"
categories: ["agents"]
tags: ["assumptions", "claude-code", "decision-log", "hooks", "plugin", "tool-registration", "transparency"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add DannyMac180/skills\nclaude plugin install assumption-ledger"
added: "2026-10-05T15:01:39.025Z"
updated: "2026-11-29T01:35:39Z"
locale: "ja"
content_locale: "ja"
---

# assumption-ledger

Claude に register_assumption ツールを与え、現在のターンの仮定、判断、検討したが実行しなかった項目をプロンプト上部に表示します。

## Description

# assumption-ledger

Claude に `register_assumption` ツールを追加します。動作中、このツールで 3 種類の項目を書き留めます。

- **assumption**：当然だと考え、確認しなかったこと。
- **decision**：分岐点と、そこから選んだ道。
- **considered-not-done**：よりよい、またはより完全な修正を思いついたが、実行しないと選んだもの。ここが要注意です。モデルは正しい解決策を見つけても、よくスキップしますが、あなたには分かりません。

turn が終わると、一覧が種類ごとに prompt の上に表示されます。

```
Ledger for this turn [ Dismiss ]
Considered, not done (1)
 · Add retry on 429 (out of scope)       [ Do it ]
Assumed (1)
 · Node 20 is the runtime
```

`Do it` は Claude にその項目を実行するよう follow-up を送り、または実行しない理由を 1 行で答えるよう求めます。`Dismiss` は band を消し、新しい turn でも消えます。

## コマンド

| コマンド | 動作 |
| --- | --- |
| `/assumptions` | この session の全 entry を種類ごとに、どの turn 由来かも付けて表示。 |
| `/assumptions write [path]` | session の entry を作業ディレクトリの `DECISIONS-log.md`（または `path`）へ追加。実行しない限り disk には書きません。 |
| `/assumptions off` | 記録を止め、tool を ToolSearch の後ろへ移して model から見えなくします。session をまたいで記憶します。 |
| `/assumptions on` | 再び有効にします。 |

## コスト

この mod 自体は model call を行いません。コストは model が tool を使う分だけです。

| When | Tokens | Notes |
| --- | --- | --- |
| 毎回の request | 約 200 input tokens | tool の名前、説明、schema が tool list に入ります。説明は変わらないので、最初の request 後は prompt-cache read（価格の約十分の一）です。 |
| Claude が各 entry を記録するとき | 約 40〜80 output tokens と 2-token result | 1 回の tool call。Claude は他の tool call と同じ step でまとめることが多く、そうでない場合は次の step で context を cache から読み直します。 |
| 記録すべきものがない turn | 追加 0 | tool の説明が明白な内容を skip するよう伝えます。 |
| `/assumptions off` と `on` | cache rebuild が各 1 回 | tool list に載るかどうかが変わるためです。 |
| `Do it` | 新しい turn 1 回 | Claude に追加作業を求めるので、その作業分のコストがかかります。 |

band と session log は token を消費しません。`/assumptions` は transcript に command-output row として一覧を出します。次の turn で model が他の command output と同じようにそれを読むかは確認していません。

## 組み合わせ

- **プロンプト上に描画するもの。** band は他の mod の描画を自分の一覧の下に置きます（`{await next(e)}`）。survey が band を使用中または turn 実行中は退きます。
- **次のステップの supervisor または quiz fork。** 「元の goal は解決したか、lazy ではなかったか」と尋ねる fork はこの mod の state（`$.state.get({ plugin: 'assumption-ledger', key: 'pending' })`。次の turn まで現在の turn の entry を保持し、`shown` はこの mod 自身の `turn.complete` hook 後にだけ埋まるため、別 mod の `turn.complete` からは空に見えることがある）を読み、`considered-not-done` を質問に入れられます。何を skip したかを fork に推測させるより安価で正直です。
- **モードセレクターまたはモデルルーター。** `$.command.run` で `/assumptions off` を実行して ledger を無効にします。記録を止め、tool を ToolSearch の後ろへ移し、選択を記憶します。`state.set` だけで `{ plugin: 'assumption-ledger', key: 'isOff' }` を書くと記録だけが止まり、tool は list に残り（`tool.describe` の回答は invalidated まで cache され）、選択も記憶されません。
- **共有プロジェクトボード。** `/assumptions write` で別の Claude や dashboard が読める file を作れます。

## インストールとロード

```sh
claude --plugin-dir /path/to/assumption-ledger
```

またはフォルダーを mods folder にコピーします。load 前に確認します。

```sh
claude plugin validate /path/to/assumption-ledger
claude plugin test /path/to/assumption-ledger
```

Claude Code 2.1.286 に対して build、check 済みです。

## Install

```
claude plugin marketplace add DannyMac180/skills
claude plugin install assumption-ledger
```

## Original README

# assumption-ledger

Claude gets a tool, `register_assumption`. While it works it uses the tool to
write down three kinds of thing:

- **assumption**: something it took for granted and did not check.
- **decision**: a fork in the road and the way it went.
- **considered-not-done**: a better or fuller fix it thought of and chose not
  to do. This is the one to watch. Models often see the right solution and
  then skip it, and you never find out.

When the turn ends, the list shows above the prompt, grouped by kind:

```
Ledger for this turn [ Dismiss ]
Considered, not done (1)
 · Add retry on 429 (out of scope)       [ Do it ]
Assumed (1)
 · Node 20 is the runtime
```

**Do it** sends Claude a follow-up asking it to do that item, or to say in one
line why it should stay undone. **Dismiss** clears the band. A new turn clears
it too.

## Commands

| Command | What it does |
| --- | --- |
| `/assumptions` | Prints every entry from this session, grouped by kind, with the turn each came from. |
| `/assumptions write [path]` | Appends the session's entries to `DECISIONS-log.md` (or `path`) in the working directory. Nothing is written to disk unless you run this. |
| `/assumptions off` | Stops recording and moves the tool behind ToolSearch, so the model stops seeing it. Remembered across sessions. |
| `/assumptions on` | Turns it back on. |

## What it costs

The mod makes **no model calls of its own**. Its cost is what the model
spends using the tool:

| When | Tokens | Notes |
| --- | --- | --- |
| Every request | about 200 input tokens | The tool's name, description and schema in the tool list. The description never changes, so after the first request this is a prompt-cache read (about a tenth of the price). |
| Each entry Claude records | about 40 to 80 output tokens, plus a 2-token result | One tool call. Claude often batches it with other tool calls in the same step; when it doesn't, the step after it re-reads the context from cache. |
| A turn where nothing was worth noting | 0 extra | The tool's description tells the model to skip the obvious. |
| `/assumptions off` and `on` | one cache rebuild each | Changing whether the tool is listed changes the tool list, which is part of the cached prefix. |
| **Do it** | one new turn | You are asking Claude to do more work, so that turn costs what the work costs. |

The band and the session log cost nothing in tokens. `/assumptions` prints
its list as a command-output row in the transcript; whether the model reads
that row on the next turn, as it does other command output, was not checked.

## Composes with

- **Anything drawing above the prompt.** The band draws whatever other mods
  draw there beneath its own list (`{await next(e)}`), and it steps aside while
  a survey holds the band or a turn is running.
- **A next-steps supervisor or quiz fork.** A fork that asks "did this solve
  the original goal, was it lazy?" can read this mod's state
  (`$.state.get({ plugin: 'assumption-ledger', key: 'pending' })`, which holds
  the current turn's entries until the next turn starts; `shown` is only
  filled once this mod's own `turn.complete` hook has run, so another mod's
  `turn.complete` may see it empty) and put the `considered-not-done` items
  in its question. That is cheaper and more honest
  than asking the fork to guess what was skipped.
- **A mode selector or model router.** A mode switches the ledger off by
  running `/assumptions off` through `$.command.run`: that stops recording,
  moves the tool behind ToolSearch and remembers the choice. Writing
  `{ plugin: 'assumption-ledger', key: 'isOff' }` through `state.set` alone
  only stops recording: the tool stays in the list (its `tool.describe`
  answer is cached until invalidated) and the choice is not remembered.
- **A shared project board.** `/assumptions write` gives a file another Claude
  or a dashboard can read.

## Install and load

```sh
claude --plugin-dir /path/to/assumption-ledger
```

Or copy the folder into your mods folder. Check it before loading:

```sh
claude plugin validate /path/to/assumption-ledger
claude plugin test /path/to/assumption-ledger
```

Built and checked against Claude Code 2.1.286.
