← 返回 Skills 市场
1512
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-skill-observability
功能描述
Provides tools to monitor OpenClaw health by reporting recent errors and estimating API usage costs over the last 24 hours.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-skill-observability - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-skill-observability触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Openclaw Skill Observability 是什么?
Provides tools to monitor OpenClaw health by reporting recent errors and estimating API usage costs over the last 24 hours. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1512 次。
如何安装 Openclaw Skill Observability?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-skill-observability」即可一键安装,无需额外配置。
Openclaw Skill Observability 是免费的吗?
是的,Openclaw Skill Observability 完全免费(开源免费),可自由下载、安装和使用。
Openclaw Skill Observability 支持哪些平台?
Openclaw Skill Observability 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Skill Observability?
由 erain(@erain)开发并维护,当前版本 v0.1.0。
推荐 Skills