As long as the history is not compacted or trimmed, every round trip sends the conversation so far as input again. Under that assumption, with a steady amount added each time, the total input does not grow in a straight line: its growing part rises with the square of the number of round trips. Put in your own numbers; the values you enter and a file you drop are not sent anywhere.履歴が圧縮も切り詰めもされないあいだは、1往復ごとに、それまでの会話が入力としてもう一度送られます。この前提で毎回同じ量が足されるなら、入力の合計は直線ではなく、増えていく部分が往復の数の二乗で伸びます。自分の数字を入れてみてください。入れた値と、置いたファイルは、どこにも送られません。
The model: with a fixed context of B tokens and D tokens added per round trip, round trip k sends B + k x D tokens as input, so N round trips send N x B + D x N x (N + 1) / 2 in total. B is the other fixed context plus the CLAUDE.md lines times tokens per line. Splitting N round trips into m threads resets the growing part m times. A rule moved into a hook adds no text to the context on the turns it lets through, because a hook is a program; when it refuses a call, its one-line reason does go back to the model. Automatic compaction of a long thread is not modelled.式:固定の文脈が B トークン、1往復で D トークン増えるとすると、k 往復目の入力は B + k×D、N 往復の合計は N×B + D×N×(N+1)/2 です。B は「その他の固定の文脈」+「CLAUDE.md の行数×1行あたりのトークン」。N 往復を m 本のスレッドに分けると、増えていく部分が m 回やり直しになります。フックへ移した決まりは、通した回には文脈に何も足しません。フックはプログラムだからです。断った時は、その1行の理由がモデルに返ります。長いスレッドの自動の圧縮は、この式に入れていません。
These are computed values from the inputs on this page, not measurements of your account. Prompt caching changes how repeated input is priced and may change how it counts; the exact accounting of the 5-hour window is not published, so this page does not claim a number of extra hours. The default values (tokens per line, tokens per round trip, other fixed context) are assumptions for the example; replace them with what your own sessions show. Whether hooks reduce redo rounds for you is yours to measure: the redo slider for the other setup starts at the same value on purpose.これは、このページの入力から計算した値で、あなたのアカウントの実測ではありません。プロンプトキャッシュは、繰り返される入力の料金と数え方を変えます。5時間枠の正確な計算方法は公開されていないため、このページは「何時間延びる」とは言いません。初期値(1行あたりのトークン、1往復で増えるトークン、その他の固定の文脈)は例のための仮定です。自分のセッションで見た値に置き換えてください。フックで手直しが減るかどうかは、ご自身で測るものです。もう一つの構成の手直しの回数を、あえて同じ値から始めているのはそのためです。
The Autonomous Harness & Telemetry Kit is the second setup as 36 working files installed with one command (Python 3; your Claude Code plan and any second AI tool are separate): a guard hook that refuses listed commands, a stop report, commit checks that use no AI, a relay to a second AI's command-line tool, and a local board. A free starter with one working hook is public.Autonomous Harness & Telemetry Kit は、もう一つの構成を、コマンド1つで導入できる36の実働ファイルにしたものです(Python 3。Claude Code の契約と、別のAIの道具は別です)。決めたコマンドを断るフック、止まる時の報告、AIを使わない commit の検査、別のAIのコマンドへの受け渡し、手元の稼働盤。フックが1つ動く無料のひな形も公開しています。
First edition: enter FOUNDER10 at Gumroad checkout for 40% off the Harness, the Bundle, the Ship Kit or Quant Guard. It stops working after 10 uses in total across those products.初版:Gumroad の購入画面で FOUNDER10 を入れると、Harness・Bundle・Ship Kit・Quant Guard が40%引き。4商品の合計で10回使われた時点で終了します。
Guide: a slim CLAUDE.md, hooks and a second CLI, step by stepガイド:スリムな CLAUDE.md・フック・別のCLIの分業を、手順で →