madappgang/claude-code/performance-tracking
Claude Code and agent skill by madappgang/claude-code
- community
Checking that the SKILL.md file is still in the repository.
Track agent, skill, and model performance metrics for optimization. Use when measuring agent success rates, tracking model latency, analyzing routing effectiveness, or optimizing cost-per-task. Trigger keywords - "performance", "metrics", "tracking", "success rate", "agent performance", "model latency", "cost tracking", "optimization", "routing metrics".
Install
npx vskill@latest install madappgang/claude-code/performance-trackingSKILL.md
Performance Tracking
Version: 1.0.0 Purpose: Track agent, skill, and model performance metrics for continuous optimization Status: Production Ready
Overview
Performance tracking transforms workflows from "fire and forget" to data-driven optimization systems. By measuring what actually works, you can route tasks more effectively, identify failing patterns early, and reduce costs.
This skill provides battle-tested patterns for:
- Agent success tracking (completion rates, confidence scores, task type affinity)
- Skill effectiveness (activation counts, success correlation, usage patterns)
- Model performance (latency, cost, quality, provider comparison)
- Routing optimization (tier distribution, routing accuracy, cost efficiency)
- Historical analysis (trend detection, degradation alerts, pattern discovery)
Performance tracking enables continuous improvement by providing the data needed to make informed decisions about agent selection, model choice, and workflow routing.
Why Track Performance
Optimize Routing:
- Identify which agents excel at specific task types
- Route complex tasks to high-confidence agents
- Avoid agents with low success rates for critical work
Identify Failing Agents:
- Detect agents with <70% success rate
- Alert when agent performance degrades
- Replace or retrain underperforming agents
Reduce Costs:
- Find cost-effective model alternatives
- Identify expensive agents with low success rates
- Optimize tier thresholds based on actual performance
Improve Quality:
- Track correlation between confidence scores and success
- Identify patterns in successful implementations
- Learn which models produce best results for task types
What We Track
Agent Metrics:
- Total runs, success/failure counts
- Average confidence scores
- Task type distribution
- Last used timestamp
- Individual execution history
Skill Metrics:
- Activation counts per skill
- Last activation timestamps
- Success correlation (when skill active, what's success rate?)
- Co-activation patterns
Model Metrics:
- Total runs, success/failure counts
- Average latency (response time)
- Total cost (cumulative spend)
- Cost per successful task
- Last used timestamp
Routing Metrics:
- Tier distribution (how often each tier selected)
- Routing accuracy (did tier match complexity?)
- Cost efficiency (tier1 vs tier4 cost ratio)
- Decision history with outcomes
Integration with task-complexity-router
The performance tracker provides critical feedback to the task-complexity-router:
Metrics Schema
JSON Structure (Version 1.0.0)
Store performance metrics in .claude/agent-performance.json:
Schema Field Definitions
Agent Metrics:
totalRuns: Total task executionssuccessCount: Tasks completed successfullyfailureCount: Tasks that failed or required retryavgConfidence: Rolling average of agent confidence scores (0.0-1.0)lastUsed: ISO-8601 timestamp of last executiontaskTypes: Distribution of task types (understand agent specialization)history: Array of recent executions (max 100 entries, FIFO)
Skill Metrics:
activations: Total times skill was triggeredlastActivated: ISO-8601 timestampsuccessCorrelation: Success rate when this skill is active (0.0-1.0)coActivations: Skills frequently activated together (detect patterns)
Model Metrics:
totalRuns: Total executionssuccessCount/failureCount: Outcome trackingavgLatency: Average response time in millisecondstotalCost: Cumulative spend in USDlastUsed: ISO-8601 timestamptaskTypePerformance: Success/failure breakdown by task type
Routing Metrics:
tierDistribution: Count of tasks routed to each tierdecisions: Array of routing decisions with outcomes (max 100, FIFO)
Tracking Patterns
Pattern 1: Capturing Agent Performance
After Agent Completes Task:
After Agent Fails:
Pattern 2: Tracking Model Performance
After Model Execution:
Pattern 3: Recording Skill Activation
After Skill Activation:
Pattern 4: Routing Decision Tracking
After Routing Decision:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/multimodel/skills/performance-tracking/SKILL.md
Popularity
- Repository stars
- 242
- Repository forks
- 25
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/madappgang/claude-code/performance-tracking)