用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill feishu-group-mention-responder命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | feishu-group-mention-responder |
| description | 在飞书群中,当机器人被@提及或接收到直接消息时,自动进行回复。 |
此技能旨在使 Antigravity 能够在飞书群聊中对其被@提及的消息或直接发送给它的消息进行自动响应。这提高了机器人在群聊中的参与度和用户体验。
该技能将通过以下步骤实现:
@机器人ID 或 @机器人名称 的提及。message 工具将回复消息发送回原始群聊。飞书消息事件通常会包含以下信息(OpenClaw 可能会进行预处理):
{
"channel": "feishu",
"chat_type": "group", // "p2p" for direct messages
"chat_id": "oc_xxxxxx", // Group chat ID
"sender_id": "ou_xxxxxx", // Sender user ID
"sender_name": "用户昵称",
"message_id": "om_xxxxxx",
"content": "您好 @Bot名称,请问...",
"mentions": [ // If OpenClaw processes mentions
{
"user_id": "ou_bot_xxxxxx",
"user_name": "Bot名称"
}
]
}
在 _process_message 函数或其他适当的消息处理逻辑中,检查 message.mentions 数组或 message.content 是否包含对当前代理的提及。
发送回复的工具调用示例:
message({
action: "send",
channel: "feishu",
to: "oc_xxxxxx", // 原始群聊ID
message: "您好 @[ou_xxxxxx]!有什么可以帮您的吗?", // @提及原始发送者
# 如果 OpenClaw 提供了 reply_to_message_id,可以使用它来回复特定消息
# reply_to: "om_xxxxxx"
})
im:message:send_as_bot 和 im:chat:read 权限。