Skip to content

feat: Add multiclaude stats command for agent metrics#14

Merged
whitmo merged 1 commit intomainfrom
work/witty-squirrel
Feb 25, 2026
Merged

feat: Add multiclaude stats command for agent metrics#14
whitmo merged 1 commit intomainfrom
work/witty-squirrel

Conversation

@whitmo
Copy link
Copy Markdown
Owner

@whitmo whitmo commented Feb 3, 2026

Summary

  • Adds new multiclaude stats command that displays agent activity statistics
  • Shows total tasks completed and active agent count
  • Breaks down PR status (merged/open/closed/failed/no-pr) with percentages
  • Calculates time statistics (average duration, total time spent)
  • Computes success metrics (PR creation rate, PR merge rate)

Example Output

Agent Statistics for 'multiclaude'

Summary:
  Total tasks completed: 15
  Active agents:         0

PR Status:
Status  Count  Percentage
-------------------------
merged  6      40%       
open    7      47%       
closed  0      0%        
failed  0      0%        
no-pr   2      13%       

Time Statistics:
  Average task duration: 7m
  Total time spent:      1h 58m

Success Metrics:
  PR creation rate:      87% (13/15 tasks)
  PR merge rate:         46% (6/13 PRs)

Test plan

  • go build ./cmd/multiclaude compiles without errors
  • go test ./... passes all tests
  • multiclaude stats --help shows usage
  • multiclaude stats produces expected output

Roadmap

Implements P2 item: "Agent metrics: Simple stats on agent activity (tasks completed, PRs created)"

🤖 Generated with Claude Code

Add a new `multiclaude stats` command that displays agent activity
statistics for a repository:

- Summary: total tasks completed, active agents count
- PR Status: breakdown by merged/open/closed/failed/no-pr with percentages
- Time Statistics: average task duration, total time spent
- Success Metrics: PR creation rate, PR merge rate

This implements the P2 roadmap item "Agent metrics: Simple stats on
agent activity (tasks completed, PRs created)".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@whitmo whitmo added the multiclaude PR managed by multiclaude label Feb 3, 2026
@whitmo whitmo merged commit 5b63632 into main Feb 25, 2026
@whitmo whitmo deleted the work/witty-squirrel branch March 1, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multiclaude PR managed by multiclaude

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant