Skip to content
Back to skills

Monitoring Agent Metrics

ASecurity

Show agent performance metrics — tasks completed, success rate, and memory vectors by agent type.

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
ai-agentsjavascriptjavabashbackendperformance

Works with

  • mcp

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill monitoring-agent-metrics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Monitoring Agent Metrics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Monitoring Agent Metrics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-monitoring-agent-metrics/badge)](https://www.skillsdirectory.com/skills/monoes-monitoring-agent-metrics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: monitoring-agent-metrics
description: Show agent performance metrics — tasks completed, success rate, and memory vectors by agent type.
type: flow
---

# agent metrics

Show agent performance metrics — tasks completed, success rate, and memory vectors by agent type.

## Usage

```bash
npx monomind agent metrics [agentId] [options]
```

The optional `agentId` positional argument filters to a specific agent. Omit for all agents.

## Options

| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| `--period` | `-p` | string | `24h` | Time period: `1h`, `24h`, `7d`, `30d` |
| `--format` | — | string | — | Output format: `json` |

## Examples

```bash
# All agents — last 24 hours
npx monomind agent metrics

# Last hour
npx monomind agent metrics --period 1h

# Last 7 days
npx monomind agent metrics -p 7d

# Specific agent
npx monomind agent metrics agent-001

# JSON output
npx monomind agent metrics --format json
```

## Output Sections

**Summary table** — total agents, active agents, tasks completed, average success rate, memory vector count

**By Agent Type table** — per-type breakdown: count, tasks completed, success rate

**Memory** — vector count and search backend (HNSW-indexed once vectors exist)

## Data Source

Metrics are read from `.swarm/agents/` state files and `.swarm/swarm-activity.json`. If no agents have been spawned yet, the output will note this with a suggestion to run `agent spawn`.

## MCP Tool

```javascript
mcp__monomind__agent_status({ agentId: "agent-001" })
```

## See Also

- `status agents` — live agent status table
- `agent health` — per-agent health check with `--watch` mode
- `agent list` — list all agents

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…