A comprehensive toolkit for logging per-call token usage, normalizing timestamps, and compressing LLM context to optimize performance and costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install oken-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 oken-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.
The Token Usage Tracker is a specialized suite of utilities designed for the OpenClaw ecosystem to provide deep visibility into LLM consumption. By integrating interceptors and logging helpers, it enables developers to maintain a transparent audit trail of every API call, ensuring that costs are managed and performance is optimized through intelligent context compression. This skill is essential for any developer looking to build sustainable and efficient AI-driven applications using Openclaw Skills.
This collection of scripts doesn't just record data; it actively helps reduce the footprint of your messages. With built-in summarization tools, you can trim verbose contexts before they reach the model, significantly lowering your overhead without sacrificing the quality of agent interactions.
# Example: Reducing context size before an API call
python scripts/context_summarizer.py --input large_context.txt
# Example: Cleaning up logs
python scripts/dedupe_log.py --file ./skills/logs/usage.jsonl
The skill organizes data primarily in JSONL format within the configured log folder for high-performance writes and easy ingestion into analytics tools.
| Component | File/Path | Metadata/Parameters |
|---|---|---|
| Configuration | skill-config.json | timezone, log_folder, summary_target_tokens |
| Usage Logs | .logs/*.jsonl | Timestamp, token_count, model_id, request_id |
| Logic | scripts/ | Executable Python logic for interceptors and trackers |
| Deployment | references/systemd/ | Service unit templates for Linux environments |
Loading
A real-time task logging system for AI agents that automatically detects workspaces and tracks execution progress, commands, and status.

An automated diagnostic agent for identifying, triaging, and fixing cron job failures across Linux and macOS environments.

An advanced project management layer for OpenAI Codex CLI that automates task execution, monitoring, and quality assurance.

A professional-grade SEO integration for analyzing backlinks, keyword rankings, and technical site health via the Ahrefs v3 API.

ClawSync is a portable identity vault that automatically syncs your agent's knowledge, memory, and environment across multiple machines.

A specialized skill for AI agents to safely execute shell commands and capture terminal output using persistent tmux sessions.








































