AGENT SKILL
budget-management
Session cost tracking and optimization. Monitors spend against budget limit.
适用职业财务
- License 许可
- MIT
- 最近更新
- 2026-03-11
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- budget-management
- description
- Session cost tracking and optimization. Monitors spend against budget limit.
- disable-model-invocation
- true
03 SKILL.md 正文
Budget Management
Budget Awareness
Each session has a maximum budget (configured via max_budget_usd). Optimize your spend:
Cost Hierarchy (cheapest → most expensive)
browser_snapshot(~1-2 KB text) — prefer for understanding page stateGrep/Glob— fast file searchRead— reading filesbrowser_take_screenshot(~1-2 MB image) — use sparinglyBash— running commands- LLM reasoning — each turn costs tokens
Guidelines
- Investigation phase (Gates 1-2): Budget ~20% of total
- Implementation: Budget ~50%
- Validation & verification: Budget ~30%
- Never read the same file twice — remember what you read
- Use
GrepbeforeRead— find the right file first - Limit inline screenshots to ~3 per session to avoid payload errors
- Save bulk screenshots to disk:
browser_run_code → await page.screenshot({ path: '/tmp/agent-artifacts/screenshots/name.png' })
If Budget is Running Low
- Commit and push any work in progress
- Summarize what's done and what's remaining
- The consumer can re-trigger to continue
04 同仓库更多 Skills
story-workflow
9-phase workflow for implementing user stories. Covers requirements through verification.
★ 0
rfs-proposal
File a Request for Skill (RFS) when a skill gap is detected during execution.
★ 0
review-handling
Process review comments from AI review or human reviewers. Evaluate, respond, and resolve or escalate.
★ 0
pr-creation
Create GitHub pull requests with proper format.
★ 0
playwright-verify
Browser verification using Playwright MCP. Navigate, interact, screenshot.
★ 0
merge-conflicts
Resolve merge conflicts by rebasing. Use when PR mergeable status is CONFLICTING.
★ 0