代理管理
- 作者仓库星标 27,504
- 作者仓库 claude-code-templates
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @davila7 · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# 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
# 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](https://github.com/23blocks-OS/ai-maestro) suite.
## Prerequisites
Requires [AI Maestro](https://github.com/23blocks-OS/ai-maestro) running locally with tmux 3.0+.
```bash
# 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 <agent>` | Detailed agent information |
| `aimaestro-agent.sh create <name> --dir <path>` | Create new agent |
| `aimaestro-agent.sh update <agent> --task "..."` | Update task/tags |
| `aimaestro-agent.sh delete <agent> --confirm` | Delete agent |
| `aimaestro-agent.sh rename <old> <new>` | Rename agent |
| `aimaestro-agent.sh hibernate <agent>` | Save state, free resources |
| `aimaestro-agent.sh wake <agent>` | Resume hibernated agent |
| `aimaestro-agent.sh restart <agent>` | Hibernate then wake |
### Plugin Management
| Command | Description |
|---------|-------------|
| `aimaestro-agent.sh plugin install <agent> <plugin>` | Install plugin |
| `aimaestro-agent.sh plugin uninstall <agent> <plugin>` | Remove plugin |
| `aimaestro-agent.sh plugin list <agent>` | List installed plugins |
| `aimaestro-agent.sh plugin marketplace add <agent> <source>` | Add marketplace |
### Export/Import
| Command | Description |
|---------|-------------|
| `aimaestro-agent.sh export <agent>` | Export agent config |
| `aimaestro-agent.sh import <file>` | Import agent from file |
## Usage Examples
```bash
# 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](https://github.com/23blocks-OS/ai-maestro) platform, which provides **6 skills** for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.
章节与文件索引
按说明文件中的顺序排列。
先决条件
代理生命周期
插件管理
导出/导入
代理状态
文件/命令 -> aimaestro-agent.sh list · aimaestro-agent.sh show <agent> · aimaestro-agent.sh create <name> --dir <path> · aimaestro-agent.sh update <agent> --task "..." · aimaestro-agent.sh delete <agent> --confirm · aimaestro-agent.sh rename <old> <new> · aimaestro-agent.sh hibernate <agent> · aimaestro-agent.sh wake <agent>
内容校验值 -> 544f51a2214a
当前原文的自动摘译,尚未人工审校。
先决条件
需要 AI Maestro 在本地运行 tmux 3.0+。
代理生命周期
命令 · 描述
aimaestro-agent.sh list· 列出所有状态为aimaestro-agent.sh show <agent>· 详细的代理信息aimaestro-agent.sh create <name> --dir <path>· 创建新代理aimaestro-agent.sh update <agent> --task "..."· 更新任务/标签插件管理
命令 · 描述
aimaestro-agent.sh plugin install <agent> <plugin>· 安装插件aimaestro-agent.sh plugin uninstall <agent> <plugin>· 删除插件aimaestro-agent.sh plugin list <agent>· 列出已安装的插件aimaestro-agent.sh plugin marketplace add <agent> <source>· 添加市场导出/导入
命令 · 描述
aimaestro-agent.sh export <agent>· 导出代理配置aimaestro-agent.sh import <file>· 从文件导入代理代理状态
状态 · 含义
online· 在 tmux 会话中运行offline· 已注册但没有活动会话hibernated· 已保存状态,会话已终止