cost-guard
SolidCompare observed app-level run-rate to per-app and per-model budgets, emit INBOX warnings on breach
AI & Automation 4 stars
1 forks Updated 2 days ago Apache-2.0
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# cost-guard
## Purpose
Watch app-level financial state and warn an operator when GCP burn or LLM token consumption is on track to breach a configured budget. cost-guard is the alarm complement to F001 cost-model: cost-model tells you what the trajectory is, cost-guard tells you whether the trajectory matters. Writes findings into the existing F008 INBOX.md surface so cost alerts share an inbox with `quota_warn` and `breaker_tripped` rather than introducing a new operator channel.
This skill is **app-level**, distinct from F006 budget_ceiling which guards orchestration-agent quotas inside autonomous dispatches. Different lane, different consumer.
## Arguments
| Argument | Required | Description |
|---|---|---|
| `--costs` | no | Path to costs.json (default: `dashboard/state/costs.json`) |
| `--quota` | no | Path to quota_state.json (default: `~/.jarvis/quota_state.json`) |
| `--budgets` | no | Path to cost_budgets.json (default: `config/cost_budgets.json`) |
| `--inbox-dir` | no | Directory containing INBOX.md (default: `dashboard/state/cost-guard/`) |
| `--seen-state` | no | Path to dedupe state file (default: `dashboard/state/cost-guard/cost_guard_seen.json`) |
| `--as-of` | no | Override "now" with an ISO-8601 timestamp for deterministic tests |
| `--fixtures` | no | Directory containing `costs.json`, `quota_state.json`, `cost_budgets.json` — convenient for testing |
If no arguments: reads defaults and writes to `dashboard/state/cost-guard/INBOX.md`.
## Prerequisite...
Details
- Author
- Silex-Research
- Repository
- Silex-Research/DontPanic
- Created
- 5 months ago
- Last Updated
- 2 days ago
- Language
- Python
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
cost-model
Project month-end and next-month spend per app and per LLM provider from existing cost state
4 Updated 2 days ago
Silex-Research AI & Automation Solid
cost-guard
Budget enforcement. Estimate → check → log → summary. Daily total + per-init + per-article + per-image-batch caps from config.yaml. Triggered by every API call upstream.
49 Updated 3 weeks ago
XuanRanL AI & Automation Listed
cost-guard
Reduce token/cost burn on large or exploratory tasks. Use when a task will touch many files, involves broad codebase search, a big migration, or when the user asks to keep cost/context low.
2 Updated 4 days ago
CodeWithJuber