Skip to content
cccskills
FreePublished on GitHub

orchestrator

Delegate development tasks to external coding agents such as Codex and Claude Code through command-line tools. Choose local or container execution, check setup, provide a self-contained task brief, and inspect important changes afterward.

OriginalShow the original description

Delegate to external coding CLIs: A0 headless, Codex, Claude Code and others.

Works withDocker
See how to install

Good for

  • Delegating project work to a local coding agent
  • Running a coding agent inside an Agent Zero container
  • Checking CLI setup before assigning a task
  • Comparing results from local and container agents

Files included (11)

  • SKILL.md6.8 KB
  • AGENTS.md2.8 KB
  • references/a0.md1.4 KB
  • references/AGENTS.md1.4 KB
  • references/claude.md2.4 KB
  • references/codex.md1.2 KB
  • references/cursor.md1.7 KB
  • references/gemini.md2.1 KB
  • references/grok.md1.8 KB
  • references/hermes.md866 B
  • references/opencode.md740 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Orchestrator

Use shell/code execution to run external terminal agents. There is no terminal_agent tool: this skill exists so these heavy delegation instructions load only when the task needs them.

Prefer the user's own host-machine CLI when that is what they mean. Container-installed agents are the pal scenario: useful and supported, but secondary.

Rules

  • For Codex, Claude Code, Cursor CLI, Gemini CLI, Grok Build, Hermes Agent, and OpenCode, first decide the execution place: the user's local machine through A0 CLI, or the Agent Zero Docker/container shell.
  • If the user did not specify local/host versus container, check memory for this coding agent's execution-place preference. If no current preference is known, ask: "Do you want me to use your own local <agent> through A0 CLI, or the <agent> installed inside the Agent Zero container?"
  • After the user chooses, save a stable per-agent preference with memory_save, for example: "For orchestrator, the user prefers Claude Code to run on the host machine through A0 CLI by default." If memory tools are unavailable, continue without saving.
  • Never use Computer Use to drive coding-agent terminals, menus, or TUIs. Use headless CLI commands through code_execution_remote or code_execution_tool; if that is not possible, stop and ask.
  • ACP may be available as a community plugin, but do not assume it is installed. Mention it only if the user explicitly asks for ACP or the direct CLI path is unsuitable.
  • For Codex, Claude Code, Cursor CLI, Gemini CLI, Grok Build, Hermes Agent, and OpenCode, setup is part of the workflow: check whether the CLI is installed, install only the requested CLI if missing, probe its version/help, run a tiny smoke prompt, then run the real task.
  • Keep authentication human-in-the-loop. You may start the CLI login/setup command, relay the exact URL, device code, browser step, or prompt to the user, then wait for the user to confirm completion before retrying the smoke prompt.
  • Never start a full-screen CLI/TUI as a login fallback. If you accidentally opened one and see welcome, theme, provider, or unreadable menu output, reset the terminal session instead of sending keys into it.
  • If login/setup shows a menu or provider choices, show those choices to the user in chat and ask which one to select. Keep the terminal session open, then send the user's selected number/key back to that session.
  • Never ask the user to paste secrets into chat unless there is no safer path. Prefer browser/device login, the CLI's own prompt, or an environment variable set outside chat.
  • Always choose an explicit working directory for repository work. Prefer the user's project path over Agent Zero's default workdir.
  • Optional command defaults may be stored in /a0/usr/plugins/_orchestrator/config.json. Read only the adapter block you need, and never print secrets.
  • For long-running commands, start the CLI in a shell session and poll that session's output. Do not add your own timeout wrapper around the terminal agent.
  • Pass a self-contained task brief: goal, target files or repo path, constraints, verification commands, and expected output.
  • After the terminal agent finishes, inspect its output and verify important changes yourself before reporting success.

Host CLI Flow

Use this when the user wants their own local Claude Code, Codex, Cursor CLI, Gemini CLI, Grok Build, Hermes Agent, or OpenCode.

  1. Use code_execution_remote, not code_execution_tool, because paths, shell, login, and installed CLIs belong to the A0 CLI host machine.
  2. If code_execution_remote is unavailable or reports no connected CLI / remote execution disabled, tell the user exactly:
To use your local coding agents, open a terminal on your computer and install A0 CLI if needed.

macOS / Linux:
curl -LsSf https://cli.agent-zero.ai/install.sh | sh

Windows PowerShell:
irm https://cli.agent-zero.ai/install.ps1 | iex

If A0 CLI is already installed but not running, open a terminal and run:
a0

Connect it to this Agent Zero instance. Select the chat/session, or type the Agent Zero URL manually if this is a remote/VPS instance. In A0 CLI, press F4 to allow Remote Code Execution. Press F3 too if the task needs host file writes. Then ask me again to use your local <agent>.
  1. Once remote execution is available, optionally load host-code-execution for host-shell safety rules.
  2. Read the relevant agent reference file. Run the same install/probe, smoke, auth, and real-task commands with code_execution_remote.
  3. Keep workdir semantics host-side: cd to the host project path, not /a0/usr/workdir, unless the user explicitly wants the container workspace.

Container Pal Flow

Use this when the user chooses the Agent Zero container or explicitly wants a pal agent inside Docker.

For Agent Zero Headless, read references/a0.md and follow its target-selection flow instead of the non-A0 setup loop.

For every non-A0 container adapter:

  1. Read only the relevant reference file:
# Use skills_tool action=read_file on the matching file under references/.
  1. Check install with the reference command.
  2. If missing, install only that requested CLI with the command listed in its reference, then run the install check again.
  3. Probe --version or --help.
  4. Run the reference smoke prompt.
  5. If the smoke prompt reports missing auth, run only the login/setup command named in that reference; do not run the bare CLI as a login fallback. Relay URLs, device codes, prompts, and visible menu choices to the user in chat, then wait. If a prior command left a TUI open, reset the terminal session before continuing.
  6. After the user confirms, rerun the smoke prompt. Only then run the real task.

You can consult both host and container agents in one workflow. Keep their shell sessions separate, label which agent/location produced each answer, and compare results before acting.

Reference Files

  • Agent Zero Headless: references/a0.md
  • Codex CLI: references/codex.md
  • Claude Code: references/claude.md
  • Cursor CLI: references/cursor.md
  • Gemini CLI: references/gemini.md
  • Grok Build: references/grok.md
  • Hermes Agent: references/hermes.md
  • OpenCode: references/opencode.md

Keep generic orchestration rules here. Put agent-specific commands, auth quirks, install hints, and smoke prompts in the matching reference file.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

a0-create-agent

FreeSummary

Create specialized Agent Zero profiles by defining their roles, working methods, and delegation criteria. The skill prepares configuration files and instructions, with optional custom tools, extensions, and model preset selection when needed.

  • Create a specialist agent for data analysis
  • Define when to delegate work to an agent
  • Customize an agent's workflow and response format
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-create-plugin

FreeSummary

Build, improve, review, or troubleshoot Agent Zero plugins for local use or community distribution. Follow plugin structure and installation rules, verify behavior in the target runtime, and prepare repository and Plugin Index contributions when requested.

  • Building an Agent Zero plugin for local use
  • Reviewing an existing plugin's structure and behavior
  • Investigating plugins that fail to load or run
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-development

FreeSummary

Operate Agent Zero projects, chats, and tasks, or develop new tools, extensions, and API features. The skill guides work through existing APIs, relevant documentation, current source code, and checks appropriate to the change.

  • Manage Agent Zero projects and chats
  • Develop custom tools and extensions
  • Add API endpoints or WebUI features
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

a0-manage-plugin

FreeSummary

Find Agent Zero plugins that match a task, compare candidates and their requirements, and manage installation, updates, settings, activation, and removal. It also supports security scans and checks the resulting plugin state through framework management APIs.

  • Find and compare plugins for a specific task
  • Review service, credential, and cost requirements before installation
  • Scan, install, or update a plugin
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

Automate web page tasks such as clicking, filling forms, uploading and downloading files, and taking screenshots. Work across tabs using a browser on the connected host machine or inside a Docker container.

  • Filling web forms and selecting options
  • Uploading or downloading files through websites
  • Capturing screenshots to inspect page appearance
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

Create, edit, and install extensions for Agent Zero Browser, including extensions from Chrome Web Store. It guides permission reviews and checks for suspicious behavior, with new extensions built as readable files that users can inspect.

  • Create a browser extension for a specific website
  • Modify an existing extension
  • Install an extension from Chrome Web Store
agent0ai/agent-zero19.5KUpdated Oct 15, 2026

See all skills by agent0ai

Report a problem with this skill