plugins/_a0_connector/skills/setup-a0-cli/SKILL.md
a0 runs on the user's host machine; Agent Zero stays in Docker or its sandbox.
If the host OS is unknown, ask only:
Which computer are you installing it on: Windows, macOS, or Linux?
Once known, give the matching command and tell them to run a0 when it finishes.
macOS / Linux host terminal:
curl -LsSf https://raw.githubusercontent.com/agent0ai/a0-connector/main/install.sh | sh
Windows PowerShell:
irm https://raw.githubusercontent.com/agent0ai/a0-connector/main/install.ps1 | iex
If the user is inside /a0, docker exec, or another container shell, stop there: tell them to exit and run the installer in their normal computer terminal. Do not give container installation commands.
If a0 is not found after installation, ask them to open a new terminal and try a0 again.
Running a0 opens a host picker and discovers local Docker instances when possible. Tell the user to select the instance it finds.
If manual entry is needed:
Mention AGENT_ZERO_HOST only if the user asks to prefill the picker. Use their exact known URL, never an invented example.
For a failed attempt, ask for the command, whether it ran on the host or in Docker, and the exact output.
If the installer URL is unreachable but uv works, use:
uv tool install --upgrade git+https://github.com/agent0ai/a0-connector
A connector 404 usually means the running Agent Zero build lacks the bundled _a0_connector; tell the user to update Agent Zero.
If discovery fails, ask for the exact Agent Zero URL or suggest a Flare Tunnel only then. The Flare Tunnel flow is Settings > External Services > Flare Tunnel → Create Tunnel → paste the shown HTTPS URL into a0.
User: "How to enable host connector"
Which computer are you installing it on: Windows, macOS, or Linux?
User: "Linux"
Run this in your normal Linux terminal, then run
a0and select the Agent Zero instance it finds.bashcurl -LsSf https://raw.githubusercontent.com/agent0ai/a0-connector/main/install.sh | sh
User: "It asks for a custom URL"
Paste the exact URL you currently use to open Agent Zero in your browser, including its port.