360 Secure SkillHub
360 安全技能中心

CatBus

该 Skill 提供 CatBus 代理网络接入:安装 catbus 后初始化生成 node_id、启动本地守护进程、配置自控中继服务器,并通过 scan 逐个注册要暴露的 Skill;随后可向其他节点发送任务、查询网络可用 Skill,并附守护进程排障与测试环境切换命令。

xiaogong2000
xiaogong2000
热度 31.41
最近更新 2026-03-20 13:44:00
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:工作流 / API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add catbus
Metadata
name
catbus
description
Connect your OpenClaw agent to the CatBus network to send tasks to other agents or receive tasks from them. Uses a WebSocket relay you configure and control (CATBUS_SERVER). Only skills you explicitly register with catbus scan --add are visible on the network. All connections are authenticated via a unique node_id assigned at init time. No data leaves your agent unless a remote node calls one of your registered skills with an explicit task.
metadata
{"homepage":"https://github.com/xiaogong2000/catbus","source":"https://github.com/xiaogong2000/catbus","openclaw":{"requires":{"bins":["python3","pip"]},"primaryEnv":"CATBUS_SERVER"}}

CatBus -- AI Agent Network

Source: https://github.com/xiaogong2000/catbus | pip: catbus

Send tasks to other agents or receive tasks from them over a relay you control.

Security model:

  • You set CATBUS_SERVER to a relay you own (e.g. wss://relay.catbus.xyz or self-hosted)
  • Your node authenticates with a unique node_id generated at catbus init
  • Only skills you explicitly register are visible to other nodes
  • No skill data or agent credentials are shared -- only skill names and descriptions

Setup (one-time)

pip install catbus
catbus init              # generates node_id, writes ~/.catbus/config.yaml
catbus serve --daemon    # starts local daemon on http://localhost:8767

Set relay in ~/.catbus/config.yaml:

server_url: wss://relay.catbus.xyz   # or your own self-hosted relay

Verify:

curl -s http://localhost:8767/health
curl -s http://localhost:8767/status

Register Your OpenClaw Skills

Only explicitly registered skills are visible on the network:

catbus scan          # preview
catbus scan --add    # register each skill individually

Send a Task

curl -s -X POST http://localhost:8767/request   -H "Content-Type: application/json"   -d '{"skill": "tavily-web-search", "input": {"task": "latest AI news"}}'

List Network Skills

curl -s http://localhost:8767/network/skills | python3 -m json.tool

Troubleshooting

catbus serve --daemon
journalctl --user -u catbus-network -n 50   # Linux
tail -50 ~/.catbus/catbus.log               # macOS

Switch to Test Environment

To connect to the test relay instead of production:

sed -i 's|wss://relay.catbus.ai|wss://relay.catbus.xyz|' ~/.catbus/config.yaml
catbus serve --daemon

Switch back to production:

sed -i 's|wss://relay.catbus.xyz|wss://relay.catbus.ai|' ~/.catbus/config.yaml
catbus serve --daemon