setup-a0-cli
Install, connect or troubleshoot A0 CLI host access, local files and remote tools.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- setup-a0-cli
- triggers
- [ "install A0", "connect local files", "enable host connector", "A0 CLI setup", "host vs container" ]
- description
- Install, connect or troubleshoot A0 CLI host access, local files and remote tools.
03 SKILL.md 正文
A0 CLI Host Setup
a0 runs on the user's host machine; Agent Zero stays in Docker or its sandbox.
Keep The Conversation Short
- Match the user's brevity. For a brief question, reply with one short sentence and at most one command block.
- Give only the next useful step, then wait for the result. Do not dump installation, connection, fallback, troubleshooting, and success details into one response.
- Ask only for information needed now. For a fresh install, ask only which host OS they use. Ask about previous commands and errors only when they say they already tried or something failed.
- Do not add headings, checklists, expected-output prose, warnings, alternatives, or explanations unless they help with the user's current step or the user asks for detail.
Fresh Install
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.
Connect
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:
- Use the exact URL the user currently uses to open Agent Zero, including its actual port.
- Never guess, prescribe, or describe any port as common or default. Do not turn a documentation example into the user's address.
- If the URL is unknown, ask the user to copy it from their browser or Docker's published-port mapping.
- A tunnel URL is pasted exactly as shown and does not need a port appended.
Mention AGENT_ZERO_HOST only if the user asks to prefill the picker. Use their exact known URL, never an invented example.
Troubleshoot Only When Needed
-
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
uvworks, use:uv tool install --upgrade git+https://github.com/agent0ai/a0-connector -
A connector
404usually 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 intoa0.
Response Examples
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.curl -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.
04 同仓库更多 Skills
system-lifecycle-designer
Universal architectural methodology for designing granular, atomic, and sub-atomic lifecycles and end-to-end workflows for single functionality integrations across any domain (daemons, batch jobs, request transactions, resource pools). Provides patterns for deterministic identity, pre-commit validation, differential reconciliation, sticky leasing, state machines, transactional persistence, and closed-loop feedback.
style-sampling
Make a new episode in a proven video style - Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime - on the person's topic. Use for "an episode of", "in the style of", "sample this style", 「用这个风格做一集」. One video to copy is reverse-any-video.
reverse-any-video
Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.
typescript-patterns
TypeScript patterns for strict, type-safe, maintainable code in modern TypeScript and JavaScript applications. Covers strict compiler configuration, type design, narrowing, discriminated unions, generics, async and error handling, module boundaries, dependency hygiene, and type-level testing. Use when writing or reviewing TypeScript or JavaScript code.
test-collaboration
Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing test registry or TESTS.md. Use for test inventory, test gap analysis, unit/integration/contract/E2E/smoke classification, bug-to-test regression protection, consumer/provider contract testing, test-necessity review, and pre-delivery evidence review.
story-lifecycle
Manage a file-based epic → story → sprint development loop without requiring an external project management tool. Creates and tracks epics, breaks them into user stories, assigns them to sprints, and drives implementation story by story. Use when starting a new feature initiative or when the team has no Jira/Linear/Taiga but needs structured delivery tracking.