본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크