/ai-maestro:ai-maestro-agents-managementfrom ai-maestro
Manages AI agent lifecycle via the AI Maestro CLI: create, list, show, rename, delete, hibernate, wake, restart agents, and manage sessions, plugins, and credentials.
Ships in ai-maestro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
aimaestro-agent.sh manages agents on this AI Maestro host: lifecycle, sessions, plugins, skills, export/import. <agent> accepts a name or an id. To talk to another agent, use the agent-messaging skill instead. Every command takes -h for its full options.
aimaestro-agent.sh list [--status online|offline|hibernated|all] [--format table|json|names] [-q] [--json]
aimaestro-agent.sh show <agent> [--format pretty|json]
aimaestro-agent.sh create <name> --dir <absolute-path> [-p <program>] [-m <model>] [-t "<task>"] \
[--tags a,b] [-T <trust-level>] [--type <type> [--cerebellum <when>]] [--credential <kind> ...] [--no-session] [--no-folder] [--force-folder] [-- <program-args>...]
aimaestro-agent.sh update <agent> [-t "<task>"] [-m <model>] [--tags a,b] [--add-tag x] [--remove-tag x] [--args "<program-args>"] [--type <type>] [--cerebellum <when>] [--credential <kind> ...]
aimaestro-agent.sh rename <old> <new> [--rename-session] [--rename-folder] [-y]
aimaestro-agent.sh delete <agent> --confirm
aimaestro-agent.sh hibernate <agent>
aimaestro-agent.sh wake <agent> [--attach] [-T <trust-level>]
aimaestro-agent.sh restart <agent> [--wait <seconds>] # hibernate, wait (default 3s), wake
aimaestro-agent.sh session add <agent> [--role <role>]
aimaestro-agent.sh session remove <agent> [--index <n>] [--all]
aimaestro-agent.sh session exec <agent> <command...>
create makes the folder, runs git init, writes a CLAUDE.md template, registers the agent and starts its tmux session. --dir is required, and create fails if the folder already exists unless you pass --force-folder (use it for an existing project). Program defaults to Claude Code.simple (default, one session), lola (one session on the lolabot framework) or jarvis (the session plus a cerebellum, a fast voice at the agent's devices; --cerebellum when-used (default) or always). Jarvis needs the private Jarvis module on the host; without it the agent answers through its session.supervised (default), planOnly, trustEdits, smartAuto, fullAutonomy. On wake, -T applies to that session only.delete kills the agent's sessions, marks it deleted in the registry and removes its AMP messaging directory; the project folder and the agent's data stay on disk. Confirm with the user before deleting.restart cannot restart the session you are running in.Each Claude Code agent has a model access setting. AI Maestro applies it when it starts the agent, reading the key from the vault (aim-secret), so the value is never in a file or in the terminal.
--credential | Uses | Also needs |
|---|---|---|
host-login | this computer's own /login (the default) | nothing |
oauth-token | a subscription token from claude setup-token | --secret NAME |
api-key | an Anthropic API key | --secret NAME |
gateway | a bearer key on another endpoint (OpenRouter and similar) | --secret NAME --base-url https://... [--cred-model <id>] |
config-dir | a separate Claude config folder logged in to another account | --dir <path> on update and credential switch, --cred-dir <path> on create |
--account "<text>" records whose account or plan it is; people see it on the card. --secret is always the vault entry's NAME. If the key is not in the vault yet, have the user store it (aim-secret-management skill); never ask for the value.
aimaestro-agent.sh create ops-1 --dir ~/Code/ops --credential oauth-token --secret ACME_MAX_TOKEN --account "Acme Max plan"
aimaestro-agent.sh update ops-1 --credential api-key --secret ACME_API_KEY # applied at its next wake
aimaestro-agent.sh credential switch ops-1 ops-2 --credential host-login --restart
aimaestro-agent.sh credential switch --crew team:ops --credential oauth-token --secret ACME_MAX_TOKEN --restart
--fallback A,B (with --credential) lists other vault entries this agent may use when its account hits a usage limit. AI Maestro then moves it to the first free one, restarts it in the same conversation and tells it to continue; lastSwitch on the credential endpoint shows the move. Only names in the agent's own list are ever used, and adding a name can need approval (secret.grant).--restart restarts idle agents at once; an agent at work is skipped and named, and keeps its old account until it is restarted. To reset an agent onto its account, restart it (or hibernate then wake).CLAUDE_CODE_OAUTH_TOKEN and CLAUDE_CONFIG_DIR in a project's .claude/settings*.json env block, and an old ANTHROPIC_API_KEY there wins over the setting. Never put a credential there. create, update and wake print a warning when such a file would defeat the choice; remove the entry.curl -s "http://localhost:23000/api/agents/<agent-id>/credential" | jq '{description, warnings, check}'
check.state is match (running on the chosen account), mismatch (the session uses another account; restart it and read the warnings), unverified (AI Maestro did not start this session with the setting; restart it), or null when the agent is not running. An agent's own report of its settings file is not proof.
aimaestro-agent.sh plugin install|uninstall|update|reinstall|enable|disable <agent> <plugin> [-s user|project|local]
aimaestro-agent.sh plugin list <agent>
aimaestro-agent.sh plugin load <agent> <path>... # this session only; not persisted, not in `list`
aimaestro-agent.sh plugin validate <agent> <plugin-path>
aimaestro-agent.sh plugin clean <agent> [-n] # remove orphaned caches; -n = dry run
aimaestro-agent.sh plugin marketplace list <agent>
aimaestro-agent.sh plugin marketplace add <agent> <source> [--no-restart]
aimaestro-agent.sh plugin marketplace remove <agent> <name> [-f]
aimaestro-agent.sh plugin marketplace update <agent> [<name>]
install also accepts --no-restart; uninstall accepts -f. Marketplace sources: owner/repo, github:owner/repo, an HTTPS or SSH git URL (optionally #branch or #tag), a local directory, or a URL. Installing a plugin or marketplace on another agent restarts that agent so the change loads; on your own agent the script prints instructions instead, and Claude Code has to be restarted by hand.
aimaestro-agent.sh skill install <agent> <.skill|.zip|folder> [-s user|project|local] [--name <name>]
aimaestro-agent.sh skill uninstall <agent> <skill-name> [-s user|project|local]
aimaestro-agent.sh skill list <agent>
aimaestro-agent.sh skill add <agent> <skill-id> [--type marketplace|custom] [--path <path>]
aimaestro-agent.sh skill remove <agent> <skill-id>
install/uninstall place files under .claude/skills/; list/add/remove only change what the AI Maestro registry records. Skills that came with a plugin are managed through plugin.
aimaestro-agent.sh export <agent> [-o <file>] # default <agent>.agent.json, configuration only
aimaestro-agent.sh import <file> [--name <new-name>] [--dir <new-dir>]
aimaestro-agent.sh doctor [--all] [--json] # this host's checks (agents, install, peers); --all: every enabled host
It exits 1 when a check fails. Fixes are offered in Settings → Doctor, not by the CLI.
aimaestro-agent.sh list --status all.command not found: run ./install-agent-cli.sh from the AI Maestro checkout; the script and its agent-*.sh modules live in ~/.local/bin.Output formats, scope locations, scenarios and an error table are in references/REFERENCE.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 23blocks-os/ai-maestro-plugins --plugin ai-maestro16 skills in this plugin
/agent-actionsCreate and update interactive pages (canvases, HTML or A2UI) that the user sees in the AI Maestro dashboard, and handle what they click, submit or select. Use when the user asks to see something visually (a dashboard, chart, table or report), asks for a form, picker, approval or review flow, or when a [CANVAS] interaction notification arrives. Not for one-line answers, code or terminal commands./agent-devicesUse your own real devices with the Agent Device Protocol (ADP). List them, jump to one, check health, take a picture, watch the camera, record the microphone, show text or an image, or speak. Use when the user asks about your devices or homes, asks you to look, listen, show or say something on a device, or asks what a device can do. Not for the computer you run on./agent-filesShare files between agents, hosts and people through an AFP space (S3-compatible storage such as Garage). Store a file and get its reference, fetch a file someone else stored, list files, make a time-limited download link. Use when the user asks to share, send, upload, publish or download a file across agents or hosts, when a message carries an afp:// reference or a reference object, and for files too large or too long-lived for a message attachment./agentic-seoAudit and implement SEO for a website: meta tags, canonical URLs, Open Graph, X/Twitter cards, JSON-LD structured data, sitemap and robots controls. Use when auditing a site's SEO, adding or fixing meta tags or structured data, or checking how a site appears in search and AI answers./agentic-sqlRun SQL against a production or staging database safely. Check the saved query library first, run only read-only queries (read-only role, SQL check, LIMIT added), and save findings worth keeping back to the library. Use when a task needs data from a real database, such as a customer lookup, a support-ticket investigation or a data audit. Not for sandbox databases or for code that merely builds queries. Changing data is a separate step that needs a person's approval./agentic-supportManage customer support cases with a written trail. Open a numbered case per customer report, record what was found, resolve it, and turn recurring problems into runbooks that are reused next time. Use when a customer reports a bug or problem, when documenting an incident, when creating a runbook for a recurring issue, or when checking a customer's support history.Other plugins' skills for the same job