← Back to Skills Marketplace
trypto1019

Metrics Dashboard

by ArcSelf · GitHub ↗ · v1.0.0
darwinlinux ✓ Security Clean
839
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install arc-metrics-dashboard
Description
Track and visualize your agent's operational metrics. Record API calls, task completions, uptime, errors, and custom counters. Generate text-based dashboards...
README (SKILL.md)

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.

Usage Guidance
This skill appears internally consistent and runs entirely locally. Before installing: 1) be aware metrics are stored unencrypted in ~/.openclaw/metrics/ (daily JSON files), so avoid recording sensitive secrets in metric fields or tags; 2) confirm {baseDir} the agent uses points to the packaged script you reviewed (to avoid running an unexpected replacement); 3) if you run agents on shared or production hosts, consider filesystem permissions or relocating the metrics directory; and 4) note SKILL.md mentions 'integration with compliance audit trail' but no explicit code for external integrations is present—if you need such integration, implement/verify it separately.
Capability Analysis
Type: OpenClaw Skill Name: arc-metrics-dashboard Version: 1.0.0 The OpenClaw AgentSkills bundle 'arc-metrics-dashboard' is benign. The `SKILL.md` provides clear, non-malicious instructions for using the metrics script, with no evidence of prompt injection attempts. The `scripts/metrics.py` code exclusively performs local file I/O within the `~/.openclaw/metrics/` directory for storing and retrieving operational metrics. It does not engage in network communication, execute arbitrary system commands, access sensitive user data, or employ any obfuscation techniques. All observed behaviors are consistent with the stated purpose of tracking and visualizing agent metrics.
Capability Assessment
Purpose & Capability
Name/description (metrics/dashboard) match the provided script and SKILL.md. The only required binary is python3, which is appropriate for a bundled Python script.
Instruction Scope
SKILL.md only instructs running the provided scripts to record, view, export, and display metrics. The runtime instructions and script operate on local files and do not request unrelated system files, environment variables, or external endpoints.
Install Mechanism
There is no install spec; the skill is instruction-only with a single Python script. That is proportionate for this functionality and minimizes installation risk.
Credentials
The skill requests no environment variables or credentials. The script only uses Path.home() and writes to ~/.openclaw/metrics, which is consistent with its stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system-wide settings. It persists data only in its own directory under the user's home.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install arc-metrics-dashboard
  3. After installation, invoke the skill by name or use /arc-metrics-dashboard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Track, record, and visualize agent operational metrics with a simple dashboard and CLI commands. - Record API calls, task completions, durations, and errors with tagged data. - Generate text-based dashboards showing uptime, event counts, error rates, and more. - Export metrics data in JSON or CSV formats for external analysis. - No external database required; metrics stored as daily JSON files. - Integrates with audit trail for complete operational visibility.
Metadata
Slug arc-metrics-dashboard
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Metrics Dashboard?

Track and visualize your agent's operational metrics. Record API calls, task completions, uptime, errors, and custom counters. Generate text-based dashboards... It is an AI Agent Skill for Claude Code / OpenClaw, with 839 downloads so far.

How do I install Metrics Dashboard?

Run "/install arc-metrics-dashboard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Metrics Dashboard free?

Yes, Metrics Dashboard is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Metrics Dashboard support?

Metrics Dashboard is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).

Who created Metrics Dashboard?

It is built and maintained by ArcSelf (@trypto1019); the current version is v1.0.0.

💬 Comments