autonomy-budget
Skill2 starsChanged 3 months agoMITView on GitHub
Tracks per-plan autonomy budgets and stops with a Budget Stop Report when limits are hit
- Reads credentials
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/00-core-operating-model.mdcCursor rule
- .cursor/rules/01-plan-approval-gate.mdcCursor rule
- .cursor/rules/02-git-worktree-policy.mdcCursor rule
- .cursor/rules/03-validation-definition-of-done.mdcCursor rule
- .cursor/rules/04-documentation-memory.mdcCursor rule
- accessibility-reviewSkill
- bounded-autonomySkill
- candidate-promotionSkill
- capability-planningSkill
- code-reviewerSkill
- code-structure-cleanupSkill
- compass-evaluatorSkill
- context-inodesSkill
- dependency-supply-chainSkill
- docker-cloudSkill
- embedding-providersSkill
- execution-telemetrySkill
- experience-routingSkill
- experience-skill-trainingSkill
- external-knowledge-ingestSkill
- github-integrationSkill
- harness-gcSkill
- hosted-vector-dbSkill
- implementation-planningSkill
- ios-engineeringSkill
- knowledge-stewardSkill
- linear-integrationSkill
- node-engineeringSkill
- northstar-connected-routineSkill
- notion-integrationSkill
- package-registry-tiSkill
- persistent-role-promotionSkill
- playwright-browser-validationSkill
- postgres-prismaSkill
- procedure-playbooksSkill
- pull-request-preparationSkill
- python-mlSkill
- react-engineeringSkill
- repository-discoverySkill
- review-fix-loopSkill
- security-reviewSkill
- skill-learning-loopSkill
- skill-lifecycleSkill
- source-code-contextSkill
- technology-intelligence-liveSkill
- testing-validationSkill
- worktree-orchestrationSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
When the plan status becomes APPROVED, create .agent/budgets/<plan-id>.md from templates/agent/BUDGET_LEDGER.md (or copy from …
- Distinctive: line 25
After each implementation + validation cycle, update the ledger:
- Very specific: line 27
If validation failed, increment failed_validation_cycles
- Very specific: line 28
Update elapsed_minutes and estimated_cost_usd (label estimates clearly)
- Distinctive: line 30
Before starting another cycle, compare used vs maximum for every limit.
- Distinctive: line 31
If any limit is reached or exceeded:
- Very specific: line 33
Write a Budget Stop Report under .agent/evidence/<plan-id-or-slug>/BUDGET_STOP_REPORT.md using templates/agent/BUDGET_STOP_REPORT.md
- Distinctive: line 37
Ask the Captain for the next action (raise budget, narrow scope, or abandon)
- Distinctive: line 41
Never raise budget limits unilaterally.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Autonomy Budget
Use this Skill when
An implementation plan is APPROVED and autonomous execution begins, or whenever an iteration / validation cycle completes, or when any budget limit may have been reached.
Inputs
- Approved
IMPLEMENTATION_PLAN.md(Autonomy Budget section) - Plan ID (from plan metadata)
- Current counters (iterations, failed validation cycles, elapsed time, estimated cost)
Procedure
- When the plan status becomes APPROVED, create
.agent/budgets/<plan-id>.mdfromtemplates/agent/BUDGET_LEDGER.md(or copy from.agent/budgets/_templates/BUDGET_LEDGER.mdif installed). Fill limits from the plan’s Autonomy Budget section. - After each implementation + validation cycle, update the ledger:
- Increment
iterations_used - If validation failed, increment
failed_validation_cycles - Update
elapsed_minutesandestimated_cost_usd(label estimates clearly) - Append a one-line cycle note under the log section
- Increment
- Before starting another cycle, compare used vs maximum for every limit.
- If any limit is reached or exceeded:
- Stop further implementation
- Write a Budget Stop Report under
.agent/evidence/<plan-id-or-slug>/BUDGET_STOP_REPORT.mdusingtemplates/agent/BUDGET_STOP_REPORT.md - Set plan/progress notes to reflect the stop
- Ask the Captain for the next action (raise budget, narrow scope, or abandon)
- At phase boundaries, append a short note under
.agent/sessions/usingtemplates/agent/SESSION_NOTE.md(or.agent/budgets/_templates/siblings when installed). Keep machine traces under.agent/runs/if used. - Never raise budget limits unilaterally. Never weaken tests to stay under budget.
Ledger path
.agent/budgets/<plan-id>.mdPrivate cost notes (optional): .agent/budgets/private/ (gitignored pattern).
Output
- Updated budget ledger
- Budget Stop Report when stopped
- Clear Captain-facing recommendation
Prohibited actions
- Continuing past any budget limit without a Budget Stop Report and Captain decision
- Hiding failed validation cycles
- Storing secrets or
.envcontents in ledgers or stop reports
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

