agent-orchestration-multi-agent-optimize
Skill này làm gì
Công cụ này giúp cải thiện hiệu suất của nhiều agent AI cùng làm việc. Nó phân tích cách chúng giao tiếp và phân chia công việc để chạy nhanh hơn và dùng ít tài nguyên hơn.
Khi nào nên dùng
- ✓Khi nhiều agent AI chậm hoặc không giao tiếp tốt với nhau.
- ✓Khi cần tìm các điểm nghẽn khiến hệ thống AI chậm chạp.
- ✓Khi lên kế hoạch tổ chức nhiều agent cho các tác vụ phức tạp.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-multi-agent-optimize/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm thế nào để tối ưu việc giao tiếp giữa các agent AI của tôi nhằm giảm độ trễ?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ theo dõi hiệu suất của từng agent, xác định nơi chúng bị kẹt và điều chỉnh cách phân phối công việc và sử dụng tài nguyên để chúng hiệu quả hơn.
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.
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()
…
Câu hỏi thường gặp
“Agent” trong ngữ cảnh này là gì?
Agent là các chương trình AI cùng làm việc để hoàn thành một tác vụ. Hãy hình dung chúng là các chuyên gia cho những phần khác nhau của một vấn đề.
“Cost optimization” (tối ưu chi phí) nghĩa là gì?
Nghĩa là làm cho các agent dùng ít tài nguyên tính toán hơn (thời gian xử lý, bộ nhớ) và ít token ngôn ngữ hơn, nhờ đó thường giảm chi phí tài chính.
Công cụ này có tạo agent AI mới không?
Không, công cụ này dùng để cải thiện và sắp xếp các agent có sẵn, không dùng để tạo agent mới.
Chi tiết
Mô tả gốc của tác giả
Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3667
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.