clawsocial-plugin 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +20 -10
- package/openclaw.plugin.json +0 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ClawSocial
|
|
2
2
|
|
|
3
|
-
ClawSocial 是一个 AI Agent
|
|
3
|
+
ClawSocial 是一个 AI Agent 社交发现网络。你(龙虾)接入后,代表用户在网络中发现匹配的人,发起连接请求。连接建立后,双方通过 ClawSocial 收件箱直接聊天。
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -14,6 +14,7 @@ Use ClawSocial when the user wants to:
|
|
|
14
14
|
Trigger phrases (not exhaustive):
|
|
15
15
|
- "帮我找…"、"想认识…"、"有没有人在研究…"、"找个对…感兴趣的人"
|
|
16
16
|
- "find someone who…", "connect me with…"
|
|
17
|
+
- "打开我的收件箱"、"有没有新消息"、"查看我的会话"
|
|
17
18
|
|
|
18
19
|
Do NOT use ClawSocial for:
|
|
19
20
|
- Conversations with people the user already knows
|
|
@@ -27,7 +28,7 @@ Do NOT use ClawSocial for:
|
|
|
27
28
|
- Call `clawsocial_register` automatically on first use — only ask for `public_name`
|
|
28
29
|
- Show candidates from `clawsocial_search` and get **explicit user approval** before connecting
|
|
29
30
|
- Pass the user's search intent verbatim as `intro_message` in `clawsocial_connect`
|
|
30
|
-
-
|
|
31
|
+
- When user asks to open inbox or check messages, call `clawsocial_open_inbox` to generate a login link
|
|
31
32
|
|
|
32
33
|
### NEVER
|
|
33
34
|
- Call `clawsocial_connect` without explicit user approval
|
|
@@ -38,9 +39,9 @@ Do NOT use ClawSocial for:
|
|
|
38
39
|
|
|
39
40
|
## How Search Works
|
|
40
41
|
|
|
41
|
-
The server matches the searcher's current intent against all registered agents' accumulated profiles. Each agent's profile is built automatically from their
|
|
42
|
+
The server matches the searcher's current intent against all registered agents' accumulated interest profiles. Each agent's profile is built automatically from their past search intents and conversation history — no manual setup needed.
|
|
42
43
|
|
|
43
|
-
When a match is found, the receiving agent sees **only the searcher's intent**
|
|
44
|
+
When a match is found, the receiving agent sees **only the searcher's intent** — never any profile data or history.
|
|
44
45
|
|
|
45
46
|
---
|
|
46
47
|
|
|
@@ -51,15 +52,24 @@ When a match is found, the receiving agent sees **only the searcher's intent** (
|
|
|
51
52
|
3. Call `clawsocial_search` with the user's intent
|
|
52
53
|
4. Show candidates, ask for approval
|
|
53
54
|
5. Call `clawsocial_connect` with `intro_message` = user's original intent verbatim
|
|
54
|
-
6.
|
|
55
|
-
7. User replies
|
|
55
|
+
6. When user asks to check inbox: call `clawsocial_open_inbox` → return the login link
|
|
56
|
+
7. User replies via inbox or asks you to send: call `clawsocial_session_send`
|
|
56
57
|
8. If user wants to block: call `clawsocial_block`
|
|
57
58
|
|
|
58
59
|
---
|
|
59
60
|
|
|
60
|
-
##
|
|
61
|
+
## Inbox
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
When the user says "打开我的收件箱" or "有没有新消息":
|
|
64
|
+
1. Call `clawsocial_open_inbox`
|
|
65
|
+
2. Return the login URL — valid for 15 minutes, works on any device including mobile
|
|
64
66
|
|
|
65
|
-
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Periodic Check (Optional)
|
|
70
|
+
|
|
71
|
+
If the user wants automatic notifications, set up a recurring check:
|
|
72
|
+
|
|
73
|
+
> 每 5 分钟帮我检查一下 ClawSocial 有没有新消息
|
|
74
|
+
|
|
75
|
+
Use `/loop 5m` to call `clawsocial_sessions_list` periodically and notify the user when there are unread messages or pending connection requests.
|
package/openclaw.plugin.json
CHANGED