cost-watch
Watch model spend per lane from the cost ledger and the logs cost lines, and say whether a lane is fine, trending past its daily cap, or running away. Never changes a cap.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 29
- Forks
- 14
01 前言 Front Matter
- name
- cost-watch
- verdicts
- ok | warn | stop
- description
- Watch model spend per lane from the cost ledger and the logs cost lines, and say whether a lane is fine, trending past its daily cap, or running away. Never changes a cap.
02 资源文件 9
- 其他replays/01-quiet/expected12 B
- 参考文档replays/01-quiet/input.md246 B
- 参考文档replays/01-quiet/recorded.txt114 B
- 其他replays/02-trending/expected14 B
- 参考文档replays/02-trending/input.md198 B
- 参考文档replays/02-trending/recorded.txt219 B
- 其他replays/03-runaway/expected14 B
- 参考文档replays/03-runaway/input.md259 B
- 参考文档replays/03-runaway/recorded.txt220 B
03 SKILL.md 正文
Watch the spend
Steps
- Read the cost lines in
logs/and the cost ledger rows (cost_rows) for the window you were given. Group by lane. - For each lane, compare today's spend so far with its daily cap, and with the same hour on the last few days. Use the numbers you have. Never estimate a number that is not in front of you.
- A lane is trending over when, at today's rate, it reaches its cap before the
day ends. That is
warn. - A lane is running away when it is already past its cap, or its spend in the
last hour is several times its normal hourly rate with no new work to
explain it (the same ticket or key paying again and again). That is
stop: recommend turning the lane off and say which flag does it. - Everything inside its cap and its normal rate is
ok. Say nothing to the operator about anokwindow.
Authority
Changing a spend cap is MUST ASK. You never change one. You recommend, with the numbers: "agent-call spent $41 by 10:00Z against a $50 cap, $12 at this hour yesterday."
Verdicts
ok: every lane inside its cap and its normal rate.warn: a lane will pass its cap today at this rate.stop: a lane is past its cap or paying for the same thing in a loop.
04 同仓库更多 Skills
qa-prod-drive
Drive a deployed app as a real signed-in user — mint a Clerk session or one-time sign-in ticket for the project's QA account, lift and restore the ban on QA accounts that are banned at rest, get past Vercel Deployment Protection, drive screens headless with Playwright at 1280px and 375px, and report only what was actually observed. Use when asked to QA prod or a preview, verify a shipped feature as a user, reproduce a user-reported bug, or check a role's access.
qa-personas
Write or refresh a project's QA personas — draft the answers from the code (role guards, route tree, nav per role) or ask the people who know the product, turn them into qa/personas.json, qa/apps.json and the verification-map entry with bin/qa-personas.sh, and open the PR the orchestrator reads before it merges. Use when a repo has no personas yet, when a new role or flow appears, or when a persona's flows have gone stale.
migration-judged-apply
Apply a merged migration SQL file to a product app's production database through its own /api/internal/migrations/apply endpoint — deploy gate first, classifier verdict respected, verified against the app's own ledger, one ALERT and stop on failure. Use when a migration is pending, an apply was refused or flagged, or someone asks to "apply the migration" / "why is this migration stuck".
harness
Work on any of the operator's projects through the cromford fleet — load a project into the fleet (load-project.sh), plan locally and hand the plan off as ai-build GitHub Issues the remote pipeline executes, and check/steer remote build status. Use when asked to "load a project into the harness", "hand this plan to the harness", "have the harness build this", "harness status", or to onboard a repo for remote autonomous builds.
console-deploy
Deploy Mission Control (console-ui) to Cloudflare Pages (normally auto-deployed by harness-sync on the hub; this is the check and the fallback) and the harness-jobs worker/D1 that back it — Pages project env + D1 bindings via the Cloudflare API, npm ci + vite build, wrangler@3 pages deploy, and fail-closed anonymous probes as the verification. Use when console-ui or worker/ changed and the live console must be updated, or a console screen answers 503.
triage-thread
Decide whether a product-board ticket is ready to build by reading its whole thread, status, waitingOn and triageVerdict first. Use before building, scoping or folding any ticket into other work.