ai-spend-tripwire
OfficialStop runaway agent loops before they cost.
Finance & Accounting#budget alerts#ai spend#llm cost monitoring#agent circuit breaker#cloud usage telemetry#cost projection#provider usage tracking
AuthorXipher-Labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents unexpected AI runaways by tracking cross-provider spend, projecting end-of-month cost, alerting on anomalies, and enforcing circuit-breaker behavior when burn rate threatens the budget.
Core Features & Use Cases
- Spend tracking across providers: Monitors Anthropic, OpenAI, Google, and optionally OpenRouter using provider usage endpoints and local session/log files.
- Budget projection and alert tiers: Computes today/month/projected spend and raises Notice/Warn/Critical alerts based on trailing averages and budget thresholds.
- Safety circuit breakers for agent loops: Blocks starting new agent sessions in critical territory and can SIGTERM long-running processes when burn rate spikes during an active session.
- Operational guardrails with cost-saving guidance: Recommends prompt caching, Batch API usage, model routing heuristics, and local fallback routing when spend is high.
Quick Start
Use ai-spend-tripwire before starting a long agentic session or when you ask how much you have spent so it can track current spend, project month-end cost, and stop risky loops if needed.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ai-spend-tripwire Download link: https://github.com/Xipher-Labs/walter-os/archive/main.zip#ai-spend-tripwire Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.