/install clawculator
clawculator
Cost forensics for OpenClaw. Finds billing issues in your config, sessions, and workspace. Pure deterministic logic — no AI, no network calls, no external dependencies.
Source code is fully bundled in this skill folder. Nothing is fetched at runtime. You can audit every file before running.
Files this skill reads:
~/.openclaw/openclaw.json— your OpenClaw config~/.openclaw/agents/main/sessions/sessions.json— session token usage~/clawd/— workspace root file count only (no file contents read)/tmp/openclaw— log directory (read only, if present)
Files this skill may write (only when --md is used):
./clawculator-report.md— markdown report- Custom path via
--out=PATH
No network requests are made. No shell commands are spawned.
Session keys are truncated in all output (first 8 chars + ellipsis) to avoid exposing sensitive identifiers.
Usage
When the user types clawculator, check my costs, analyze spend, or cost report, run:
node {baseDir}/run.js --md
Return the full markdown report to the user inline.
When the user types snapshot, share my grade, cost grade, clawculator snapshot, or what's my grade, run:
node {baseDir}/run.js --snapshot
Return the terminal card output to the user. This shows their grade (A+ to D), cost range, setup complexity, and findings — designed to be screenshot and shared.
Flags
--snapshot— shareable grade card (terminal output, screenshot-ready)--md— write markdown report and print to stdout--json— machine-readable JSON to stdout--out=PATH— custom output path for--mdnode {baseDir}/run.js --help— full usage
What it catches
- 💓 Heartbeat running on paid model instead of Ollama
- 🔧 Skill polling loops on paid model
- 📱 WhatsApp groups auto-joined on primary model
- 🪝 Hooks (boot-md, command-logger, session-memory) on Sonnet
- 💬 Orphaned sessions still holding tokens
- 🤖 maxConcurrent too high — burst cost multiplier
- 📁 Workspace root bloat inflating context
- ⚙️ Primary model cost awareness
All findings include exact fix commands.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawculator - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawculator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawculator 是什么?
Analyze OpenClaw costs and detect billing issues. Source code is fully bundled — nothing is fetched at runtime. Requires only the node binary. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 496 次。
如何安装 Clawculator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawculator」即可一键安装,无需额外配置。
Clawculator 是免费的吗?
是的,Clawculator 完全免费(开源免费),可自由下载、安装和使用。
Clawculator 支持哪些平台?
Clawculator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawculator?
由 echoudhry(@echoudhry)开发并维护,当前版本 v1.2.1。