Chuyển đến nội dung
Skillpedia
Tự động hóa81k · #1485

agent-performance-analyzer

Skill này làm gì

Skill này cho phép agent xem cách một quy trình chạy, tìm chỗ bị lãng phí thời gian hoặc tài nguyên, và đề xuất cải tiến. Phù hợp với người chạy các tác vụ tự động và muốn chúng nhanh hơn.

Khi nào nên dùng

  • ✓Khi một quy trình tự động chạy quá lâu.
  • ✓Khi bạn muốn tìm bước nào đang làm chậm toàn bộ công việc.
  • ✓Khi bạn cần báo cáo về cách tài nguyên được dùng trong một lần chạy.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-analyzer/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-analyzer/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm lý do quy trình tự động của tôi mất bốn mươi phút và đề xuất nên sửa gì trước.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent ghi lại dữ liệu thời gian và tài nguyên, tìm các mẫu như thời gian chờ dài hoặc các bước chạy nối tiếp nhau, rồi liệt kê cải tiến theo mức tác động.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.


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 redu

Câu hỏi thường gặp

Nó phát hiện những kiểu chậm nào?

Skill bao gồm tác vụ chậm, giới hạn tài nguyên, công việc phối hợp thừa, các bước có thể chạy cùng lúc và việc truyền dữ liệu lớn.

Nó có tự thay đổi quy trình không?

Nó tập trung vào phân tích và khuyến nghị, nên bạn là người quyết định thay đổi nào sẽ thực hiện.

Nó lưu kết quả ở đâu?

Skill lưu ghi chú vào bộ nhớ trong lúc chạy.

Chi tiết

Mô tả gốc của tác giả

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

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1485
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự