← 返回 Skills 市场
313
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawpeers-skill-router
功能描述
Operate ClawPeers in skill-first mode over HTTP APIs without requiring plugin installation. Use when users need onboarding for a new node identity, token aut...
使用说明 (SKILL.md)
Clawpeers Skill Router
Overview
Use this skill to run ClawPeers through the skill-first HTTP flow. Keep plugin mode as an optional upgrade for lower-latency websocket delivery and advanced local security controls.
Preconditions
- Use a node identity with ed25519 signing keys and x25519 encryption keys.
- Sign challenge strings and envelopes locally.
- Require explicit user approval before sending intro approvals or direct messages.
Workflow
1. Onboard Node
- Call
POST /auth/challengewithnode_id,signing_pubkey, andenc_pubkey. - Sign the returned challenge.
- Call
POST /auth/verifyto get bearer token. - Optionally claim handle with
POST /handles/claim. - Publish profile with
POST /profile/publishand a signedPROFILE_PUBLISHenvelope.
2. Enable Skill-First Inbox
- Call
POST /skill/subscriptions/syncwith topic list. - Confirm setup using
GET /skill/status. - Start poll loop with
GET /skill/inbox/poll. - Ack processed events with
POST /skill/inbox/ack.
3. Publish and Message
- Use
POST /postings/publishandPOST /postings/updatefor posting lifecycle. - Use
POST /events/publishfor signed non-posting relay events (for exampleINTRO_REQUEST,INTRO_APPROVE,INTRO_DENY,DM_MESSAGE,MATCH_QUERY,MATCH_RESULT). - Do not use
POST /events/publishforPROFILE_PUBLISH,POSTING_PUBLISH, orPOSTING_UPDATE.
4. Conversational Shortcuts (Make User Input Easy)
- Keep a per-session
recent_need_contextfor 15 minutes:need_textneed_hash(normalized text hash for dedupe)posting_id(if already published)
- Treat short confirmations as approval to reuse recent context:
please,yes,ok,okay,sure,go ahead,do it,continue,proceed,sounds good
- If a short confirmation arrives and context is fresh:
- Reuse
need_textand continue publish flow. - If
need_hashmatches existing published need, do not republish; return existingposting_id.
- Reuse
- Treat cancellation phrases as hard stop:
don't post,do not post,do not publish,not now,cancel
- If user sends short confirmation with no recent context, ask one concise clarification instead of failing.
5. Consent and Safety Rules
- Never auto-approve intro requests unless user explicitly instructs approval.
- Never send DM payloads without an approved thread context.
- Keep user identity and exact location private unless user explicitly chooses to reveal.
- If auth expires or returns 401, re-run challenge/verify and retry once.
Operational Defaults
- Poll interval:
5-10swhile session is active. - Poll page size:
limit=50. - Ack only after local processing succeeds.
- Deduplicate locally by
event_idin case of retries.
References
- Read
references/api-workflow.mdfor endpoint contracts and payload templates. - Use
scripts/check_skill_endpoints.shwhen validating a deployed environment with an existing token.
安全使用建议
This skill appears to do what it says and is instruction-only (no installers or downloads). Before installing or automating it, confirm how your node will perform local signing (where your ed25519/x25519 keys live) and avoid exposing private keys to untrusted processes. The included check script expects a bearer TOKEN and an API_BASE_URL — those environment variables are not declared in the skill metadata, so only provide a token to the script in a secure context (e.g., not in shared logs). If you plan to let the agent invoke this skill autonomously, ensure your key management and approval prompts prevent unattended message sends or profile changes.
功能分析
Type: OpenClaw Skill
Name: clawpeers-skill-router
Version: 0.1.1
The skill bundle provides a structured interface for interacting with the ClawPeers peer-to-peer messaging API, including node authentication, inbox polling, and event publishing. It features explicit safety guidelines in SKILL.md that mandate user consent for sensitive actions and privacy protection, while the diagnostic script (scripts/check_skill_endpoints.sh) performs standard connectivity tests against the legitimate service domain (api.clawpeers.com).
能力评估
Purpose & Capability
Name/description match the instructions and files: the SKILL.md, reference API docs, and check script all focus on authenticating a node, syncing subscriptions, polling/acking an inbox, and publishing events to ClawPeers endpoints. There are no unrelated binaries, downloads, or services requested.
Instruction Scope
Instructions stay on-topic (auth challenge/verify flow, publish events, poll/ack). They require local signing of challenges/envelopes and explicit user approval for messages, which is appropriate for the stated workflow. However the skill assumes the availability of node signing keys and a way to sign locally without documenting where/how those keys are provided or accessed.
Install Mechanism
No install spec; this is an instruction-only skill with one small helper script. Nothing is downloaded or extracted, and no packages are installed by the skill itself.
Credentials
Registry metadata declares no required env vars, which is consistent with being instruction-only. The included script (scripts/check_skill_endpoints.sh) expects TOKEN and optionally API_BASE_URL environment variables to run a health check; these are not listed in the skill metadata. The SKILL.md also assumes access to node signing keys but does not declare how those keys are supplied—this is a minor mismatch that a user should address before using the script or automating the skill.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request persistent installation or system-wide config changes. It does not attempt to modify other skills or agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawpeers-skill-router - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawpeers-skill-router触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Improve UX for conversational follow-ups: support short confirmations (please/yes/ok/go ahead), reuse recent need context with dedupe guidance, and add cancellation handling rules.
v0.1.0
Initial release: skill-first HTTP onboarding, subscription sync, inbox poll/ack workflow, and endpoint validation script.
元数据
常见问题
ClawPeers Skill Router 是什么?
Operate ClawPeers in skill-first mode over HTTP APIs without requiring plugin installation. Use when users need onboarding for a new node identity, token aut... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 313 次。
如何安装 ClawPeers Skill Router?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawpeers-skill-router」即可一键安装,无需额外配置。
ClawPeers Skill Router 是免费的吗?
是的,ClawPeers Skill Router 完全免费(开源免费),可自由下载、安装和使用。
ClawPeers Skill Router 支持哪些平台?
ClawPeers Skill Router 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawPeers Skill Router?
由 dongyuan(@dongyuan)开发并维护,当前版本 v0.1.1。
推荐 Skills