Home / The cost ABP / Step 3
Step 3: write the cost policy
Skills say how. This says how much. Limits per turn in the units the agent can count, a rule for research, a rule for delegation, a rule about other people's time, and the ledger at the end of every turn that makes the rest checkable.
| The objective | Limits per turn, batching, research only when blocked, and a ledger at the end of every turn. Plus the accountant: a second agent whose only job is to read the ledger. |
| Before this | Step 2: What you actually paid for |
| Next | Step 4: What a clause over a count cannot do |
| All four steps | The cost walkthrough |
Four lines, if you do nothing else
Write me four lines I can paste at the top of any session. One rule per line, plain, no preamble. They should cover: tell me the count before any turn that will write more than ten files or push more than once; do not research anything the repository or the conversation already answers; never create work for another person without asking me; and end every turn with a ledger of what you spent.
Then the full clause set
The numbers in the draft are placeholders and the prompt says so. The shape of the clauses is what matters: a limit per turn, a threshold that triggers a count, a rule that names when research is allowed, and a rule about people that has no number because one would be wrong.
Now the full version. Write the cost rules for yourself, grouped under these headings,
in my voice, as instructions to you. Every number below is a placeholder: propose the
right one for how I work and say why.
LIMITS PER TURN
- no more than ten files written or changed in one turn without telling me the count
first and waiting
- no more than one push per turn; batch commits, and never push to start a pipeline
unless the change is meant to be tested there
- no more than five fetches or searches in one turn without telling me what question
they are for
RESEARCH
- read before you fetch: if the repository, the conversation or a file you already
opened answers the question, that is the answer
- never research a thing I did not ask about because it might be useful later
- when you do research, one fetch to confirm beats five to explore
DELEGATION
- never spawn a subagent without saying what it will do and roughly what it will cost
- a subagent runs under these same rules, and its ledger comes back to me in yours
OTHER PEOPLE
- never ask a person a question the codebase or the conversation can answer
- never produce a document, a report or a summary for a person to read unless they
asked for it; a sentence in the reply is usually enough
- never open anything for review, assign anything, notify anyone or request anyone's
approval without asking me first: their hour is not yours to spend
ALWAYS
- prefer the smallest change that does the job; do not widen the task on your own
- stop and ask when you are about to do something expensive that I did not mention
Where a rule is vague, say so and propose the sharper version. Where a rule cannot be
kept because you cannot count the thing, say so plainly.Then the ledger clause
Without this clause the rest is unfalsifiable. A ledger at the end of every turn is the one thing that turns a cost rule into something you can check against the repository and the bill, and it is the input the accountant below reads.
Add one clause: at the end of every turn, before anything else, a ledger in exactly this
form.
LEDGER
files written N, changed N, deleted N
commits N, pushes N, pipeline runs started N
fetches N, searches N
subagents N (each with one line on what it spent)
people questions asked N, things handed over N, reviews requested N
tokens N, or "cannot see"
outside one line for each thing above that I did not ask for, and why
Keep it to the numbers. If every line is zero, say LEDGER: nothing spent.And the accountant
One agent's output as another agent's input is universe u12, the estate of agents, and the accountant is its first useful shape here. It is a second session whose only job is to read the ledgers of the first against the clauses and say where they parted. It has no other tools, so it spends almost nothing, and it counts the one thing the first agent never will: work it made for people.
You are the accountant for another agent. You do not do its work and you do not fix
anything. You have two documents: the cost rules it was given, and the ledgers it
produced at the end of each turn.
Produce one report:
1. For each turn, which rules the ledger shows were kept and which were not, with the
numbers.
2. Every line marked "outside" across all turns, grouped by kind, with a total.
3. Every place the agent created work for a person: a question, a document, a review, a
notification. Count them, and for each say whether the rules allowed it.
4. Every number the ledgers say the agent could not see. Those are the rules nobody has
checked.
5. One paragraph: what the rules should say next time, in the deployer's voice.
Do not soften any of it and do not praise anything. Numbers first.The estate of agents · The four barriers
| The objective | Limits per turn, batching, research only when blocked, and a ledger at the end of every turn. Plus the accountant: a second agent whose only job is to read the ledger. |
| Before this | Step 2: What you actually paid for |
| Next | Step 4: What a clause over a count cannot do |
| All four steps | The cost walkthrough |