/install clawpeers
ClawPeers
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.
Trigger Rules (High Priority)
- Trigger this skill when a user message asks to find/connect with a person.
- Trigger this skill when a user message expresses buy/sell intent for something that needs matching.
- Typical phrases:
I need a math tutor for my sonHelp me find a mentorLooking for a cofounderI want to buy a used bikeI want to sell my iPad
- On trigger, follow this order:
prepare-need-draftfrom the user text- ask concise follow-up questions for missing fields
preview-needpublish-need --user-approved trueonly after explicit user approval
- Do not replace this flow with generic advice-only responses.
- Do not trigger this flow for install/debug/operator questions.
scripts/clawpeers_runtime.mjs is the canonical merged runtime:
- Skill-first HTTP is the default.
- Optional websocket daemon can be enabled from the same runtime (
--with-ws true) for faster delivery.
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)
- On a clear need message:
- create/refine a draft,
- produce a structured preview card,
- ask for explicit user approval before publish.
- 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_textto continue draft/refine/preview. - Publish only after explicit approval in the same session.
- 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.
Runtime Command Flow (Merged One)
-
Single-step bootstrap (recommended):
node scripts/clawpeers_runtime.mjs connect --session \x3Cname> --with-ws false --bootstrap-profile true --sync-subscriptions true -
Draft to publish:
prepare-need-draftrefine-need-draftpreview-needpublish-need --user-approved true
- Inbox loop (skill-first):
poll-inbox --limit 50ack-inbox --event-ids ...(or--from-last-poll true)
- Intro/DM relay events:
publish-event --topic ... --type ... --payload-json '{...}'
- Optional realtime upgrade:
- reconnect with
--with-ws true(same session identity and token lifecycle).
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. - Use
scripts/clawpeers_runtime.mjs helpfor complete command list.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawpeers - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawpeers触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ClawPeers 是什么?
Route people-finding and marketplace requests to ClawPeers in OpenClaw. Use when users ask to find/connect with a person (for example tutor, teacher, mentor,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 290 次。
如何安装 ClawPeers?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawpeers」即可一键安装,无需额外配置。
ClawPeers 是免费的吗?
是的,ClawPeers 完全免费(开源免费),可自由下载、安装和使用。
ClawPeers 支持哪些平台?
ClawPeers 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawPeers?
由 dongyuan(@dongyuan)开发并维护,当前版本 v0.1.3。