token-accounting
Inspect, configure, and reason about Union Street token usage, model accounting modes, free providers, and usage records. Use when debugging cost, throughput, or token-heavy fleet behavior.
- License 许可
- MIT
- 最近更新
- 2026-05-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- token-accounting
- license
- MIT
- description
- Inspect, configure, and reason about Union Street token usage, model accounting modes, free providers, and usage records. Use when debugging cost, throughput, or token-heavy fleet behavior.
- compatibility
- Requires Union Street usage events and model/provider config.
02 资源文件 1
- 参考文档references/usage-record.yaml596 B
03 SKILL.md 正文
Token Accounting
Track usage as operating telemetry. Cost may be zero for free/custom providers, but tokens still measure behavior.
Workflow
- Inspect model provider and accounting mode in auth/model config.
- Query usage events:
bun run us events query --type usage.record --limit 200 - Separate:
- input tokens
- output tokens
- reasoning tokens
- cache read/write
- total tokens
- cost source/accounting mode
- For stress tests, report tokens per layer and per useful output, not just totals.
Rule
Do not rename this to auditing-cost. Token accounting is broader than billable cost.
Reference Config
Use references/usage-record.yaml for the fields a report should preserve.
04 同仓库更多 Skills
understanding-pulse
Configure and explain Union Street pulse heartbeats, recurring self-checks, pulse cadence, and pulse instructions. Use when agents should periodically wake up and inspect work.
setting-agent-schedules
Configure Union Street agent schedules, cron jobs, due runs, scheduler ticks, and scheduled prompts. Use when creating recurring agent work beyond pulse.
managing-union-street
Manage a Union Street agent fleet from outside Union Street. Use when configuring, auditing, onboarding, repairing, or operating Union Street agents, fleets, plugins, memory, Lash delegation, schedules, webhooks, messaging, environments, or performance.
managing-shared-memory
Configure and audit Union Street Honcho-backed memory, profile memory namespaces, memory sync, traces, anchors, and shared institutional memory. Use when agents forget context, memory is collapsed, or memory boundaries need design.
managing-agent-environments
Configure Union Street agent runtime environments, local host mode, workspace scope, secrets, and future Docker/Kubernetes/cloud sandbox targets. Use when changing where agents run.
installing-plugins
Install, inspect, grant, and debug Union Street plugins that bundle skills, MCP servers, CLI guidance, custom tools, apps, or runtime providers. Use when adding plugins to agents or departments.