Agentic Ledger is a local-first proxy and analytics layer for OpenClaw that tracks usage, enforces budgets, and replays runs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agentic-ledger
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 agentic-ledger using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agentic Ledger is an Openclaw Skills workflow for observing, controlling, and optimizing agent spend without sending data off-machine. It sits between OpenClaw and the model provider, recording every prompt, response, token count, latency, cost, and error locally while preserving full privacy.
Beyond reporting, it can enforce hard budget walls that refuse calls once thresholds are crossed, making it more than a dashboard. It also supports replaying captured runs on cheaper or local models so you can compare quality, cost, and failure modes before changing your production setup.
Run Agentic Ledger on the host machine, not inside the OpenClaw container:
pip install agentic-ledger
agenticledger start
agenticledger connect openclaw
If agenticledger is not on your PATH, run it from the virtual environment bin directory:
<venv>/bin/agenticledger
After connecting, restart the OpenClaw gateway so the updated provider URL is loaded. If you need to set an explicit upstream or are using a custom gateway, configure it and restart the proxy:
agenticledger config set proxy.upstream_url <your provider or gateway URL>
agenticledger stop && agenticledger start
Recommended OpenClaw approval setup for repeated read-only cost checks:
openclaw approvals allowlist add --agent main "/usr/bin/curl"
Verify the service is reachable, using the host address that works in your environment:
curl -s -m 3 http://localhost:8000/health || curl -s -m 3 http://host.docker.internal:8000/health
The dashboard is available at http://localhost:8000 in the host browser.
Agentic Ledger organizes data as locally stored run, session, report, and replay records. The proxy persists all captured events on the host machine and does not store provider API keys.
| Entity | Purpose | Typical contents |
|---|---|---|
| Session | Groups related agent activity | session ID, time window, cumulative spend, model mix |
| Run | Captures a distinct execution | prompt, response, tokens, latency, cost, error state |
| Report | Aggregates spend and usage over a time range | total spend, per-model totals, cache savings, blocked calls |
| Replay | Re-executes a captured run on another model | original output, replay output, quality comparison, dual cost totals |
tokens: prompt and completion usage per call.cost: per-call and aggregated dollar spend.latency: request duration metrics.errors: provider failures and blocked requests.blocked: amber budget-wall refusals that indicate enforcement working as intended.model: provider/model identifier used for breakdowns.cache_savings: optimization signal when notable.status: refusal status used for budget walls; 402 is recommended for OpenClaw to prevent retry loops.GET /health — service health check.GET /api/reports?days=7 — recent spend and usage summary.GET /api/runs — captured runs.GET /api/sessions — session history.Loading
Openclaw Skills for China Weather Data lets you query, download, and automate China meteorological station weather data with an official CMA source and a free Open-Meteo fallback.

Openclaw Skills for GeoTIFF Metadata Viewer lets you inspect GeoTIFF file metadata, CRS, resolution, tags, and corner coordinates with zero dependencies.

Openclaw Skills for downloading and exporting Chinese administrative-division vector data with search, metadata lookup, bbox calculation, and batch GIS output.

Openclaw Skills for Open-Elevation lets you query global elevation data by latitude and longitude, both one point at a time and in large batches.

WorkBuddy Session Callback lets one session, cron job, or external process wake another WorkBuddy session and inject a message with full context.

yt-agent turns YouTube videos and subscriptions into grounded summaries, highlights, Q&A, presentations, and digests through the yt-mem-ai CLI.








































