← All skills
Tencent SkillHub Β· AI

Agent Metrics

Monitor AI agent calls, errors, latency, and resource usage with a terminal dashboard and JSON export for observability and metrics tracking.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Monitor AI agent calls, errors, latency, and resource usage with a terminal dashboard and JSON export for observability and metrics tracking.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
metrics.py, SKILL.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.5

Documentation

ClawHub primary doc Primary doc: SKILL.md 15 sections Open source page

Agent Metrics Skill

Track and monitor your AI agent's behavior with built-in observability. Files included: metrics.py - Python CLI (cross-platform) agent-metrics.ps1 - PowerShell wrapper (Windows)

What it does

Call Tracking - Count API calls, messages, tasks Error Logging - Track errors with stack traces Latency Metrics - Measure response times Resource Usage - CPU, memory, network Simple Dashboard - Terminal-based metrics view Export - JSON export for external dashboards

Installation

# Install Python dependency pip install psutil

Option 1: PowerShell (recommended on Windows)

.\agent-metrics.ps1 -Action record -MetricType call -Label "api_openai"

Option 2: Python CLI (cross-platform)

python metrics.py record --type call --label "api_openai"

Record an Error

.\agent-metrics.ps1 -Action record -MetricType error -Label "api_error" -Details "Rate limit exceeded"

Record Latency

.\agent-metrics.ps1 -Action record -MetricType latency -Label "task_process" -Value 1500

View Dashboard

.\agent-metrics.ps1 -Action dashboard

View Resource Usage (CPU, Memory, Disk)

.\agent-metrics.ps1 -Action resources

Export Metrics

.\agent-metrics.ps1 -Action export -Format json -Output metrics.json

Get Summary

.\agent-metrics.ps1 -Action summary

Metrics Types

TypeDescriptionFieldscallAPI call madelabel, timestamperrorError occurredlabel, details, timestamplatencyResponse time (ms)label, value, timestampcustomCustom metriclabel, value

Dashboard Example

╔═══════════════════════════════════════════════╗ β•‘ AGENT METRICS DASHBOARD β•‘ ╠═══════════════════════════════════════════════╣ β•‘ Total Calls: 1,247 β•‘ β•‘ Total Errors: 23 β•‘ β•‘ Error Rate: 1.84% β•‘ β•‘ Avg Latency: 234ms β•‘ β•‘ Uptime: 4h 32m β•‘ ╠═══════════════════════════════════════════════╣ β•‘ Top Labels: β•‘ β•‘ api_openai 892 (71.5%) β•‘ β•‘ api_claude 234 (18.8%) β•‘ β•‘ task_process 121 (9.7%) β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

Requirements

Python 3.8+ psutil library

License

MIT

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • metrics.py Scripts