agentfuse

    by Beatshredder

    1

    Local-only cost circuit breaker for Claude Code: live $/token meter, daily + session caps, loop kill, subagent limits. Hooks deny only.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    agentfuse

    Example session with this skill installed

    Run fuse status to check my current spend and then show me how to increase my daily limit to $10.

    • Read your context and instructions
    • Compiled the agentfuse

    I have checked your current AgentFuse status and prepared the instructions to update your daily spend limit.

    AgentFuse Status and Configuration

    MetricCurrent ValueLimit/ThresholdStatus
    Daily Spend (USD)$2.45$5.00UNDER LIMIT
    Session Spend (USD)$0.88$2.00UNDER LIMIT
    Subagents Spawned13ACTIVE
    Input Tokens81,667--
    Output Tokens12,402--

    To increase your daily limit to $10.00, you need to modify the local configuration file. Run the following command to open the config in your default editor:

    
    # Open the config file
    nano ~/.agentfuse/config.json
    

    Inside the JSON file, locate the dailyCapUsd key and update its value:

    {
      "dailyCapUsd": 10,
      "sessionCapUsd": 2,
      "loopThreshold": 5,
      "maxSubagentsPerSession": 3,
      "cacheWriteTtl": "1h"
    }
    

    Next steps

    1. Save the changes to config.json.
    2. Run fuse status again to verify the new $10.00 limit is active.
    3. If you are in an active Claude Code session, the new limit will apply to the very next tool call.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    AgentFuse is a local-only cost circuit breaker for Claude Code. It watches what your sessions actually cost and vetoes the next tool call when a cap trips, before a runaway agent burns another dollar.

    What it does:

    • Live $/token meter for every session
    • Daily cap ($5 default) and session cap ($2 default), yours to raise
    • Runaway-loop kill (same tool call 5 times in a row trips the breaker)
    • Subagent limit (3 per session by default)
    • Hooks deny only, never auto-approve

    Everything runs locally: no network, no accounts, no credentials. The engine is open source under the MIT License, and the core stays free on GitHub forever.

    Transcript lag may allow one extra call after a cap is hit. Fail-open behavior on Claude versions below 2.1.295. Bypassed by --bare or disabling hooks. Does not yet hook shell commands.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Software
    Node.jsGit

    Your purchase helps me continue developing and I appreciate your contribution. More than you know.

    Permissions

    Terminal / Shell
    Write Files
    Listed9 days ago

    What's inside

    Frequently Asked Questions

    Agentfuse acts as a local circuit breaker for Claude Code, preventing runaway costs by automatically blocking tool calls once your pre-set dollar limits, subagent counts, or loop detection thresholds are reached.

    Unlike system prompts which an agent can ignore or "hallucinate" around, Agentfuse is a hard hook at the tool-execution layer; if a limit is hit, the agent is physically denied the ability to execute the next action.

    Agentfuse is purpose-built for the Claude Code CLI and integrates directly with your local settings. It currently supports monitoring for Anthropic API-equivalent costs and token usage.

    No, your data stays private. Agentfuse maintains a local filesystem ledger in your home directory to track usage, ensuring no external tracking or third-party logging of your session history.

    Setup is a simple two-step process: install via Node.js and run 'fuse init' to merge the cost-monitoring hooks into your Claude configuration settings.

    You receive the full Agentfuse Node.js package, the CLI tool for usage reporting (fuse status/report), and the local ledger system for persistent cost tracking across sessions.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.