← Back to Skills Marketplace
openclawq

Claw Monitor

by bread time · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ⚠ suspicious
306
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install claw-monitor
Description
Use the `clawmonitor` CLI/TUI to inspect OpenClaw sessions, model health, token usage, and gateway service health.
README (SKILL.md)

ClawMonitor (OpenClaw monitoring)

Use this skill when the user asks questions like:

  • “Did my agent finish? Why no feedback?”
  • “Which session/thread received the last message, and when?”
  • “Is the agent working, interrupted, or stuck? Any delivery failures?”
  • “Which model is failing, and is the problem the provider or OpenClaw itself?”
  • “Which session burned the most tokens recently?”
  • “Do we have zombie/helper processes or a dirty gateway cgroup?”

Preconditions

  • This skill runs on a machine that has OpenClaw state at ~/.openclaw/.
  • clawmonitor is installed on that same machine.

Preflight (recommended)

Before using the commands below, verify the binary exists and can read local OpenClaw state:

clawmonitor --version
clawmonitor init --non-interactive || true
clawmonitor status --format md

If clawmonitor is missing, or status fails, install it first.

Install:

pip install -U clawmonitor

Alternative installs:

  • pipx:

    pipx install clawmonitor
    
  • Virtualenv:

    python3 -m venv .venv
    . .venv/bin/activate
    pip install -U pip
    pip install clawmonitor
    

Notes:

  • Some OpenClaw environments intentionally disallow installing packages at runtime. If installs are blocked, ask the user to install clawmonitor on the host first.
  • clawmonitor init writes config under ~/.config/clawmonitor/config.toml and is safe to re-run.

Core commands

0) Tree view (who owns which sessions)

If you suspect ACP/subagent routing issues (for example Telegram thread bindings), start with:

clawmonitor tree

1) Status (Markdown)

Show the core status table:

clawmonitor status --format md

For a more verbose table including task/message previews:

clawmonitor status --format md --detail

2) Model health

Probe configured models directly and/or through OpenClaw:

clawmonitor models --format md

Useful variants:

clawmonitor models --mode direct --format json
clawmonitor models --mode openclaw --timeout 20

3) Drill down on one session

Export a redacted report for a single session key:

clawmonitor report --session-key 'agent:main:main' --format md

4) Nudge (ask the session to report progress)

Send a progress request into the session:

clawmonitor nudge --session-key 'agent:main:main' --template progress

5) Full TUI for interactive inspection

Run the TUI when you need interactive triage:

clawmonitor tui

Important TUI keys:

  • v: cycle Sessions / Models / System
  • s: jump directly to System
  • h: toggle right-side Status / History
  • u: cycle token windows (now / 1d / 7d / 30d)
  • r: refresh current active surface
  • z: cycle pane widths
  • Z: fullscreen detail
  • o: open the English operator note in System view

Troubleshooting quick wins

  • If clawmonitor status shows DELIVERY_FAILED or NO_FEEDBACK, export a report next:

    clawmonitor report --session-key 'agent:main:main' --format md
    
  • If model checks disagree, separate direct provider path from OpenClaw path.

  • If Telegram looks bound to the wrong session key, run clawmonitor tree and follow the bound session instead of assuming agent:main:... is the active path.

  • If the problem is service-level, use the TUI System view and summarize risk, reclaimable memory estimate, and whether zombies/orphans were detected.

  • If the TUI is unavailable, fall back to clawmonitor status --format md --detail plus clawmonitor models --format md.

Reply guidelines

  • Prefer --format md outputs for IM replies.
  • If status shows DELIVERY_FAILED or NO_FEEDBACK, include the relevant sessionKey and recommend a report export next.
  • If token questions are time-windowed, mention whether the number is a current session snapshot or a 1d / 7d / 30d Gateway usage range.
  • Avoid pasting raw gateway logs unless the user asks; use clawmonitor report which redacts common secrets.
Usage Guidance
This skill is coherent with its stated purpose, but before installing or letting an agent run it automatically: 1) confirm clawmonitor comes from a trusted source (check the GitHub homepage and PyPI package authors); 2) prefer installing in a venv or with pipx (as suggested) rather than system-wide; 3) be aware the tool reads local OpenClaw state (~/.openclaw/) which may contain session data you consider sensitive; and 4) avoid allowing an autonomous agent to perform package installs without explicit user approval.
Capability Analysis
Type: OpenClaw Skill Name: claw-monitor Version: 0.1.3 The skill provides monitoring for OpenClaw sessions and model health using the `clawmonitor` CLI tool. It is classified as suspicious because it directs the AI agent to perform automated installation of external software via pip (`pip install -U clawmonitor`) and requires broad shell execution and file system access to `~/.openclaw/` and `~/.config/`. While these capabilities are plausibly needed for the stated purpose of system monitoring, they represent high-risk behaviors and potential supply-chain vulnerabilities without further verification of the external package.
Capability Assessment
Purpose & Capability
Name/description match the required binary and the commands in SKILL.md. Requiring the clawmonitor executable and read access to ~/.openclaw/ is appropriate for an on-host monitor.
Instruction Scope
The instructions only run clawmonitor commands and reference OpenClaw state and the clawmonitor config path (~/.config/clawmonitor/config.toml). They do not ask the agent to read unrelated system files, network endpoints, or other services.
Install Mechanism
This is an instruction-only skill (no install spec), but SKILL.md recommends installing clawmonitor via pip/pipx/venv from PyPI. That is a typical install route for Python CLIs but carries the usual caution: pip installs arbitrary code from package indexes. The skill itself does not embed or fetch arbitrary URLs or packages.
Credentials
No environment variables or unrelated credentials are requested. The implicit requirement is read access to local OpenClaw state (~/.openclaw/) and the ability to run the local clawmonitor binary, which is proportional for a monitor.
Persistence & Privilege
always:false and no install-time changes are declared. The only persistent change the tool may perform is writing its own config under ~/.config/clawmonitor/, which the SKILL.md documents and marks safe to re-run.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install claw-monitor
  3. After installation, invoke the skill by name or use /claw-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.3
- Expanded skill description to include model health, token usage, and gateway service health monitoring. - Added instructions and options for checking model health with `clawmonitor models`. - Updated TUI section: now documents new inspection surfaces (Sessions, Models, System) and key shortcuts. - Added guidance on monitoring token usage over multiple time windows. - Improved Troubleshooting: covers model/provider path checks and system-level issues (memory, zombies/orphans). - Installation and command instructions revised for clarity and completeness.
v0.1.2
claw-monitor 0.1.2 - No changes detected in this version.
v0.1.1
ClawMonitor 0.1.1 adds preflight and troubleshooting guidance. - Added a "Preflight" section with steps to verify `clawmonitor` is installed and can read OpenClaw state. - Provided alternate installation methods (pipx, virtualenv) and environment notes for safer setup. - Listed notes about configuration file location and re-running `init`. - Introduced "Troubleshooting quick wins" to address common issues like DELIVERY_FAILED and routing confusion. - No core command changes; documentation improvements only.
v0.1.0
ClawMonitor 0.1.0 initial release: - Introduces `clawmonitor` CLI for monitoring OpenClaw sessions, including last messages, run state, delivery failures, and thread-routing. - Provides commands for status overviews, detailed session reports, tree view for session ownership, and an interactive TUI. - Includes "nudge" functionality to prompt agent progress responses. - Offers reply guidelines for reporting session status and handling delivery issues.
Metadata
Slug claw-monitor
Version 0.1.3
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is Claw Monitor?

Use the `clawmonitor` CLI/TUI to inspect OpenClaw sessions, model health, token usage, and gateway service health. It is an AI Agent Skill for Claude Code / OpenClaw, with 306 downloads so far.

How do I install Claw Monitor?

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

Is Claw Monitor free?

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

Which platforms does Claw Monitor support?

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

Who created Claw Monitor?

It is built and maintained by bread time (@openclawq); the current version is v0.1.3.

💬 Comments