openclaw-cost-auditor

openclaw-cost-auditor is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 0 tokens per session (224 once invoked), scanned A, original, MIT.

A tool for measuring and reviewing OpenClaw usage costs from logs and API metrics. It produces reports, identifies high token usage, forecasts query costs, and offers spending suggestions.

In plain words
What is it for?
Use it to parse logs, calculate costs, rank models or users by token use, forecast spending, create PDF reports, and review optimization suggestions.
Why use it?
It makes model and user spending visible so you can find expensive usage and estimate future bills. Reports and alerts help track costs over daily or weekly periods.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to parse logs, calculate costs, rank models or users by token use, forecast spending, create PDF reports, and review optimization suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/openclaw-cost-auditor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davidtoby/agent-skills --skill openclaw-cost-auditor
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-cost-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-cost-auditor/github.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-cost-auditor)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-cost-auditor"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-cost-auditor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openclaw-cost-auditor

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-cost-auditor"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-cost-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 224 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00224
Opus 5 $0.00000 $0.00112
Sonnet 5 $0.00000 $0.00045
Haiku 4.5 $0.00000 $0.00022

Measured 10d ago against content hash 7af1ca454893, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

openclaw-cost-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/.archive/umbrella-curation-2026-04-29/openclaw-imports/openclaw-cost-auditor/SKILL.md · 33 lines

What it actually says

OpenClaw Cost Auditor v1.0.0

🎯 Purpose

  • Daily/weekly cost reports
  • Top models/users by tokens
  • Cost per query forecasts
  • Optimization recs (quantize, prune)

🚀 Quick Start

!openclaw-cost-auditor --period last7d --format pdf

Files

  • scripts/audit.py: Log parser & calculator
  • templates/report.md: Cost dashboard template

Integrations

OpenClaw logs, Grok/xAI API, custom providers.

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 33 lines · 0 tokens per session scan A 7af1ca454893

Subscribe to this mod's changes

openclaw-cost-auditor is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 224 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

cryptocurrency-trader

Production-grade AI trading agent for cryptocurrency markets with advanced mathematical modeling, multi-layer validation, probabilistic analysis, and zero-hallucination tolerance. Implements Bayesian inference, Monte Carlo simulations, advanced risk metrics (VaR, CVaR, Sharpe), chart pattern recognition, and…

danstrem2/clawdbot-skill-master-pack · 71 tokens

actual-budget

Query and manage personal finances via the official Actual Budget Node.js API. Use for budget queries, transaction imports/exports, account management, categorization, rules, schedules, and bank sync with self-hosted Actual Budget instances.

danstrem2/clawdbot-skill-master-pack · 48 tokens

binance

Binance exchange integration. Trade spot, futures, and manage portfolio on the world's largest crypto exchange.

danstrem2/clawdbot-skill-master-pack · 23 tokens

3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.

danstrem2/clawdbot-skill-master-pack · 80 tokens

crypto-price

Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.

danstrem2/clawdbot-skill-master-pack · 42 tokens