← 返回 Skills 市场
markspeed

Openclaw Skill

作者 Mark Speed · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
89
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install anycast-network
功能描述
Connect to the Anycast agent network. List agents, query cross-environment connectors, send messages to remote agents, and check fleet status.
使用说明 (SKILL.md)

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_TOKEN env 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.

安全使用建议
This skill is coherent with its description, but the API token grants access to your Anycast tenant and can be used to query connectors (databases, Slack, GitHub, etc.) and send messages to remote agents. Before installing: 1) Confirm the skill's publisher and trustworthiness (homepage and owner) and that you intend to allow Anycast access. 2) Use the least-privilege token possible (read-only or limited-scope token) and avoid giving a broad admin token. 3) Restrict agent autonomy if you don’t want the agent to run connector queries or send interrupts without explicit approval. 4) Monitor Anycast logs for activity from this token and rotate/revoke the token if unexpected calls appear. If you need stronger assurance, request the publisher’s provenance or a vetted package release before using tenant-scoped credentials.
能力评估
Purpose & Capability
Name/description (connect to Anycast, list agents, query connectors, send messages) align with required binaries (curl, jq) and required env vars (ANYCAST_API_TOKEN, ANYCAST_PORTAL_URL). Nothing requested appears unrelated to the stated functionality.
Instruction Scope
SKILL.md contains explicit curl examples that only reference the declared env vars and the Anycast API. However, connector queries accept arbitrary SELECT/JSON filters and connector types include databases and third-party services (Slack, GitHub, etc.), meaning the skill can issue powerful queries on any connectors configured in the Anycast tenant. This is expected for the feature but is high-impact: the skill can read/query tenant connectors and send interrupt messages to remote agents.
Install Mechanism
Instruction-only skill with no install spec or downloaded code; lowest install risk. It relies on existing CLI tools (curl, jq).
Credentials
Only TWO env vars are required: ANYCAST_API_TOKEN (primary credential) and ANYCAST_PORTAL_URL. Both are necessary for authenticating and contacting the Anycast API and appear proportionate to the described capabilities.
Persistence & Privilege
always:false (no forced global presence). disable-model-invocation:false (agent may invoke the skill autonomously), which is normal. Be aware that if the agent is allowed to invoke the skill autonomously and is given a valid ANYCAST_API_TOKEN, it could perform connector queries and send messages without further user prompts — a powerful privilege that should be managed by token scope and agent policies.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install anycast-network
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /anycast-network 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of anycast-network skill. - Connect to the Anycast agent network using HTTP REST calls. - List online agents and display key status information. - Query available cross-environment connectors with flexible resource and query formats for popular integrations. - Send messages to remote agents and receive responses. - Check fleet status including agent and connection statistics. - Set and retrieve scoped key-value memory for agents. - Enhanced error handling guidance for authentication and access issues.
元数据
Slug anycast-network
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论