metrics
From ruvnet
Show agent performance metrics
Install
/metricsFacts
- Repository
- ruvnet/ruflo
- Status
- Actively maintained
- Last commit
Source preview
The instructions Claude Code reads when this command runs.
# Agent Metrics Command
Display comprehensive performance metrics for agents including V3 performance gains.
## Usage
```bash
npx claude-flow agent metrics [agent-id] [options]
```
## Options
| Option | Short | Description | Default |
|--------|-------|-------------|---------|
| `--period` | `-p` | Time period (1h, 24h, 7d, 30d) | 24h |
| `--format` | | Output format (table, json) | table |
## Examples
```bash
# Overall metrics for last 24 hours
npx claude-flow agent metrics
# Metrics for specific agent
npx claude-flow agent metrics coder-lx7m9k2
# Last hour
npx claude-flow agent metrics -p 1h
# Last 7 days
npx claude-flow agent metrics --period 7d
# JSON output
npx claude-flow agent metrics --format json
```
## Output
```
Agent Metrics (24h)
+--------------------+----------+
| Metric | Value |
+--------------------+----------+
| Total Agents | 4 |
| Active Agents | 3 |
| Tasks Completed | 127 |
| Success Rate | 96.2% |
| Total Tokens | 1,234,567|
| Avg Response Time | 1.45s |
+--------------------+----------+
By Agent Type
+------------+-------+-------+---------+
| Type | Count | Tasks | Success |
+------------+-------+-------+---------+
| coder | 2 | 45 | 97% |
| researcher | 1 | 32 | 95% |
| tester | 1 | 50 | 98% |
+------------+-------+-------+--View full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 15d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 15d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 15d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 14d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 14d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 14d ago