a0-setup-cli
A0 CLI Host Setup
Use this skill to guide the user through installing a0 on their host machine and connecting it to Agent Zero.
Core Boundary
- Agent Zero stays in Docker or its sandboxed runtime.
a0installs and runs on the user's host machine.- The whole point is to let Agent Zero work on the real files on the user's computer.
Response Flow
1. Ask whether they already tried
Start here:
Have you already tried installing
a0? If so, what command did you run, where did you run it, and what happened?
If they already tried, diagnose that attempt before repeating instructions.
2. Stop container installs immediately
If the user is inside the Agent Zero container, /a0, docker exec, or another sandbox shell, stop and say:
a0does not get installed inside the Agent Zero container. Exit to your normal host terminal first. Agent Zero stays in Docker;a0belongs on your machine.
Do not keep giving install commands until they are back on the host.
3. Identify the host OS only as needed
If the platform is unclear, ask one short question:
Are you on macOS/Linux shell or Windows PowerShell on the host machine?
Then use the matching installer.
4. Use the installer-first flow
Treat these public installer URLs as placeholders for now. Use them first, but be ready to switch to the manual uv tool install path if the raw GitHub URL is blocked, private, or unreachable.
macOS / Linux:
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
The installer will install uv if needed, then run uv tool install --upgrade <package-spec> for the CLI.
5. Use the manual uv tool install fallback when needed
If the placeholder installer URL is unavailable, switch to a manual uv tool install flow instead of stopping.
Public Git fallback:
uv tool install --upgrade git+https://github.com/agent0ai/a0-connector
Local checkout or internal mirror examples:
uv tool install --upgrade /path/to/a0-connector
uv tool install --upgrade git+ssh://git.example.com/team/a0-connector.git
If they want to reuse the stock installer with a custom package source, explain that the installer honors A0_PACKAGE_SPEC.
6. Tell them to run a0
After install, the next step is always:
a0
If the command is not found yet, tell them to open a new terminal and run a0 again.
7. Explain how to connect
Tell the user what to expect:
a0opens the host picker first.- If Agent Zero is running locally,
a0may discover it automatically. - If not, the user can enter the Agent Zero web URL manually in the custom URL field.
- The custom URL can be either a normal address with a port, such as
http://localhost:50001, or a tunnel URL. - For Flare Tunnel, tell the user to open
Settings > External Services > Flare Tunnel, clickCreate Tunnel, then copy and paste the HTTPS URL intoa0exactly as shown. - Tunnel URLs such as
https://example.trycloudflare.comdo not need a port appended. AGENT_ZERO_HOSTcan prefill the target host without bypassing the picker.
Example:
export AGENT_ZERO_HOST=http://localhost:50001
a0
Tunnel example:
export AGENT_ZERO_HOST=https://example.trycloudflare.com
a0
8. Define success clearly
Successful setup looks like this:
a0starts on the host machine.- It connects to the user's Agent Zero instance or reaches the login step.
- The user can open a chat from the terminal.
- Agent Zero can now act on real files on the host through the connector flow while Agent Zero itself still runs in Docker.
Troubleshooting
- If the user says they installed inside Docker or shows
/a0paths, redirect them to the host-machine install. - If
a0gets a connector404, explain that the running Agent Zero build likely does not include the builtin_a0_connectorsupport yet and should be updated. - If the browser UI works but
a0does not, remind them the web UI can run without connector support but the CLI cannot. - If Docker discovery does not find the instance, have them enter the exact Agent Zero URL with
host:port, or create a Flare Tunnel inSettings > External Services > Flare Tunneland paste that HTTPS URL directly.
Example Requests And Responses
Example 1
User: "Help me set up the A0 CLI connector."
Respond like this:
- Ask whether they already tried and whether they are on the host machine.
- If the OS is unknown, ask whether they are in macOS/Linux shell or Windows PowerShell.
- Give the matching installer command.
- Tell them to run
a0. - Explain what the host picker and successful connection should look like.
Example 2
User: "I'm inside the Agent Zero container. How do I install A0?"
Respond like this:
- Stop the flow.
- Explain that
a0must be installed on the host, not in the container. - Tell them to exit Docker, open a normal terminal on the machine, then continue with the host installer.
Example 3
User: "The raw GitHub installer URL is blocked on our network."
Respond like this:
- Say the public installer URL is only a placeholder path.
- Switch to a manual
uv tool install --upgrade <package-spec>flow. - Offer examples for a local checkout, internal Git host, or the public Git URL if that one works.
- Then tell them to run
a0and connect to Agent Zero.
More from agent0ai/agent-zero
create-skill
Wizard for creating new Agent Zero skills. Guides users through creating well-structured SKILL.md files. Use when users want to create custom skills.
9a0-plugin-router
Main entry point for all Agent Zero plugin tasks. Routes to specialist skills for creating, reviewing, contributing, managing, or debugging plugins. Use when the user mentions plugins, asks how the plugin system works, wants to build/install/uninstall/publish/debug a plugin, or asks about the Plugin Hub.
5a0-development
Development guide for extending and building features for the Agent Zero AI framework. Covers architecture, tools, extensions, API endpoints, agent profiles, projects, prompts, and skills — with correct paths, imports, and patterns matching the current codebase.
5a0-debug-plugin
Diagnose and fix Agent Zero plugin problems. Covers plugin not appearing, won't enable, API endpoints not responding, frontend store errors, extension point injection, settings resolution, hooks.py issues, and log inspection. Use when a plugin is not working, not loading, crashing, missing from the list, or behaving unexpectedly.
5a0-browser-ext
Create, inspect, install, and safely maintain Chrome extensions for Agent Zero's built-in Browser plugin.
4a0-review-plugin
Full audit of Agent Zero plugins in usr/plugins/. Reviews manifest validity, directory structure, code patterns (Store Gating, notifications, imports), security, and duplicate detection against the community index. Use when asked to review, audit, validate, or check an existing plugin before using or contributing it.
4