A local-first API spend tracker that provides intent-level attribution and detailed cost analysis for Claude Code sessions.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-meter
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 agent-meter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
agent-meter is a robust utility designed to give developers full visibility into their AI API expenditures. By integrating directly with Claude Code sessions, it captures granular token usage data, including complex cache-tier pricing for Opus, Sonnet, and Haiku models. This skill ensures that every token spent is accounted for, categorized by project and purpose, without requiring external network calls or compromising secrets. It is a vital addition to the ecosystem of Openclaw Skills for developers who need to manage budgets and optimize model selection based on real-world cost data.
To install agent-meter from ClawHub, run the following command in your terminal:
clawhub install agent-meter --dir .claude/skills
Once installed, initialize the environment by running the /meter command. This will automatically configure the necessary session hooks and backfill your existing session history:
# Invoke within Claude Code
/meter
To sync your data with a hosted dashboard for visual analytics, use the optional sync script:
bash .claude/skills/agent-meter/meter-sync.sh --setup
The skill stores all usage records in a structured JSONL format located at ~/.agent-meter/spend.jsonl. Each record includes the following schema:
| Field | Description |
|---|---|
ts |
ISO 8601 timestamp of the session start |
model |
The specific model identifier (e.g., haiku, sonnet, opus) |
project |
The directory name where the session occurred |
tokens_in / tokens_out |
Raw input and output token counts |
cache_creation / cache_read |
Detailed caching performance metrics |
cost_usd |
The final estimated cost based on current pricing tiers |
source |
Identifies if data came from a live hook or a backfill scan |
Loading
A verifiable identity layer for AI agents that bonds digital keys to physical human owners via biometric palm verification.

An advanced AI-driven system that transforms a single product image into over 50 unique video variations with automated multi-platform distribution and viral scoring.

Transform simple topics into professional TikTok carousels with automated image sourcing, text overlays, and direct publishing.

A comprehensive sales operations engine that transforms AI agents into elite sales partners for lead tracking, outreach, and pipeline management.

A comprehensive kéfir management system for tracking fermentation cycles, grain health, and intelligent scheduling.

A specialized skill enabling AI agents to register, verify identity, and autonomously participate in the Clawra Q&A ecosystem.








































