← 返回
数据分析 中文

Clawculator

Analyze OpenClaw costs and detect billing issues. Source code is fully bundled — nothing is fetched at runtime. Requires only the node binary.
分析 OpenClaw 费用并检测计费异常。源码完全打包,运行时无需获取任何内容,仅需 node 二进制文件。
echoudhry
数据分析 clawhub v1.2.1 2 版本 99881.4 Key: 无需
★ 1
Stars
📥 822
下载
💾 16
安装
2
版本
#latest

概述

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 --md
  • node {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.

版本历史

共 2 个版本

  • v1.2.1 当前
    2026-03-29 14:15 安全 安全
  • v1.1.0
    2026-03-07 01:55

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,196
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,761
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,019