← Back to Skills Marketplace
1512
Downloads
0
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-skill-observability
Description
Provides tools to monitor OpenClaw health by reporting recent errors and estimating API usage costs over the last 24 hours.
Usage Guidance
This skill appears to implement exactly what it says: cost estimates from OpenClaw sessions and recent error lines from the OpenClaw system unit. Before installing: 1) Verify the host has the 'openclaw' CLI and systemd/journalctl available — the manifest did not declare these required binaries. 2) Be aware that returned system logs and session metadata may include sensitive data (IDs, stack traces, or secrets logged by other components); avoid sending these outputs to public channels or non-trusted chat endpoints. 3) If you deploy to production, test in a safe environment first and review the GitHub repository (package.json points to a repo) and the author (erain). 4) If you want stricter behavior, request the author add explicit required-binaries to the skill manifest and/or add sanitization of log lines to redact secrets before returning them.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-skill-observability
Version: 0.1.0
The skill is classified as suspicious due to its use of `child_process.exec` in `index.mjs` to execute the `journalctl` system command. While the command `journalctl --user -u openclaw-gateway -n 100 --no-pager` is restricted to the `openclaw-gateway` unit and filtered for errors, granting an AI agent the ability to execute system commands and access system logs is a high-risk capability, even if plausibly needed for observability. There is no clear evidence of intentional malicious behavior like data exfiltration to external endpoints or persistence mechanisms.
Capability Assessment
Purpose & Capability
The skill's name/README/PRD and SKILL.md describe cost reporting and recent error retrieval, which matches the code: it calls the OpenClaw CLI for session history and reads journalctl for errors. However, the package/registry metadata does not declare required binaries (the code expects the 'openclaw' CLI and 'journalctl' to be present). This is an omission (sloppy manifest) but not necessarily malicious.
Instruction Scope
SKILL.md defines two tools (get_cost_report and get_recent_errors) and the implementation follows those instructions. The code confines itself to: 1) running `openclaw sessions list --json` and aggregating token counts, and 2) running `journalctl --user -u openclaw-gateway` and filtering lines for errors/warnings. The scope is narrow and consistent with observability.
Install Mechanism
There is no install spec; this is an instruction+code skill that executes local commands at runtime. No remote downloads or package installs are performed from unknown URLs, which lowers installation risk.
Credentials
The skill requests no environment variables or credentials (manifest lists none). The code also does not read env vars. However, it executes local commands and returns raw log lines and session metadata — these outputs can contain sensitive information. The lack of declared required binaries (openclaw, journalctl) is a proportionality/manifest omission to be aware of.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configuration, and does not persist credentials. It only runs local commands when invoked.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-skill-observability - After installation, invoke the skill by name or use
/openclaw-skill-observability - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of the Observability Skill for OpenClaw.
- Provides tools for monitoring health, costs, and logs.
- Includes get_cost_report to estimate API costs for recent sessions.
- Includes get_recent_errors to list failed or aborted sessions.
Metadata
Frequently Asked Questions
What is Openclaw Skill Observability?
Provides tools to monitor OpenClaw health by reporting recent errors and estimating API usage costs over the last 24 hours. It is an AI Agent Skill for Claude Code / OpenClaw, with 1512 downloads so far.
How do I install Openclaw Skill Observability?
Run "/install openclaw-skill-observability" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openclaw Skill Observability free?
Yes, Openclaw Skill Observability is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Openclaw Skill Observability support?
Openclaw Skill Observability is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openclaw Skill Observability?
It is built and maintained by erain (@erain); the current version is v0.1.0.
More Skills