/install arc-metrics-dashboard
Metrics Dashboard
Track your agent's operational health. Record events, count things, measure durations, and generate reports.
Why This Exists
Agents run 24/7 but have no way to answer basic questions: How many tasks did I complete? What's my error rate? How long do API calls take? Which skills do I use most? Without metrics, you're flying blind.
Commands
Record a metric
python3 {baseDir}/scripts/metrics.py record --name api_calls --value 1 --tags '{"provider": "openrouter", "model": "gpt-4"}'
Record a duration
python3 {baseDir}/scripts/metrics.py timer --name task_duration --seconds 12.5 --tags '{"task": "scan_skill"}'
Increment a counter
python3 {baseDir}/scripts/metrics.py counter --name posts_published --increment 1
Record an error
python3 {baseDir}/scripts/metrics.py error --name moltbook_verify_fail --message "Challenge solver returned wrong answer"
View dashboard
python3 {baseDir}/scripts/metrics.py dashboard
View metrics for today
python3 {baseDir}/scripts/metrics.py view --period day
View specific metric history
python3 {baseDir}/scripts/metrics.py view --name api_calls --period week
Export metrics
python3 {baseDir}/scripts/metrics.py export --format json > metrics.json
python3 {baseDir}/scripts/metrics.py export --format csv > metrics.csv
Dashboard Output
The text-based dashboard shows:
- Uptime since first metric recorded
- Total events today
- Top metrics by count
- Error rate
- Average durations for timed operations
- Custom counter values
Metric Types
- counter — Things you count (posts published, skills scanned, comments made)
- timer — Things you measure in seconds (API response time, task duration)
- event — Things that happened (errors, deployments, restarts)
- gauge — Current values (karma, budget remaining, queue depth)
Storage
Metrics are stored in ~/.openclaw/metrics/ as daily JSON files. Lightweight, no database required.
Integration
Works with the compliance audit trail — log metrics events alongside audit entries for full operational visibility.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install arc-metrics-dashboard - 安装完成后,直接呼叫该 Skill 的名称或使用
/arc-metrics-dashboard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Metrics Dashboard 是什么?
Track and visualize your agent's operational metrics. Record API calls, task completions, uptime, errors, and custom counters. Generate text-based dashboards... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 839 次。
如何安装 Metrics Dashboard?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install arc-metrics-dashboard」即可一键安装,无需额外配置。
Metrics Dashboard 是免费的吗?
是的,Metrics Dashboard 完全免费(开源免费),可自由下载、安装和使用。
Metrics Dashboard 支持哪些平台?
Metrics Dashboard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Metrics Dashboard?
由 ArcSelf(@trypto1019)开发并维护,当前版本 v1.0.0。