agent-performance-analyzer
하는 일
이 스킬은 에이전트가 워크플로가 실행되는 방식을 살펴보고, 시간이나 자원이 낭비되는 곳을 찾아 개선안을 제시하도록 합니다. 자동화된 작업을 더 빠르게 하고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓자동화된 워크플로가 너무 오래 걸릴 때.
- ✓전체를 느리게 만드는 단계가 무엇인지 찾고 싶을 때.
- ✓실행 중 자원이 어떻게 쓰이는지 보고서가 필요할 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-performance-analyzer/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“자동화된 워크플로가 40분이나 걸리는 이유를 찾고, 먼저 고칠 것을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 실행 시간과 자원 데이터를 기록하고, 긴 대기나 순서대로 실행되는 단계 같은 패턴을 찾은 뒤, 영향이 큰 순서로 개선안을 나열합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
- Task Execution Time: Average, P95, P99
- Resource Utilization: CPU, Memory, I/O
- Parallelization Ratio: Parallel vs Sequential
- Agent Efficiency: Utilization rate
- 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
자주 묻는 질문
어떤 종류의 지연을 찾아내나요?
느린 작업, 자원 한도, 불필요한 조정 작업, 함께 실행할 수 있는 단계, 큰 데이터 전송을 다룹니다.
워크플로를 직접 바꾸나요?
스킬은 분석과 권장 사항에 초점을 두므로, 어떤 변경을 할지는 직접 정하게 됩니다.
결과는 어디에 저장하나요?
스킬은 실행 중의 메모를 메모리에 저장합니다.
상세 정보
작성자의 원본 설명
Agent skill for performance-analyzer - invoke with $agent-performance-analyzer
repo: ruvnet/ruflo
인기도
- GitHub 스타
- 81k
- 순위
- #1485
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.