Clawprobe
/install clawprobe
clawprobe
Real-time observability for OpenClaw agents. Check health, token usage, API cost, context window, and optimization suggestions — all from the CLI.
Install
npm install -g clawprobe
clawprobe start
Core commands
| Command | What it does |
|---|---|
clawprobe status --json |
Full health snapshot (session, model, context %, cost, alerts) |
clawprobe cost --week --json |
API cost breakdown for the past week |
clawprobe session --json |
Current session token timeline, turn by turn |
clawprobe context --json |
Context window utilization and truncation warnings |
clawprobe suggest --json |
Active optimization alerts with ruleId and action |
clawprobe compacts --json |
List recent compaction events and lost content |
clawprobe top |
Live auto-refreshing dashboard (human use) |
Recommended self-check workflow
Run at session start or before any expensive task:
STATUS=$(clawprobe status --json)
UTIL=$(echo $STATUS | node -e "process.stdin.resume();let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>console.log(JSON.parse(d).utilizationPct))")
echo "Context: $UTIL%"
Or in a single call:
clawprobe status --json
Key fields to act on:
utilizationPct≥ 85 → compact soon or start a fresh sessionsuggestions[].ruleId === "tools-truncation"→ TOOLS.md is being cut offsuggestions[].ruleId === "cost-spike"→ today's spend is unusually highdaemonRunning: false→ runclawprobe startto enable monitoring
Handling suggestions programmatically
# List active suggestions
clawprobe suggest --json
# Dismiss a noisy rule
clawprobe suggest --dismiss memory-bloat --json
# → { "ok": true, "dismissed": "memory-bloat" }
Schema introspection
When you need to know exact field names for any command:
clawprobe schema status # full field spec for status --json
clawprobe schema cost # full field spec for cost --json
clawprobe schema # list all available schemas
Error format
All errors under --json are structured — never colored text:
{ "ok": false, "error": "no_active_session", "message": "No active session found" }
Exit code is always 1 on error.
Cost note
Cost figures are estimates based on public model pricing. Verify exact amounts with your model provider's billing dashboard.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawprobe - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawprobe触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawprobe 是什么?
Monitor OpenClaw agent health, token usage, API cost, and context window in real time. Use when you need to check your own status, inspect context utilizatio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 195 次。
如何安装 Clawprobe?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawprobe」即可一键安装,无需额外配置。
Clawprobe 是免费的吗?
是的,Clawprobe 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Clawprobe 支持哪些平台?
Clawprobe 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawprobe?
由 liuhao6741(@liuhao6741)开发并维护,当前版本 v0.6.9。