Openclaw Skill
/install anycast-network
Anycast Agent Network
You can interact with the Anycast agent platform using HTTP REST calls. All requests require the x-agent-token header set to $ANYCAST_API_TOKEN. The base URL is $ANYCAST_PORTAL_URL (default: https://agents.anycast.com).
List Online Agents
curl -s -H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents?limit=20" | jq '.agents[] | {name, status, lastSeenAt}'
Returns agents with: id, name, status (ONLINE/IDLE/OFFLINE), lastSeenAt, source, version.
Send a Message to an Agent
curl -s -X POST \
-H "Content-Type: application/json" \
-H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/{agentId}/interrupt" \
-d '{"reason": "Your question here"}'
The agent will receive the message via its WebSocket connection and can reply.
List Available Connectors
curl -s -H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/connectors"
Returns connectors with: id, name, type, description, enabled.
Query a Connector
curl -s -X POST \
-H "Content-Type: application/json" \
-H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/connectors/{connectorId}/query" \
-d '{"resource": "devices/list", "query": ""}'
The query format depends on the connector type:
- PostgreSQL/MySQL:
resource= table name,query= SQL SELECT - MongoDB:
resource= collection,query= JSON filter - LibreNMS:
resource= "devices/list" or "alerts/list" etc. - Slack:
resource= "messages/list", params:{ channel: "#general" } - GitHub:
resource= "repos/list" or "issues/list"
Check Fleet Status
curl -s -H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/stats"
Returns: totalAgents, onlineAgents, totalConnections, bytesTransferred.
Store/Retrieve Memory
# Set
curl -s -X POST \
-H "Content-Type: application/json" \
-H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/memory" \
-d '{"operation": "set", "key": "my-key", "value": "my-value", "scope": "tenant"}'
# Get
curl -s -X POST \
-H "Content-Type: application/json" \
-H "x-agent-token: $ANYCAST_API_TOKEN" \
"$ANYCAST_PORTAL_URL/api/agents/memory" \
-d '{"operation": "get", "key": "my-key", "scope": "tenant"}'
Error Handling
- 401: Token is missing or invalid. Set
ANYCAST_API_TOKENenv var. - 403: Token doesn't have access to this resource.
- 404: Agent or connector not found.
- 429: Rate limited. Wait and retry.
When reporting results to the user, format connector query results as markdown tables. For agent lists, show name, status, and last seen time in a clean format.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install anycast-network - 安装完成后,直接呼叫该 Skill 的名称或使用
/anycast-network触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Openclaw Skill 是什么?
Connect to the Anycast agent network. List agents, query cross-environment connectors, send messages to remote agents, and check fleet status. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。
如何安装 Openclaw Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install anycast-network」即可一键安装,无需额外配置。
Openclaw Skill 是免费的吗?
是的,Openclaw Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Openclaw Skill 支持哪些平台?
Openclaw Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Skill?
由 Mark Speed(@markspeed)开发并维护,当前版本 v0.1.0。