# Send Feishu Group Mention Responder to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "feishu-group-mention-responder",
    "name": "Feishu Group Mention Responder",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Lorpha/feishu-group-mention-responder",
    "canonicalUrl": "https://clawhub.ai/Lorpha/feishu-group-mention-responder",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/feishu-group-mention-responder",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-group-mention-responder",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/feishu-group-mention-responder"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/feishu-group-mention-responder",
    "downloadUrl": "https://openagent3.xyz/downloads/feishu-group-mention-responder",
    "agentUrl": "https://openagent3.xyz/skills/feishu-group-mention-responder/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-group-mention-responder/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-group-mention-responder/agent.md"
  }
}
```
## Documentation

### 概述

此技能旨在使 Antigravity 能够在飞书群聊中对其被@提及的消息或直接发送给它的消息进行自动响应。这提高了机器人在群聊中的参与度和用户体验。

### 何时使用

当用户希望 Antigravity 在飞书群聊中对@提及做出回应时。
当用户需要 Antigravity 能够识别其在群聊中的身份并进行交互时。

### 核心原则

识别提及： 代理必须能够从传入的飞书消息中准确识别出对其自身的@提及。
上下文感知： 虽然初始回复可以是通用的，但未来可以扩展为根据消息内容提供更具体的帮助。
不重复回复： 避免对非提及消息或已被处理的消息进行重复回复。

### 技能实现细节

该技能将通过以下步骤实现：

消息监听： OpenClaw 框架将负责监听飞书群聊中的消息。
提及检测： 在接收到的消息内容中，通过解析或预处理机制检测是否存在 @机器人ID 或 @机器人名称 的提及。
提取发送者信息： 获取@提及消息的发送者 ID 和昵称，以便在回复中@回该用户。
构建回复： 生成一个包含适当问候语和可能的问题（例如：“您好！有什么我可以帮您的吗？”）的中文回复。回复中将@回原发送者。
发送回复： 使用 message 工具将回复消息发送回原始群聊。

### 预期消息结构 (OpenClaw -> Agent)

飞书消息事件通常会包含以下信息（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 权限。
机器人 ID / 名称识别： 代理需要知道它在飞书系统中的唯一标识符（Bot ID 或 App ID）或其配置的名称，以便准确识别提及。
循环回复： 避免在回复中无意中再次触发提及，导致无限循环。
群聊 ID 获取： 确保能正确获取到发送消息的群聊 ID。
提及格式： 飞书的@提及格式可能因 API 版本和消息类型而异，需要适配。
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Lorpha
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/feishu-group-mention-responder)
- [Send to Agent page](https://openagent3.xyz/skills/feishu-group-mention-responder/agent)
- [JSON manifest](https://openagent3.xyz/skills/feishu-group-mention-responder/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/feishu-group-mention-responder/agent.md)
- [Download page](https://openagent3.xyz/downloads/feishu-group-mention-responder)