Skills Agentes

Agent Performance Analyzer

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

Estrellas
69.4k

en todo el repo

Actividad
27

0–100, la ruta de este skill

Actualizado
hace 6 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.3k tok

20 tok en reposo

Paquete
1 archivo

5 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add ruvnet/ruflo --skill agent-performance-analyzer --agent claude-code

Se instala solo en este repositorio.

SKILL.md

En inglés

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

Reproducido de ruvnet/ruflo bajo licencia MIT. Leer esta página en markdown.

Archivos

1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Detalles

Creador
ruvnet
Licencia
MIT
Recursos incluidos
Solo SKILL.md
Repositorio
ruvnet/ruflo
Código fuente
Ver SKILL.md

Etiquetas

Más de ruvnet/ruflo

Este repo incluye 275 skills. Si instalas uno, normalmente ya tienes los demás.

Inspect and audit GEPA genomes via the `@metaharness/darwin/gepa` library entry (darwin 0.8.0) — load/validate a genome (default is the shipped cand-6 promotion), render the system prompt a genome compiles to, or classify failure modes in a run transcript. The `gepaOptimize` loop itself is library-only (bring your own evaluator) and not surfaced here — use `harness-evolve` for sandbox-scored evolution. Degrades gracefully when @metaharness/darwin is absent.

Costo de contexto al activarse
833 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 días
Permisos
herramientas desarrollo

One-shot chat completion against DeepSeek's `deepseek-chat` model via the OpenAI-compatible /v1/chat/completions endpoint. Reads DEEPSEEK_API_KEY from the environment; degrades gracefully (exit 0 with a JSON status:degraded envelope) when the key is missing or the API is unreachable. Use for non-reasoning tasks — summarization, extraction, quick classification — where deepseek-reasoner would be overkill.

Costo de contexto al activarse
566 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 días
Permisos
herramientas desarrollo

Reasoning-mode completion against DeepSeek's `deepseek-reasoner` model (R1) via /v1/chat/completions. Surfaces the model's chain-of-thought (`reasoning_content`) separately from the final answer (`content`), so callers can display or discard the CoT without re-parsing. Reads DEEPSEEK_API_KEY; degrades gracefully (exit 0 with status:degraded envelope) when unset or the API is unreachable. Ignores temperature/top_p per DeepSeek's spec for reasoner models.

Costo de contexto al activarse
627 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 días
Permisos
herramientas desarrollo

Build or rebuild the ADR index + dependency graph by running scripts/import.mjs (handles v3-style and plugin-style ADR formats; one Bash call vs hundreds of MCP round-trips)

Costo de contexto al activarse
866 tok
Tamaño del paquete
1 archivo
Última actualización
hace 27 días
herramientas desarrollo

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

Costo de contexto al activarse
680 tok
Tamaño del paquete
1 archivo
Última actualización
hace 27 días
herramientas desarrollo

Show AGNTCY/SLIM/CASA integration status — whether upstream AGNTCY packages are installed, which transport (local vs SLIM) is active, and whether CASA enforcement is enabled. Use when the user asks "is AGNTCY configured?", "show SLIM/CASA status", or "is AGNTCY/IOC integration active?".

Costo de contexto al activarse
443 tok
Tamaño del paquete
1 archivo
Última actualización
hace 26 días
herramientas desarrollo