← Back to Skills Marketplace
liuhao6741

Clawprobe

by liuhao6741 · GitHub ↗ · v0.6.9 · MIT-0
cross-platform ✓ Security Clean
195
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install clawprobe
Description
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...
README (SKILL.md)

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 session
  • suggestions[].ruleId === "tools-truncation" → TOOLS.md is being cut off
  • suggestions[].ruleId === "cost-spike" → today's spend is unusually high
  • daemonRunning: false → run clawprobe start to 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.

Usage Guidance
This skill is an instruction-only wrapper that expects you to install an external npm package (clawprobe) and run its CLI/daemon. That pattern is coherent with its purpose but carries the usual risks of installing third-party packages: npm installs can run arbitrary code and a daemon may access local agent config or tokens. Before installing, verify the npm package and repository (check the GitHub homepage, author, recent commits, and published package contents), prefer a pinned version, inspect postinstall scripts in the package, consider installing in an isolated environment or container, and monitor the daemon's network and file activity. If you maintain sensitive agent credentials, confirm the tool's source and exact permissions before running `clawprobe start`.
Capability Analysis
Type: OpenClaw Skill Name: clawprobe Version: 0.6.9 The clawprobe skill is a utility for agent observability, focusing on monitoring token usage, API costs, and context window health. The SKILL.md file provides standard CLI instructions and JSON processing examples that align with its stated purpose of health monitoring and optimization, with no indicators of data exfiltration, unauthorized execution, or malicious intent.
Capability Assessment
Purpose & Capability
Name/description align with the commands and outputs in SKILL.md: all commands relate to monitoring agent health, token/cost usage, context utilization, suggestions, and compaction events. The skill does not ask for unrelated credentials, binaries, or config paths.
Instruction Scope
Instructions only tell the agent to install and run a CLI (clawprobe) and to parse its JSON output. They do not instruct reading unrelated system files or environment variables, but they do instruct starting a daemon (clawprobe start) which may access agent internals or local config once installed—this access is implicit in the CLI and not described in the SKILL.md.
Install Mechanism
There is no install spec in the skill metadata; the README suggests using npm install -g clawprobe. Installing from npm is a common pattern but can execute arbitrary install scripts and will pull code from the public registry. The SKILL.md does not pin a version or link to a specific, audited release artifact.
Credentials
The skill declares no required environment variables, credentials, or config paths, which is consistent with its documentation. Be aware that the installed CLI/daemon could read local agent config or tokens when running even though the skill metadata doesn't request those.
Persistence & Privilege
always is false and model invocation is allowed (normal). However, the instructions encourage running a long‑lived daemon (clawprobe start), which introduces persistence on the host outside the skill metadata—monitor and audit the daemon if you install it.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawprobe
  3. After installation, invoke the skill by name or use /clawprobe
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.6.9
Version 0.6.9 of clawprobe - No user-facing changes detected in this release. - No file or documentation updates were made. - Behavior and interface remain unchanged from the previous version.
v1.0.0
Initial release: real-time observability skill for OpenClaw agents
Metadata
Slug clawprobe
Version 0.6.9
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 195 downloads so far.

How do I install Clawprobe?

Run "/install clawprobe" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawprobe free?

Yes, Clawprobe is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Clawprobe support?

Clawprobe is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Clawprobe?

It is built and maintained by liuhao6741 (@liuhao6741); the current version is v0.6.9.

💬 Comments