# Prismbox Agent Token-Burn & Budget Guard

> Stop a runaway agent before it burns your budget — live burn-rate monitor with a hard kill switch, dry-run by default.

Prismbox Agent Token-Burn & Budget Guard is a paid AI agent skill on Agensi by Unge, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $15 (one-time purchase)
- Creator: [Unge](https://www.agensi.io/creators/angga-saputra)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.2
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/prismbox-agent-token-burn-budget-guard
- Tags: agents-orchestration, llm-ops, token-budget, cost-control, loop-detection, monitoring, token-burn, budget-guard

## About this skill

**Stop a runaway agent before it burns your budget — a live token-burn monitor with a hard kill switch, dry-run by default.**

A working runtime, not a paper protocol: real Node.js scripts (standard library only, no install, no API key, no network) that read a usage log, compute burn velocity, and trip WARN / PAUSE / KILL on hard token and dollar caps, burn-rate ceilings, velocity spikes, loop signatures, and stalls.

- **Live burn-rate math.** Tokens/min and $/min, trailing-window velocity vs baseline, and projected minutes to the dollar cap — from your usage JSONL, never from guesses.
- **Loop signatures.** The same (tool + input hash) or the same output hash repeated inside a trailing window means the agent is spinning, not working.
- **Hard kill switch, dry-run by default.** A KILL verdict writes a stop file your harness can watch. A real kill needs all three: policy.kill.enabled, an explicit --kill-pid, and a pid whose command line matches the policy allowlist pattern. SIGTERM only, never pid 1.
- **Sha-chained spend ledger.** Append-only JSONL; a post-hoc edit of the spend history breaks the chain and is detected by `ledger --verify`.

Includes a JSON Schema + example policy, a usage-log example that trips a real 8.6x velocity spike, and 12 self-tests (node --test test-burn-guard.js — all passing).

Honest limits: the guard sees what your usage log shows; loop detection is signature-based (a runaway that varies inputs trips the burn-rate wires instead); watch polls the file rather than tail-following in real time.

## Requires

- Node.js 18+

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Prismbox Agent Token-Burn & Budget Guard skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Prismbox Agent Token-Burn & Budget Guard do?

Stop a runaway agent before it burns your budget — live burn-rate monitor with a hard kill switch, dry-run by default.

### Which AI agents support Prismbox Agent Token-Burn & Budget Guard?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Prismbox Agent Token-Burn & Budget Guard?

Connect your AI agent to Agensi through MCP, then ask it to use Prismbox Agent Token-Burn & Budget Guard on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
