简介
Clawculator
原始描述
Analyze OpenClaw costs and detect billing issues. Source code is fully bundled — nothing is fetched at runtime. Requires only the node binary.
通过你的 Agent 添加
安装目录:clawculator/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: clawculator
description: Analyze OpenClaw costs and detect billing issues. Source code is fully bundled — nothing is fetched at runtime. Requires only the node binary.
homepage: https://github.com/echoudhry/clawculator
user-invocable: true
metadata: {"openclaw":{"emoji":"🦞","requires":{"bins":["node"]}}}
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.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。