跳到正文
TakoAPI
返回技能列表

arc-metrics-dashboard

由 trypto1019 提供

DevOps & Cloud
531下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Track and visualize your agent's operational metrics.

描述

该技能的功能

Records operational metrics for agents: API calls, task completions, errors, and timed durations. Generates text-based dashboards and exports data as JSON or CSV. Data is stored as daily JSON files in ~/.openclaw/metrics/ with no database required.

Stores metrics as flat JSON files with no database or infrastructure setup, making it usable immediately in any agent environment.

何时使用

  • Tracking API call volume across providers over a week
  • Monitoring error rates during overnight agent runs
  • Measuring average task duration after a code change
  • Identifying which skills an agent uses most frequently
  • Exporting daily metrics to CSV for external analysis

示例工作流

输入

User asks: What's my agent's error rate and average API call duration this week?

智能体
  1. 1

    Run metrics.py view --name api_calls --period week to retrieve API call history

  2. 2

    Run metrics.py view --name errors --period week to check recorded error events

  3. 3

    Run metrics.py dashboard to generate a summary showing error rate and average durations

  4. 4

    Run metrics.py export --format json to save full data for external review

输出

Text dashboard showing weekly API call count, error rate, average task duration, and a JSON export file with complete metric history

安装

clawhub install trypto1019/arc-metrics-dashboard

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接