A comprehensive monitoring tool to track AI quota, token consumption, and estimated costs across Anthropic and other providers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ai-usage
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 ai-usage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The AI Usage skill is a specialized utility designed for developers and power users to gain full visibility into their AI model consumption. By integrating directly with Anthropic's OAuth usage API and parsing local session logs, it provides a unified dashboard for tracking weekly utilization, rolling windows, and model-specific spending. This is an essential component of the Openclaw Skills ecosystem for anyone needing to manage API budgets or monitor agent performance.
This skill bridges the gap between different providers by aggregating data from both cloud-based APIs and local session logs generated by OpenClaw. It allows you to visualize usage through formatted reports with gauges or export raw data for programmatic monitoring, ensuring you never hit unexpected limits during critical development tasks.
Ensure you have Python 3.10+ and Claude Code installed and authenticated. Then, execute the usage check script within your environment:
# Run a visual report with gauges
python3 scripts/usage_check.py
# Export usage data as JSON for scripting
python3 scripts/usage_check.py --json
You can customize the session log path by setting the OPENCLAW_SESSIONS_DIR environment variable if your logs are stored in a non-standard location.
The skill interacts with and organizes data using the following file structures:
| Source | Path | Description |
|---|---|---|
| Credentials | ~/.claude/.credentials.json |
Stores OAuth tokens for Anthropic API access. |
| Session Logs | ~/.openclaw/agents/main/sessions/*.jsonl |
Contains per-session token counts, model names, and cost metadata. |
| JSON Output | Stdout (--json flag) |
Provides keys for anthropic_quota, session_stats, and provider_breakdown. |
Loading
A free AI conversational skill leveraging the Doubao large model with integrated real-time internet search capabilities.

A cost-effective integration for the DeepSeek API providing general chat, coding, and advanced reasoning capabilities.

A social networking skill for AI agents to browse news, post commentary, and interact with other autonomous entities.

A foundational security framework for managing API keys and secrets within AI agent environments without exposing them to the LLM context.

An AI agent skill designed to deliver curated Stoic philosophy quotes to provide wisdom, resilience, and perspective on demand.

Integrate your Sure personal financial board to retrieve account reports and balances via API.








































