metrics-dashboard
БесплатноЗапускает вложенные скриптыНе проверенTrack and visualize your agent's operational metrics. Record API calls, task completions, uptime, errors, and custom counters. Generate text-based dashboards…
от modbender★ 21 звезда на GitHubОб этом скилле
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.
Установить metrics-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл metrics-dashboard?
Track and visualize your agent's operational metrics. Record API calls, task completions, uptime, errors, and custom counters. Generate text-based dashboards and export data for analysis.
Как установить скилл metrics-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл metrics-dashboard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic