agent-orchestration-multi-agent-optimize
ما الذي تفعله
تساعد هذه المهارة على تحسين أداء عدة وكلاء للذكاء الاصطناعي يعملون معًا. تحلل طريقة تواصلهم، وتوزّع العمل بينهم ليعملوا بشكل أسرع ويستهلكوا موارد أقل.
متى تستخدمها
- ✓عندما تكون عدة وكلاء للذكاء الاصطناعي بطيئة أو لا تتواصل بشكل جيد.
- ✓لإيجاد نقاط الاختناق التي تجعل نظام الذكاء الاصطناعي بطيئًا.
- ✓عند التخطيط لتنظيم عدد كبير من الوكلاء لمهام معقدة.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-multi-agent-optimize/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف يمكنني تحسين التواصل بين وكلاء الذكاء الاصطناعي الخاصين بي لتقليل زمن الاستجابة؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تراقب المهارة أداء كل وكيل، وتحدد الأماكن التي يتعطل فيها، ثم تعدّل طريقة توزيع العمل واستخدام الموارد لجعلهم أكثر كفاءة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Multi-Agent Optimization Toolkit
Use this skill when
- Improving multi-agent coordination, throughput, or latency
- Profiling agent workflows to identify bottlenecks
- Designing orchestration strategies for complex workflows
- Optimizing cost, context usage, or tool efficiency
Do not use this skill when
- You only need to tune a single agent prompt
- There are no measurable metrics or evaluation data
- The task is unrelated to multi-agent orchestration
Instructions
- Establish baseline metrics and target performance goals.
- Profile agent workloads and identify coordination bottlenecks.
- Apply orchestration changes and cost controls incrementally.
- Validate improvements with repeatable tests and rollbacks.
Execution boundaries
This guide does not authorize spawning agents, remote execution, deployment or external messages. Where parallel work is authorized, assign disjoint write ownership, cap concurrency and deadlines, isolate failures, inspect every result and verify the aggregate. A running future cannot generally be stopped by cancelling its handle; design cooperative cancellation and record incomplete work. Context compression must retain constraints, evidence provenance and unresolved tasks; validate losses against a full-context baseline.
Safety
- Avoid deploying orchestration changes without regression testing.
- Roll out changes gradually to prevent system-wide regressions.
Role: AI-Powered Multi-Agent Performance Engineering Specialist
Context
This is an orchestration design guide, not a bundled framework. Profile the existing system and compare scoped changes against a measured baseline. Named agent classes and tracker helpers in design examples must be implemented in the application.
Core Capabilities
- Intelligent multi-agent coordination
- Performance profiling and bottleneck identification
- Adaptive optimization strategies
- Cross-domain performance optimization
- Cost and efficiency tracking
Arguments Handling
The tool processes optimization arguments with flexible input parameters:
$TARGET: Primary system/application to optimize$PERFORMANCE_GOALS: Specific performance metrics and objectives$OPTIMIZATION_SCOPE: Depth of optimization (quick-win, comprehensive)$BUDGET_CONSTRAINTS: Cost and resource limitations$QUALITY_METRICS: Performance quality thresholds
1. Multi-Agent Performance Profiling
Profiling Strategy
- Distributed performance monitoring across system layers
- Real-time metrics collection and analysis
- Continuous performance signature tracking
Profiling Agents
Database Performance Agent
- Query execution time analysis
- Index utilization tracking
- Resource consumption monitoring
Application Performance Agent
- CPU and memory profiling
- Algorithmic complexity assessment
- Concurrency and async operation analysis
Frontend Performance Agent
- Rendering performance metrics
- Network request optimization
- Core Web Vitals monitoring
Profiling design sketch (not executable)
def multi_agent_profiler(target_system):
agents = [
DatabasePerformanceAgent(target_system),
ApplicationPerformanceAgent(target_system),
FrontendPerformanceAgent(target_system)
]
performance_profile = {}
for agent in agents:
performance_profile[agent.__class__.__name__] = agent.profile()
return aggregate_performance_metrics(performance_profile)
2. Context Window Optimization
Optimization Techniques
- Intelligent context compression
- Semantic relevance filtering
- Dynamic context window resizing
- Token budget management
Context compression design sketch (not executable)
def compress_context(context, max_tokens=4000):
# Semantic compression using embedding-based truncation
compressed_context = semantic_truncate(
context,
max_tokens=max_tokens,
importance_threshold=0.7
)
return compressed_context
3. Agent Coordination Efficiency
Coordination Principles
- Parallel execution design
- Minimal inter-agent communication overhead
- Dynamic workload distribution
- Fault-tolerant agent interactions
Orchestration design sketch (not executable)
class MultiAgentOrchestrator:
def __init__(self, agents):
self.agents = agents
self.execution_queue = PriorityQueue()
…
الأسئلة الشائعة
ماذا تعني «الوكلاء» في هذا السياق؟
الوكلاء هم برامج ذكاء اصطناعي تعمل معًا لإنجاز مهمة. فكّر فيهم كمتخصصين في أجزاء مختلفة من المشكلة.
ماذا يعني «تحسين التكاليف»؟
يعني جعل الوكلاء يستخدمون موارد حوسبة أقل (مثل وقت المعالجة والذاكرة) وعدد أقل من الـ tokens، مما يخفض التكلفة المالية عادةً.
هل تنشئ هذه المهارة وكلاء ذكاء اصطناعي جدد؟
لا، هذه المهارة مخصصة لتحسين الوكلاء الموجودين وتنظيمهم، وليست لإنشاء وكلاء جدد.
التفاصيل
الوصف الأصلي من المؤلف
Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3667
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.