Installation

clawhub install g0head/tokenguard

Summary

TokenGuard tracks API spending per session, enforces configurable dollar limits, and blocks actions when budgets are exceeded. It logs every cost with timestamps and provides pre-flight budget checks before expensive calls.

SKILL.md

Quick overview

TokenGuard tracks API spending per session, enforces configurable dollar limits, and blocks actions when budgets are exceeded. It logs every cost with timestamps and provides pre-flight budget checks before expensive calls.

Unlike ad-hoc manual tracking, TokenGuard enforces limits programmatically via exit codes, so scripts and agents can gate expensive operations without any custom logic.

Common tasks

  • Stopping a runaway agent loop before it burns $200 overnight
  • Setting a $10 daily cap during development of a new AI feature
  • Auditing which operations consumed the most API budget last week
  • Scripting a CI pipeline that skips expensive calls when over budget
  • Extending a session limit mid-task without losing the spending history

Install paths

Primary command


openclaw install g0head/tokenguard

ClawHub installer


npx clawhub@latest install g0head/tokenguard

OpenClaw CLI


openclaw skills install g0head/tokenguard

Direct OpenClaw install


openclaw install g0head/tokenguard

Skill metadata

  • Category: AI & LLMs
  • Language: Markdown
  • Version: 1.0.0
  • Security status: Benign

Review upstream source

The full public SKILL.md body is not directly fetchable for this entry right now, so this page is using the best available catalog metadata. Review the upstream source page for the latest files, version history, and security scan details: https://clawhub.ai/g0head/tokenguard

Recommended skills

Browse all →

Related guides

Hand-picked reading to help you choose, install, and use agent skills.