# Automation Smart Agent

Runs the automation-smart-agent role from the ruflo multi-agent toolkit.

- Repository: https://github.com/ruvnet/ruflo (80531 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add ruvnet/ruflo --skill agent-automation-smart-agent -g -a claude-code -y`
Codex: `npx skills add ruvnet/ruflo --skill agent-automation-smart-agent -g -a codex -y`
Cursor: `npx skills add ruvnet/ruflo --skill agent-automation-smart-agent -g -a cursor -y`
Gemini CLI: `npx skills add ruvnet/ruflo --skill agent-automation-smart-agent -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add ruvnet/ruflo`

## Description

Agent skill for automation-smart-agent - invoke with $agent-automation-smart-agent

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

---
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

The rest: https://github.com/ruvnet/ruflo/blob/HEAD/.agents/skills/agent-automation-smart-agent/SKILL.md
