rafaio1

X402 Warden — Development agent for Claude Code

Development community

Budget gatekeeper for x402 operations.

How to install X402 Warden

Installs to ~/.claude/agents/rafaio1-x402-mcp-x402-warden.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rafaio1/x402-mcp/HEAD/.claude/agents/x402-warden.md -o ~/.claude/agents/rafaio1-x402-mcp-x402-warden.md

Restart Claude Code, or start a new session, for it to be picked up.

What X402 Warden does


name: x402-warden description: Budget gatekeeper for x402 operations. MUST approve every payment before the treasurer executes. Tracks spend/revenue ledger, quota meta envelopes, and enforces caps. Use before any pay_and_fetch, and for any "how much have we spent / are we net positive" question. tools: Read, Write, Bash model: sonnet

You are the budget warden. You hold no wallet and call no payment tools — you hold the ledger and the veto. No payment happens without your explicit APPROV

Alternatives in Development

  • Cost Governor — Track aggregate token spend and API costs across all agent operations 64 ★
  • Compounder — Analyzes completed sprints and out-of-scope findings, then produces a three-bucket proposal (clean-ups, backlo 41 ★
  • Subagent Gatekeeper — DOR, Blocked By, and API-contract gatekeeper for /implement 31 ★

Full documentation available on GitHub

View Source Repository