A comprehensive token monitoring and budget management system designed to track AI agent consumption and operational costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install token-usage-tracker
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install token-usage-tracker using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Usage Tracker is a critical utility within the Openclaw Skills ecosystem that provides developers and users with full transparency regarding their LLM resource consumption. It records input and output tokens for every conversation turn, calculates cumulative statistics, and offers real-time budget control to prevent unexpected API costs. By integrating this skill, you can ensure your AI-driven workflows remain cost-effective and efficient through detailed usage analytics and automated limit warnings.
To integrate this into your environment, ensure you have the core script in your local directory:
# Check the file structure
ls usage-tracker/scripts/usage-tracker.mjs
Initialize the tracker in your JavaScript or Node.js environment:
const { UsageTracker } = require('./scripts/usage-tracker.mjs');
const tracker = new UsageTracker({
maxTotalTokens: 50000,
warningThreshold: 0.8
});
The skill organizes usage data using the following taxonomy to ensure clarity within Openclaw Skills:
| Property | Description |
|---|---|
| input_tokens | The number of tokens sent to the model |
| output_tokens | The number of tokens generated by the model |
| cache_read_input_tokens | Tokens saved through context caching mechanisms |
| total_tokens | Combined count of all tokens used in a session |
| budgetUsedPercent | Percentage of the defined token limit currently consumed |
| estimatedCost | Projected cost based on active model pricing tiers |
Loading
A sophisticated tool discovery and registration system featuring token-based routing, granular permissions, and sub-agent whitelisting.

A powerful tool interception framework to inject custom logic before and after AI tool execution.

DeepRead Insurance is a high-accuracy AI skill designed to extract structured data from complex insurance documents and redact sensitive PII.

A strategic framework for publishing content on high-authority platforms to leverage their domain strength for immediate search rankings and AI citations.

An automated content curation tool that extracts the latest high-value posts from Jike topics and transforms them into structured Markdown digests.

A comprehensive runtime system for AI agents that manages tool lifecycles, permissions, and context optimization.








































