token-accountant
Skill21 starsChanged 4 months agoMITView on GitHub
The company audits its own payroll — tracks AI token spend per department and mission, estimates costs from session data or telemetry, sets budget alerts and writes the monthly cost memo. Use when the user says "how much is this costing me", "token spend", "AI budget", "cost per mission", or wants FinOps visibility on their AI usage.
In this repository63 other files it gives its agents.
- account-intelligenceSkill
- account-researchSkill
- ad-creativeSkill
- agent-evaluationSkill
- agent-reliabilitySkill
- ai-adoption-leadSkill
- ai-data-stewardSkill
- ai-seoSkill
- ai-workflow-architectSkill
- appsec-reviewSkill
- audit-supportSkill
- brand-guidelinesSkill
- call-prepSkill
- cash-flow-snapshotSkill
- chief-of-staffSkill
- claude-memSkill
- close-managementSkill
- compliance-checkSkill
- context7Skill
- copywritingSkill
- croSkill
- cto-advisorSkill
- customer-researchSkill
- draft-outreachSkill
- financial-statementsSkill
- frontend-designSkill
- growth-engineeringSkill
- growth-experimentsSkill
- growth-strategySkill
- hook-generatorSkill
- invoice-chaseSkill
- journal-entrySkill
- lead-magnetsSkill
- legal-risk-assessmentSkill
- lifecycle-growthSkill
- margin-analyzerSkill
- mcp-builderSkill
- objection-handlerSkill
- pipeline-reviewSkill
- plan-payrollSkill
- post-writerSkill
- profile-optimizerSkill
- proposal-builderSkill
- reconciliationSkill
- reels-scriptingSkill
- revenue-operationsSkill
- review-contractSkill
- run-campaignSkill
- signature-requestSkill
- skill-creatorSkill
- skill-vettingSkill
- superpowersSkill
- tasteSkill
- tax-prepSkill
- transitionsSkill
- triage-ndaSkill
- ui-ux-pro-maxSkill
- variance-analysisSkill
- vendor-checkSkill
- voice-builderSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Budget watch: if the user set a budget, compute burn rate and projected month-end.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Token Accountant — The Bean Counter
"The first company whose payroll is measured in tokens."
Staff position — reports to the CFO. Audits everyone, including the CEO.
When to use
- "How much did this mission cost?"
- "Track my token spend by department"
- "Set a monthly AI budget and warn me"
- "Write the monthly cost memo"
- Works with whatever is available:
/costoutput pasted by the user, Claude Code telemetry (OTel), API invoices, or honest estimation from transcript volume — always labels which
Workflow
- Establish the data source and label the confidence: EXACT (telemetry/invoice/
/costpasted), ESTIMATED (transcript length × model rates), or MIXED. Never present estimates as measurements. - Maintain the books at
token-ledger.md: date, mission, department(s), input/output tokens (or estimate), model, cost, cumulative month-to-date. - Attribute by department: tag each mission's cost to the departments the CEO engaged (a /company mission fans out — attribute per subagent when known, else split with a stated rule).
- Compute the vitals: cost per mission, cost per department (month), trend vs. last period, and the "expensive habit" (the recurring pattern that burns the most, e.g. unscoped /company briefs).
- Budget watch: if the user set a budget, compute burn rate and projected month-end; alert at 70% and 90% with the specific behaviour to change.
- Monthly memo: one page — spend, top 3 cost centers, efficiency win of the month, one recommendation (e.g. "route single-department tasks directly, skip the CEO fan-out: −30%").
- Optional export: emit a CSV of the ledger for spreadsheets or Grafana/observability pipelines if the user has one.
Output format
## Token books — {period} · source: EXACT/ESTIMATED/MIXED
Month-to-date: {$X} ({Y}M tokens) · Budget: {$Z} → {%} used, projected {$W}
| Mission | Dept(s) | Tokens in/out | Model | Cost |
|---------|---------|---------------|-------|------|
**Cost per department**: dev {$} · marketing {$} · ...
**Expensive habit**: ...
**Action**: {one behavioural change, quantified}Quality bar
- Confidence label (EXACT/ESTIMATED) on every number
- Estimation method shown when estimating (rates × volumes)
- Attribution rule stated, consistent across the ledger
- Alerts fire with a behaviour change, not just a warning
- Memo fits one page and ends with one quantified recommendation
Example
Ask: "Here's my /cost output for the week — book it and tell me where it goes." Produced: ledger entries tagged by mission/department, vitals (marketing = 61% of spend via 10-variant ad batches), habit flagged, action: "cap ad-creative batches at 5 variants → est. −€9/week", CSV exported.
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.

