# Send Agent Zero Bridge to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-zero-bridge",
    "name": "Agent Zero Bridge",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/DOWingard/agent-zero-bridge",
    "canonicalUrl": "https://clawhub.ai/DOWingard/agent-zero-bridge",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agent-zero-bridge",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-zero-bridge",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/a0_client.js",
      "scripts/clawdbot_client.js",
      "scripts/lib/a0_api.js",
      "scripts/lib/clawdbot_api.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "agent-zero-bridge",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:49:19.105Z",
      "expiresAt": "2026-05-06T13:49:19.105Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-zero-bridge",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-zero-bridge",
        "contentDisposition": "attachment; filename=\"agent-zero-bridge-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-zero-bridge"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-zero-bridge"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-zero-bridge",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-zero-bridge",
    "agentUrl": "https://openagent3.xyz/skills/agent-zero-bridge/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-zero-bridge/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-zero-bridge/agent.md"
  }
}
```
## Documentation

### Agent Zero Bridge

Bidirectional communication between Clawdbot and Agent Zero.

### When to Use

Complex coding tasks requiring iteration/self-correction
Long-running builds, tests, or infrastructure work
Tasks needing persistent Docker execution environment
Research with many sequential tool calls
User explicitly asks for Agent Zero

### 1. Prerequisites

Node.js 18+ (for built-in fetch)
Agent Zero running (Docker recommended, port 50001)
Clawdbot Gateway with HTTP endpoints enabled

### 2. Install

# Copy skill to Clawdbot skills directory
cp -r <this-skill-folder> ~/.clawdbot/skills/agent-zero-bridge

# Create config from template
cd ~/.clawdbot/skills/agent-zero-bridge
cp .env.example .env

### 3. Configure .env

# Agent Zero (get token from A0 settings or calculate from runtime ID)
A0_API_URL=http://127.0.0.1:50001
A0_API_KEY=your_agent_zero_token

# Clawdbot Gateway
CLAWDBOT_API_URL=http://127.0.0.1:18789
CLAWDBOT_API_TOKEN=your_gateway_token

# For Docker containers reaching host (use your machine's LAN IP)
CLAWDBOT_API_URL_DOCKER=http://192.168.1.x:18789

### 4. Get Agent Zero Token

# Calculate from A0's runtime ID
import hashlib, base64
runtime_id = "your_A0_PERSISTENT_RUNTIME_ID"  # from A0's .env
hash_bytes = hashlib.sha256(f"{runtime_id}::".encode()).digest()
token = base64.urlsafe_b64encode(hash_bytes).decode().replace("=", "")[:16]
print(token)

### 5. Enable Clawdbot Gateway Endpoints

Add to ~/.clawdbot/clawdbot.json:

{
  "gateway": {
    "bind": "0.0.0.0",
    "auth": { "mode": "token", "token": "your_token" },
    "http": { "endpoints": { "chatCompletions": { "enabled": true } } }
  }
}

Then: clawdbot gateway restart

### 6. Deploy Client to Agent Zero Container

docker exec <container> mkdir -p /a0/bridge/lib
docker cp scripts/lib/. <container>:/a0/bridge/lib/
docker cp scripts/clawdbot_client.js <container>:/a0/bridge/
docker cp .env <container>:/a0/bridge/
docker exec <container> sh -c 'echo "DOCKER_CONTAINER=true" >> /a0/bridge/.env'

### Send Task to Agent Zero

node scripts/a0_client.js "Build a REST API with JWT authentication"
node scripts/a0_client.js "Review this code" --attach ./file.py
node scripts/a0_client.js "New task" --new  # Start fresh conversation

### Check Status

node scripts/a0_client.js status
node scripts/a0_client.js history
node scripts/a0_client.js reset  # Clear conversation

### Task Breakdown (Creates Tracked Project)

node scripts/task_breakdown.js "Build e-commerce platform"
# Creates notebook/tasks/projects/<name>.md with checkable steps

### From Agent Zero → Clawdbot

Inside A0 container:

# Report progress
node /a0/bridge/clawdbot_client.js notify "Working on step 3..."

# Ask for input
node /a0/bridge/clawdbot_client.js "Should I use PostgreSQL or SQLite?"

# Invoke Clawdbot tool
node /a0/bridge/clawdbot_client.js tool web_search '{"query":"Node.js best practices"}'

### Troubleshooting

ErrorFix401 / API key errorCheck A0_API_KEY matches Agent Zero's mcp_server_tokenConnection refused from DockerUse host LAN IP in CLAWDBOT_API_URL_DOCKER, ensure gateway binds 0.0.0.0A0 500 errorsCheck Agent Zero's LLM API key (Gemini/OpenAI) is valid
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: DOWingard
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T13:49:19.105Z
- Expires at: 2026-05-06T13:49:19.105Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agent-zero-bridge)
- [Send to Agent page](https://openagent3.xyz/skills/agent-zero-bridge/agent)
- [JSON manifest](https://openagent3.xyz/skills/agent-zero-bridge/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agent-zero-bridge/agent.md)
- [Download page](https://openagent3.xyz/downloads/agent-zero-bridge)