Claude-code-templates agent-management
Create, manage, and orchestrate AI agents using the AI Maestro CLI. Use when the user asks to "create agent", "list agents", "delete agent", "hibernate agent", "wake agent", "install plugin", "show agent", "restart agent", or any agent lifecycle management task.
install
source · Clone the upstream repo
git clone https://github.com/davila7/claude-code-templates
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/davila7/claude-code-templates "$T" && mkdir -p ~/.claude/skills && cp -r "$T/cli-tool/components/skills/ai-maestro/agent-management" ~/.claude/skills/davila7-claude-code-templates-agent-management && rm -rf "$T"
manifest:
cli-tool/components/skills/ai-maestro/agent-management/SKILL.mdsource content
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 |
|---|---|
| List all agents with status |
| Detailed agent information |
| Create new agent |
| Update task/tags |
| Delete agent |
| Rename agent |
| Save state, free resources |
| Resume hibernated agent |
| Hibernate then wake |
Plugin Management
| Command | Description |
|---|---|
| Install plugin |
| Remove plugin |
| List installed plugins |
| Add marketplace |
Export/Import
| Command | Description |
|---|---|
| Export agent config |
| 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 |
|---|---|
| Running in tmux session |
| Registered but no active session |
| 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.