A dedicated AI spending monitor for tracking, reporting, and optimizing OpenRouter costs through a powerful command-line interface.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cost-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 cost-tracker using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Cost Tracker is a specialized utility designed to bring transparency to AI operational expenses. By integrating directly with OpenRouter APIs, this skill provides developers and businesses with a granular view of their spending patterns. It transforms raw API usage data into actionable insights, helping users understand exactly which models are driving costs and where optimizations can be made.
As part of the Openclaw Skills ecosystem, Cost Tracker ensures that your AI agents operate within financial guardrails. Whether you are a solo developer managing a hobby project or a team scaling enterprise workflows, this tool provides the necessary visibility to maintain budget control and efficiency across various LLM providers.
To integrate Cost Tracker into your Openclaw Skills environment, ensure you have Python 3.10+ installed and a valid OpenRouter API key.
First, set your environment variable:
export OPENROUTER_API_KEY='your_api_key_here'
Run the initial fetch command to populate your database with current usage:
python3 scripts/cost_tracker.py fetch
Configure your monthly budget limit to begin tracking thresholds:
python3 scripts/cost_tracker.py budget --set 25.00
The skill utilizes a local SQLite database to ensure data persistence, privacy, and speed. Data can be exported into standard formats for external review.
| Item | Description |
|---|---|
| Database Path | {baseDir}/data/cost_tracker.db |
| Storage Format | SQLite |
| Export Formats | JSON, CSV |
| Metadata Tracked | Model ID, Token Usage, Cost (USD), Timestamp |
Users can generate exports using the following command:
python3 scripts/cost_tracker.py export --format json
Loading
A zero-dependency Python tool for AI agents to manage relationship intelligence and sales workflows via the Copper CRM API.

A zero-dependency Python tool enabling AI agents to manage ConvertKit subscriber lists, forms, and email marketing campaigns through direct API integration.

A comprehensive integration for managing, uploading, and transforming digital media assets through the Cloudinary REST API.

A comprehensive integration for Openclaw Skills that empowers AI agents to manage leads, contacts, and sales opportunities within Close CRM.

A streamlined CLI tool for Openclaw Skills to manage Datadog infrastructure, metrics, and incidents via the REST API.

A sophisticated multi-tier Perplexity search skill providing AI-synthesized answers with citations and observability tracing.








































