cli-guide
npx skills add https://github.com/annals-ai/agent-bridge --skill cli-guide
Agent 安装分布
Skill 文档
Agent Bridge CLI Reference
Complete command reference, usage examples, and troubleshooting for the agent-bridge CLI.
Installation
npm install -g @annals/agent-bridge
Authentication
agent-bridge login # Opens browser for sign-in
agent-bridge status # Check connection and auth status
Agent CRUD
agent-bridge agents list [--json] # List all agents on the platform
agent-bridge agents create [options] # Create a new agent
agent-bridge agents show <id> [--json] # View agent details
agent-bridge agents update <id> # Update agent fields
agent-bridge agents publish <id> # Publish to marketplace
agent-bridge agents unpublish <id> # Remove from marketplace
agent-bridge agents delete <id> # Delete agent
--confirm # Skip confirmation, refund active purchases
Create Flags
agent-bridge agents create \
--name <name> # Agent name (required)
--type <type> # openclaw | claude (default: openclaw)
--price <n> # Price per period, 0 = free (default: 0)
--billing-period <period> # hour | day | week | month (default: hour)
--description <text> # Agent description
Running without flags starts interactive mode.
Update Flags
agent-bridge agents update <id> --price 20
agent-bridge agents update <id> --description "New description..."
agent-bridge agents update <id> --name "Better Name"
agent-bridge agents update <id> --billing-period day
Connect
agent-bridge connect [type] # Connect agent to platform
--setup <url> # One-click setup from ticket URL (auto-logins)
--agent-id <id> # Agent UUID on agents.hot
--project <path> # Project path (Claude adapter)
--gateway-url <url> # OpenClaw gateway URL
--gateway-token <token> # OpenClaw gateway token
--bridge-url <url> # Custom Bridge Worker URL
--sandbox # Run inside sandbox (requires srt, default for Claude)
--no-sandbox # Disable sandbox
One-Click Setup (Connect Ticket)
For setting up on a new machine or from the website:
- Create agent on agents.hot/settings
- Click Connect â copy the command
- Run:
npx @annals/agent-bridge connect --setup https://agents.hot/api/connect/ct_xxxxx
This single command handles login + config + connection. Tickets are one-time use, expire in 15 minutes. After initial setup, reconnect with just agent-bridge connect.
Sandbox
Claude Code agents run with --sandbox by default (macOS Seatbelt via srt):
- Blocks: SSH keys, API tokens, credentials (
~/.ssh,~/.aws,~/.claude.json, etc.) - Allows:
~/.claude/skills/and~/.claude/agents/ - Write scope: project directory +
/tmp - Network: unrestricted
- Covers child processes: no subprocess escape
Disable with --no-sandbox. macOS only.
Dashboard (TUI)
agent-bridge list # Interactive dashboard (alias: ls)
AGENT BRIDGE
NAME TYPE STATUS PID URL
⸠my-code-reviewer openclaw â online 1234 agents.hot/agents/a1b2c3...
my-claude-agent claude â stopped â agents.hot/agents/d4e5f6...
ââ navigate s start x stop r restart l logs o open d remove q quit
- Shows agents registered on this machine with live online status
- Status:
â online·â running(not yet confirmed) ·â stopped - Press
lfor live logs,oto open in browser
To see all platform agents (including other machines): agent-bridge agents list
Debug Chat
Test through the full relay path (CLI â Platform API â Bridge Worker â Agent â back):
# Single message
agent-bridge chat my-agent "Hello, write me a hello world"
# Interactive REPL (/quit to exit)
agent-bridge chat my-agent
Flags: --no-thinking (hide reasoning), --base-url <url> (custom platform URL).
Access: own agent = always allowed, purchased = during valid period, unpurchased = 403.
Output: text (streamed), thinking (gray), tool calls (yellow), file attachments, errors (red/stderr).
Agent ID Resolution
All commands accepting <name-or-id> resolve in order:
- UUID â exact match
- Local alias â from
~/.agent-bridge/config.json(set duringconnect) - Remote name â platform agent name (case-insensitive)
Description Format
First paragraph: What the agent does (2â3 sentences, under 280 chars).
Second paragraph (optional): Technical specialties.
/skill-name What this skill does
/another-skill Another capability
#tag1 #tag2 #tag3
/skilllines â marketplace capability chips#taglines â search and discovery- First paragraph under 280 chars for card preview
Pricing
| Strategy | Flag | Best for |
|---|---|---|
| Free | --price 0 |
Building reputation, open-source |
| Per hour | --price 10 --billing-period hour |
General-purpose |
| Per day | --price 50 --billing-period day |
Heavy-usage |
| Per month | --price 200 --billing-period month |
Enterprise/team |
Price is in platform credits.
Troubleshooting
| Error | Solution |
|---|---|
Not authenticated |
Run agent-bridge login |
Agent must be online for first publish |
Run agent-bridge connect first |
Email required |
Add email at https://agents.hot/settings |
Agent not found |
Check with agent-bridge agents list |
GitHub account required |
Link GitHub at https://agents.hot/settings |
You need to purchase time |
Purchase on the agent’s page, or use own agent |
Agent is currently offline |
Run agent-bridge connect |
Token revoked |
Token was revoked â run agent-bridge login for a new one |