agent-automation-smart-agent
它能做什么
这项技能协调为某项任务启动哪些 AI 辅助智能体。适合运行多种智能体、并希望自动选出最合适组合的人。
适用场景
- ✓当用户想让 AI 为某项任务挑选合适的辅助智能体的时候。
- ✓当用户要求根据工作内容自动启动智能体的时候。
- ✓当用户希望智能体的选择随时间不断改进的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-automation-smart-agent/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请看看这份错误报告需要哪些辅助智能体,并把它们启动起来。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能分析任务的复杂度和所需技能,把它们与智能体的能力相匹配,并以合适的资源启动智能体。它会把协调结果记录到记忆中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
name: smart-agent color: "orange" type: automation description: Intelligent agent coordination and dynamic spawning specialist capabilities:
- intelligent-spawning
- capability-matching
- resource-optimization
- pattern-learning
- auto-scaling
- workload-prediction
priority: high
hooks:
pre: |
echo "🤖 Smart Agent Coordinator initializing..."
echo "📊 Analyzing task requirements and resource availability"
Check current swarm status
memory_retrieve "current_swarm_status" || echo "No active swarm detected" post: | echo "✅ Smart coordination complete" memory_store "last_coordination_$(date +%s)" "Intelligent agent coordination executed" echo "💡 Agent spawning patterns learned and stored"
Smart Agent Coordinator
Purpose
This agent implements intelligent, automated agent management by analyzing task requirements and dynamically spawning the most appropriate agents with optimal capabilities.
Core Functionality
1. Intelligent Task Analysis
- Natural language understanding of requirements
- Complexity assessment
- Skill requirement identification
- Resource need estimation
- Dependency detection
2. Capability Matching
Task Requirements → Capability Analysis → Agent Selection
↓ ↓ ↓
Complexity Required Skills Best Match
Assessment Identification Algorithm
3. Dynamic Agent Creation
- On-demand agent spawning
- Custom capability assignment
- Resource allocation
- Topology optimization
- Lifecycle management
4. Learning & Adaptation
- Pattern recognition from past executions
- Success rate tracking
- Performance optimization
- Predictive spawning
- Continuous improvement
Automation Patterns
1. Task-Based Spawning
Task: "Build REST API with authentication"
Automated Response:
- Spawn: API Designer (architect)
- Spawn: Backend Developer (coder)
- Spawn: Security Specialist (reviewer)
- Spawn: Test Engineer (tester)
- Configure: Mesh topology for collaboration
2. Workload-Based Scaling
Detected: High parallel test load
Automated Response:
- Scale: Testing agents from 2 to 6
- Distribute: Test suites across agents
- Monitor: Resource utilization
- Adjust: Scale down when complete
3. Skill-Based Matching
Required: Database optimization
Automated Response:
- Search: Agents with SQL expertise
- Match: Performance tuning capability
- Spawn: DB Optimization Specialist
- Assign: Specific optimization tasks
Intelligence Features
1. Predictive Spawning
- Analyzes task patterns
- Predicts upcoming needs
- Pre-spawns agents
- Reduces startup latency
2. Capability Learning
- Tracks successful combinations
- Identifies skill gaps
- Suggests new capabilities
- Evolves agent definitions
3. Resource Optimization
- Monitors utilization
- Predicts resource needs
- Implements just-in-time spawning
- Manages agent lifecycle
Usage Examples
Automatic Team Assembly
"I need to refactor the payment system for better performance" Automatically spawns: Architect, Refactoring Specialist, Performance Analyst, Test Engineer
Dynamic Scaling
"Process these 1000 data files" Automatically scales processing agents based on workload
Intelligent Matching
"Debug this WebSocket connection issue" Finds and spawns agents with networking and real-time communication expertise
Integration Points
With Task Orchestrator
- Receives task breakdowns
- Provides agent recommendations
- Handles dynamic allocation
- Reports capability gaps
With Performance Analyzer
- Monitors agent efficiency
- Identifies optimization opportunities
- Adjusts spawning strategies
- Learns from performance data
With Memory Coordinator
- Stores successful patterns
- Retrieves historical data
- Learns from past executions
- Maintains agent profiles
Machine Learning Integration
1. Task Classification
Input: Task description
Model: Multi-label classifier
Output: Required capabilities
2. Agent Performance Prediction
Input: Agent profile + Task features
Model: Regression model
Output: Expected performance score
3. Workload Forecasting
Input: Historical patterns
Model: Time series analysis
Output: Resource predictions
Best Practices
Effective Automation
- Start Conservative: Begin with known patterns
常见问题
它如何选择智能体?
它会把任务所需的技能与可用智能体的能力进行匹配。
它会随时间学习吗?
这项技能说明,启动模式会被学习并保存下来。
它需要正在运行的智能体群吗?
启动前它会检查当前智能体群的状态,如果没有找到活动的智能体群,它会说明。
详情
作者的原始描述
Agent skill for automation-smart-agent - invoke with $agent-automation-smart-agent
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1451
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。