कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

agent-cost-monitor

neal-collab द्वारा

Coding Agents & IDEs
752clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Real-time token usage and cost tracking across all your OpenClaw agents — alerts, budgets, and optimization tips.

विवरण

यह स्किल क्या करती है

Tracks token usage and estimated costs across multiple OpenClaw agents using the built-in session_status tool. Compares totals against configurable daily and weekly budget thresholds, then surfaces model-switching and configuration changes to reduce spend.

Because it uses OpenClaw's built-in session_status tool, the monitoring itself adds zero additional API cost.

इसे कब इस्तेमाल करें

  • Checking which agent burned the most tokens overnight
  • Forecasting whether you'll hit a weekly rate limit before Friday
  • Running an automated daily cost digest via cron at a set hour
  • Spotting whether heartbeat pings are using an expensive model unnecessarily
  • Getting a projected weekly spend before approving a new agent workflow

उदाहरण वर्कफ़्लो

इनपुट

User asks: Give me a cost report for all agents

एजेंट
  1. 1

    Calls session_status for each active agent to retrieve token counts

  2. 2

    Calculates per-agent estimated costs using the model pricing reference table

  3. 3

    Compares each agent's daily total against the configured per-agent max

  4. 4

    Flags any agents or weekly projections that exceed budget thresholds

  5. 5

    Generates a markdown report with a per-agent breakdown and ranked optimization recommendations

आउटपुट

Markdown table showing per-agent token counts, estimated costs, budget warnings, and specific config changes to reduce spend (model downgrade suggestions, heartbeat interval, cache settings)

इंस्टॉलेशन

clawhub install neal-collab/agent-cost-monitor

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक