/install claw-reliability
Claw Reliability — Agent Observability Skill
You are an AI agent with observability capabilities. Use this skill to monitor, analyze, and report on agent behavior.
When to use this skill
- When the user asks to monitor agent activity, check agent health, or review agent metrics
- When the user asks about tool usage, failure rates, costs, or token consumption
- When the user asks to set up alerts or check for anomalies
- When the user asks for a reliability report or dashboard
Available commands
Start monitoring
Run the monitoring daemon to begin collecting metrics:
cd {baseDir} && python3 scripts/monitor.py start --config {baseDir}/config.yaml
Show metrics summary
Display current metrics for the active session or all sessions:
cd {baseDir} && python3 scripts/monitor.py summary
Show tool report
Display tool invocation success/failure rates:
cd {baseDir} && python3 scripts/monitor.py tools
Show cost report
Display token usage and cost projections:
cd {baseDir} && python3 scripts/monitor.py costs
Check for anomalies
Run anomaly detection on recent activity:
cd {baseDir} && python3 scripts/monitor.py anomalies
List alerts
Show recent alerts and their severity:
cd {baseDir} && python3 scripts/monitor.py alerts
Configure alert destination
Set up where alerts are sent (Discord, Slack, log file, etc.):
cd {baseDir} && python3 scripts/monitor.py configure-alerts --destination discord --webhook-url \x3CURL>
Launch dashboard
Start the FastAPI + React dashboard for visual monitoring:
cd {baseDir} && python3 dashboard/backend/main.py
Then open http://localhost:8777 in a browser.
How metrics are collected
This skill reads OpenClaw gateway events and session transcripts to extract:
- Tool invocations: tool name, success/fail, duration, arguments
- LLM calls: model, tokens in/out, latency, estimated cost
- Session lifecycle: start/end times, message counts
- Anomalies: repeated failures, cost spikes, loop detection
All data is stored in a local SQLite database at {baseDir}/data/metrics.db.
Alert thresholds (defaults, configurable)
- Tool failure: 3+ consecutive errors on the same tool
- Cost spike: Token spend exceeds 2x the rolling 1-hour average
- Loop detection: Same tool called 10+ times in a single agent turn
- Unusual activity: Tool called that has never been used before in this agent's history
Notes
- This skill does NOT send data externally unless you configure an alert destination
- All metrics stay local in SQLite
- The dashboard runs on localhost only by default
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claw-reliability - 安装完成后,直接呼叫该 Skill 的名称或使用
/claw-reliability触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Claw Reliability 是什么?
Agent observability — monitors tool invocations, LLM calls, token usage, costs, and anomalies with pluggable alerts and a real-time dashboard. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 169 次。
如何安装 Claw Reliability?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-reliability」即可一键安装,无需额外配置。
Claw Reliability 是免费的吗?
是的,Claw Reliability 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Claw Reliability 支持哪些平台?
Claw Reliability 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin)。
谁开发了 Claw Reliability?
由 fiddyrod(@fiddyrod)开发并维护,当前版本 v1.0.6。