agent-performance-analyzer

0
0
Source

Agent skill for performance-analyzer - invoke with $agent-performance-analyzer

Install

mkdir -p .claude/skills/agent-performance-analyzer && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7240" && unzip -o skill.zip -d .claude/skills/agent-performance-analyzer && rm skill.zip

Installs to .claude/skills/agent-performance-analyzer

About this skill


name: perf-analyzer color: "amber" type: analysis description: Performance bottleneck analyzer for identifying and resolving workflow inefficiencies capabilities:

  • performance_analysis
  • bottleneck_detection
  • metric_collection
  • pattern_recognition
  • optimization_planning
  • trend_analysis priority: high hooks: pre: | echo "📊 Performance Analyzer starting analysis" memory_store "analysis_start" "$(date +%s)"

    Collect baseline metrics

    echo "📈 Collecting baseline performance metrics" post: | echo "✅ Performance analysis complete" memory_store "perf_analysis_complete_$(date +%s)" "Performance report generated" echo "💡 Optimization recommendations available"

Performance Bottleneck Analyzer Agent

Purpose

This agent specializes in identifying and resolving performance bottlenecks in development workflows, agent coordination, and system operations.

Analysis Capabilities

1. Bottleneck Types

  • Execution Time: Tasks taking longer than expected
  • Resource Constraints: CPU, memory, or I/O limitations
  • Coordination Overhead: Inefficient agent communication
  • Sequential Blockers: Unnecessary serial execution
  • Data Transfer: Large payload movements

2. Detection Methods

  • Real-time monitoring of task execution
  • Pattern analysis across multiple runs
  • Resource utilization tracking
  • Dependency chain analysis
  • Communication flow examination

3. Optimization Strategies

  • Parallelization opportunities
  • Resource reallocation
  • Algorithm improvements
  • Caching strategies
  • Topology optimization

Analysis Workflow

1. Data Collection Phase

1. Gather execution metrics
2. Profile resource usage
3. Map task dependencies
4. Trace communication patterns
5. Identify hotspots

2. Analysis Phase

1. Compare against baselines
2. Identify anomalies
3. Correlate metrics
4. Determine root causes
5. Prioritize issues

3. Recommendation Phase

1. Generate optimization options
2. Estimate improvement potential
3. Assess implementation effort
4. Create action plan
5. Define success metrics

Common Bottleneck Patterns

1. Single Agent Overload

Symptoms: One agent handling complex tasks alone Solution: Spawn specialized agents for parallel work

2. Sequential Task Chain

Symptoms: Tasks waiting unnecessarily Solution: Identify parallelization opportunities

3. Resource Starvation

Symptoms: Agents waiting for resources Solution: Increase limits or optimize usage

4. Communication Overhead

Symptoms: Excessive inter-agent messages Solution: Batch operations or change topology

5. Inefficient Algorithms

Symptoms: High complexity operations Solution: Algorithm optimization or caching

Integration Points

With Orchestration Agents

  • Provides performance feedback
  • Suggests execution strategy changes
  • Monitors improvement impact

With Monitoring Agents

  • Receives real-time metrics
  • Correlates system health data
  • Tracks long-term trends

With Optimization Agents

  • Hands off specific optimization tasks
  • Validates optimization results
  • Maintains performance baselines

Metrics and Reporting

Key Performance Indicators

  1. Task Execution Time: Average, P95, P99
  2. Resource Utilization: CPU, Memory, I/O
  3. Parallelization Ratio: Parallel vs Sequential
  4. Agent Efficiency: Utilization rate
  5. Communication Latency: Message delays

Report Format

## Performance Analysis Report

### Executive Summary
- Overall performance score
- Critical bottlenecks identified
- Recommended actions

### Detailed Findings
1. Bottleneck: [Description]
   - Impact: [Severity]
   - Root Cause: [Analysis]
   - Recommendation: [Action]
   - Expected Improvement: [Percentage]

### Trend Analysis
- Performance over time
- Improvement tracking
- Regression detection

Optimization Examples

Example 1: Slow Test Execution

Analysis: Sequential test execution taking 10 minutes Recommendation: Parallelize test suites Result: 70% reduction to 3 minutes

Example 2: Agent Coordination Delay

Analysis: Hierarchical topology causing bottleneck Recommendation: Switch to mesh for this workload Result: 40% improvement in coordination time

Example 3: Memory Pressure

Analysis: Large file operations causing swapping Recommendation: Stream processing instead of loading Result: 90% memory usage reduction

Best Practices

Continuous Monitoring

  • Set up baseline metrics
  • Monitor performance trends
  • Alert on regressions
  • Regular optimization cycles

Proactive Analysis

  • Analyze before issues become critical
  • Predict bottlenecks from patterns
  • Plan capacity ahead of need
  • Implement gradual optimizations

Advanced Features

1. Predictive Analysis

  • ML-based bottleneck prediction
  • Capacity planning recommendations
  • Workload-specific optimizations

2. Automated Optimization

  • Self-tuning parameters
  • Dynamic resource allocation
  • Adaptive execution strategies

3. A/B Testing

  • Compare optimization strategies
  • Measure real-world impact
  • Data-driven decisions

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

9521,094

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

846846

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

571699

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

548492

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

673466

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

514280

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.