A comprehensive tracking utility for monitoring, managing, and optimizing AI API expenditures across major providers like OpenAI, Anthropic, and Google.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-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 api-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.
API Cost Tracker is a specialized developer tool designed to provide granular visibility into AI infrastructure spending. By aggregating usage data from multiple providers including OpenAI, Anthropic, and Google AI, it serves as a central hub for financial oversight in AI development. As a powerful addition to your collection of Openclaw Skills, it helps maintain project sustainability by preventing cost overruns during autonomous agent operations.
The skill goes beyond simple tracking by offering deep analytics and optimization suggestions. It empowers developers to understand the financial impact of their model choices, compare pricing tiers in real-time, and ensure that every token spent contributes to the project's value. Integrating this into your Openclaw Skills environment provides the necessary guardrails for scaling AI applications responsibly.
To get started with API Cost Tracker, navigate to the skill directory and install the necessary dependencies:
cd api-cost-tracker
npm install
Next, configure your API keys in config.json or via environment variables. You can verify your setup and start tracking with a simple command:
# Track usage across all providers
node scripts/main.mjs track
# Set a monthly budget
node scripts/main.mjs budget set 100 --monthly
The skill organizes its data within a local data/ directory for transparency and portability:
| File/Folder | Purpose |
|---|---|
costs/ |
Contains daily JSON files (e.g., 2026-03-01.json) tracking provider and model metrics. |
budgets.json |
Stores active budget limits for daily, weekly, and monthly periods. |
alerts.log |
Records a history of all budget alerts and webhook notifications. |
All data is structured to be easily parsable for custom visualization or integration with other Openclaw Skills.
Loading
A dual-language tax assistant designed to provide precise answers based on the official Tax Code of the Republic of Kazakhstan.

A professional accounting automation tool to manage clients, items, and financial documents through the Morning (GreenInvoice) API.

A comprehensive read-only market data assistant for the Hyperliquid exchange that supports natural language and terminal-style command parsing.

A framework to stabilize AI Agent execution by replacing soft prompts with hard-coded gate scripts and persistent style contexts.

A comprehensive suite of SDKs for building and automating DeFi operations on the Sui blockchain using Cetus Protocol.

A TypeScript library for programmatic minting, burning, and yield farming on the Stable Layer protocol via the Sui blockchain.








































