3.4w davila7

agent-management Skill

使用 AI Maestro CLI 创建、管理和编排 AI agent。当用户要求“创建 agent”、“列出 agent”、“删除 agent”、“休眠 agent”、“唤醒 agent”、“安装插件”、“查看 agent”、“重启 agent”,或任何 agent 生命周期管理任务时使用。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

AI Maestro Agent Management

Create, manage, and orchestrate multiple AI agents through a unified CLI. Handles the full agent lifecycle: create, hibernate, wake, rename, export/import, and plugin management. Part of the AI Maestro suite.

Prerequisites

Requires AI Maestro running locally with tmux 3.0+.

# Install the CLI
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-agent-cli.sh

Core Commands

Agent Lifecycle

| Command | Description |
|---------|-------------|
| aimaestro-agent.sh list | List all agents with status |
| aimaestro-agent.sh show | Detailed agent information |
| aimaestro-agent.sh create --dir | Create new agent |
| aimaestro-agent.sh update --task "..." | Update task/tags |
| aimaestro-agent.sh delete --confirm | Delete agent |
| aimaestro-agent.sh rename | Rename agent |
| aimaestro-agent.sh hibernate | Save state, free resources |
| aimaestro-agent.sh wake | Resume hibernated agent |
| aimaestro-agent.sh restart | Hibernate then wake |

Plugin Management

| Command | Description |
|---------|-------------|
| aimaestro-agent.sh plugin install | Install plugin |
| aimaestro-agent.sh plugin uninstall | Remove plugin |
| aimaestro-agent.sh plugin list | List installed plugins |
| aimaestro-agent.sh plugin marketplace add | Add marketplace |

Export/Import

| Command | Description |
|---------|-------------|
| aimaestro-agent.sh export | Export agent config |
| aimaestro-agent.sh import | Import agent from file |

Usage Examples

# Create a backend API agent
aimaestro-agent.sh create backend-api \
  --dir ~/projects/backend \
  --task "Build REST API with TypeScript" \
  --tags "api,typescript"

# End of day -- save resources
aimaestro-agent.sh hibernate frontend-ui
aimaestro-agent.sh hibernate data-processor

# Resume next morning
aimaestro-agent.sh wake frontend-ui --attach

# Install a plugin on an agent
aimaestro-agent.sh plugin install backend-api my-plugin

# Backup before risky changes
aimaestro-agent.sh export backend-api -o backup.json

Agent Statuses

| Status | Meaning |
|--------|---------|
| online | Running in tmux session |
| offline | Registered but no active session |
| hibernated | Saved state, session killed |

Full AI Maestro Experience

This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.

配合站内内容