performance-analysis
ما الذي تفعله
تُرشد هذه المهارة الوكيل خلال تحليل أداء فرق الوكلاء وإيجاد الاختناقات وإعداد التقارير. وهي موجهة لمن يريدون معرفة سبب بطء أعمالهم الآلية وما يجب تغييره.
متى تستخدمها
- ✓عندما يكون فريق الوكلاء أبطأ من المتوقع.
- ✓عندما تريد تقريراً مكتوباً عن الأداء مع توصيات.
- ✓عندما تريد التحقق من أن التعديلات الأخيرة لم تبطّئ الأمور.
رابط المهارة
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/performance-analysis/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل تحليل أداء لفريقي عن آخر 24 ساعة، وأخبرني بأكبر اختناق.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يجمع وكيلك بيانات التوقيت والموارد للفترة المحددة، ويبحث عن الاختناقات التي تتجاوز حداً معيناً، ويعدّ تقريراً بالاقتراحات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Performance Analysis Skill
Comprehensive performance analysis suite for identifying bottlenecks, profiling swarm operations, generating detailed reports, and providing actionable optimization recommendations.
Overview
This skill consolidates all performance analysis capabilities:
- Bottleneck Detection: Identify performance bottlenecks across communication, processing, memory, and network
- Performance Profiling: Real-time monitoring and historical analysis of swarm operations
- Report Generation: Create comprehensive performance reports in multiple formats
- Optimization Recommendations: AI-powered suggestions for improving performance
Quick Start
Basic Bottleneck Detection
npx claude-flow bottleneck detect
Generate Performance Report
npx claude-flow analysis performance-report --format html --include-metrics
Analyze and Auto-Fix
npx claude-flow bottleneck detect --fix --threshold 15
Core Capabilities
1. Bottleneck Detection
Command Syntax
npx claude-flow bottleneck detect [options]
Options
--swarm-id, -s <id>- Analyze specific swarm (default: current)--time-range, -t <range>- Analysis period: 1h, 24h, 7d, all (default: 1h)--threshold <percent>- Bottleneck threshold percentage (default: 20)--export, -e <file>- Export analysis to file--fix- Apply automatic optimizations
Usage Examples
# Basic detection for current swarm
npx claude-flow bottleneck detect
# Analyze specific swarm over 24 hours
npx claude-flow bottleneck detect --swarm-id swarm-123 -t 24h
# Export detailed analysis
npx claude-flow bottleneck detect -t 24h -e bottlenecks.json
# Auto-fix detected issues
npx claude-flow bottleneck detect --fix --threshold 15
# Low threshold for sensitive detection
npx claude-flow bottleneck detect --threshold 10 --export critical-issues.json
Metrics Analyzed
Communication Bottlenecks:
- Message queue delays
- Agent response times
- Coordination overhead
- Memory access patterns
- Inter-agent communication latency
Processing Bottlenecks:
- Task completion times
- Agent utilization rates
- Parallel execution efficiency
- Resource contention
- CPU$memory usage patterns
Memory Bottlenecks:
- Cache hit rates
- Memory access patterns
- Storage I/O performance
- Neural pattern loading times
- Memory allocation efficiency
Network Bottlenecks:
- API call latency
- MCP communication delays
- External service timeouts
- Concurrent request limits
- Network throughput issues
Output Format
🔍 Bottleneck Analysis Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Summary
├── Time Range: Last 1 hour
├── Agents Analyzed: 6
├── Tasks Processed: 42
└── Critical Issues: 2
🚨 Critical Bottlenecks
1. Agent Communication (35% impact)
└── coordinator → coder-1 messages delayed by 2.3s avg
2. Memory Access (28% impact)
└── Neural pattern loading taking 1.8s per access
⚠️ Warning Bottlenecks
1. Task Queue (18% impact)
└── 5 tasks waiting > 10s for assignment
💡 Recommendations
1. Switch to hierarchical topology (est. 40% improvement)
2. Enable memory caching (est. 25% improvement)
3. Increase agent concurrency to 8 (est. 20% improvement)
✅ Quick Fixes Available
Run with --fix to apply:
- Enable smart caching
- Optimize message routing
- Adjust agent priorities
2. Performance Profiling
Real-time Detection
Automatic analysis during task execution:
- Execution time vs. complexity
- Agent utilization rates
- Resource constraints
- Operation patterns
Common Bottleneck Patterns
Time Bottlenecks:
- Tasks taking > 5 minutes
- Sequential operations that could parallelize
- Redundant file operations
- Inefficient algorithm implementations
Coordination Bottlenecks:
- Single agent for complex tasks
- Unbalanced agent workloads
- Poor topology selection
- Excessive synchronization points
Resource Bottlenecks:
- High operation count (> 100)
- Memory constraints
- I/O limitations
- Thread pool saturation
MCP Integration
// Check for bottlenecks in Claude Code
mcp__claude-flow__bottleneck_detect({
timeRange: "1h",
threshold: 20,
autoFix: false
})
// Get detailed task results with bottleneck analysis
mcp__claude-flow__task_results({
taskId: "task-123",
format: "detailed"
})
Result Format:
{
"bottlenecks": [
{
"type": "coordination",
"severity": "high",
"descript
الأسئلة الشائعة
هل يستطيع إصلاح الاختناقات تلقائياً؟
تتضمن المهارة خياراً للإصلاح، لكن راجع أي تعديل تلقائي قبل قبوله.
ما نطاقات الوقت التي يستطيع فحصها؟
تذكر المهارة نطاقات مثل ساعة واحدة و24 ساعة و7 أيام وكل الوقت.
ما صيغ التقارير المتاحة؟
تذكر المهارة إنشاء التقارير بعدة صيغ، منها HTML.
التفاصيل
الوصف الأصلي من المؤلف
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms
repo: ruvnet/ruflo
الشعبية
- نجوم GitHub
- 81k
- الترتيب
- #1536
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-adaptive-coordinator
81kيساعد وكيلك على تقسيم مجموعة من وكلاء الذكاء الاصطناعي وإعادة توزيعها مع تغير حجم العمل، واختيار تخطيط يناسب المهمة.
agent-agent
81kيعلّم وكيلك أن يحوّل هدفًا كبيرًا إلى خطة مرتبة من الإجراءات، وأن يعيد التخطيط عندما تتغير الظروف.
agent-agentic-payments
81kيساعد وكيلك على إدارة تفويضات الإنفاق للتسوق بالذكاء الاصطناعي، بحدود إنفاق وأطر زمنية وقواعد للتجار وموافقات موقعة.
agent-analyze-code-quality
81kيساعد وكيلك على مراجعة الشيفرة من حيث الجودة، فيجد روائح الشيفرة والديون التقنية واقتراحات إعادة الهيكلة دون تغيير الملفات.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.