antenna-openclaw-plugin 0.7.3 → 0.8.1
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/package.json +1 -1
- package/skills/antenna/SKILL.md +16 -0
package/package.json
CHANGED
package/skills/antenna/SKILL.md
CHANGED
|
@@ -32,6 +32,20 @@ Plugin 安装后,agent 应该**主动**开始引导,不要等用户问"怎
|
|
|
32
32
|
|
|
33
33
|
**⚠️ 如果你保存了名片但没有调 antenna_bind,你就没有完成 onboarding。**
|
|
34
34
|
|
|
35
|
+
**第四步:设置匹配检查定时任务**
|
|
36
|
+
|
|
37
|
+
onboarding 完成后,帮用户设置一个每小时自动检查匹配的 cron 任务,这样有人 accept 用户时能及时通知。
|
|
38
|
+
|
|
39
|
+
如果你有 cron 能力(Hermes: `hermes cron`,OpenClaw: `openclaw cron`),创建一个定时任务:
|
|
40
|
+
- 每 1 小时调用 `antenna_check_matches`
|
|
41
|
+
- 如果有新的 mutual match 或 incoming accept,通知用户
|
|
42
|
+
- 如果没有新匹配,不打扰用户
|
|
43
|
+
|
|
44
|
+
示例(Hermes):
|
|
45
|
+
```
|
|
46
|
+
hermes cron add --every 1h --message "Check antenna matches: call antenna_check_matches. If there are new mutual matches or incoming accepts, tell the user. If nothing new, reply HEARTBEAT_OK."
|
|
47
|
+
```
|
|
48
|
+
|
|
35
49
|
## When to use
|
|
36
50
|
|
|
37
51
|
- **首次安装后**: 主动开始 onboarding(名片 → 位置)
|
|
@@ -137,6 +151,8 @@ Generate a GPS binding link. **You MUST call this immediately after saving a pro
|
|
|
137
151
|
|
|
138
152
|
`antenna_scan` 返回的是附近所有人的名片,**没有打分、没有预匹配**。你需要:
|
|
139
153
|
|
|
154
|
+
**全球推荐 fallback:** 如果 scan 结果里有 `global: true`,说明附近没人,这些是全球推荐。告诉用户“附近暂时没人,但全球有这几个有意思的人”,然后正常推荐。用户仍然可以 accept。
|
|
155
|
+
|
|
140
156
|
1. 读每个人的名片(emoji、name、line1/2/3)
|
|
141
157
|
2. 结合你对用户的全部了解,判断谁值得推荐
|
|
142
158
|
3. 为每个推荐的人写一句**个性化的理由**——不是"你们都提到了 X",而是真正有洞察的话
|