返回顶部
c

claw-reliability

Agent observability — monitors tool invocations, LLM calls, token usage, costs, and anomalies with pluggable alerts and a real-time dashboard.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.6
安全检测
已通过
119
下载量
0
收藏
概述
安装方式
版本历史

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: ```bash cd {baseDir} && python3 scripts/monitor.py start --config {baseDir}/config.yaml ``` ### Show metrics summary Display current metrics for the active session or all sessions: ```bash cd {baseDir} && python3 scripts/monitor.py summary ``` ### Show tool report Display tool invocation success/failure rates: ```bash cd {baseDir} && python3 scripts/monitor.py tools ``` ### Show cost report Display token usage and cost projections: ```bash cd {baseDir} && python3 scripts/monitor.py costs ``` ### Check for anomalies Run anomaly detection on recent activity: ```bash cd {baseDir} && python3 scripts/monitor.py anomalies ``` ### List alerts Show recent alerts and their severity: ```bash cd {baseDir} && python3 scripts/monitor.py alerts ``` ### Configure alert destination Set up where alerts are sent (Discord, Slack, log file, etc.): ```bash cd {baseDir} && python3 scripts/monitor.py configure-alerts --destination discord --webhook-url <URL> ``` ### Launch dashboard Start the FastAPI + React dashboard for visual monitoring: ```bash 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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 claw-reliability-1776104540 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 claw-reliability-1776104540 技能

通过命令行安装

skillhub install claw-reliability-1776104540

下载 Zip 包

⬇ 下载 claw-reliability v1.0.6

文件大小: 39.55 KB | 发布时间: 2026-4-14 14:26

v1.0.6 最新 2026-4-14 14:26
- Improved Discord alert configuration: fixed webhook URL processing in discord_alerter.py
- README and documentation updates for clarity and accuracy

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部