# Send Feishu Bridge 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "feishu-bridge",
    "name": "Feishu Bridge",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/AlexAnys/feishu-bridge",
    "canonicalUrl": "https://clawhub.ai/AlexAnys/feishu-bridge",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/feishu-bridge",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-bridge",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "bridge.mjs",
      "package.json",
      "setup-service.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "feishu-bridge",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T02:00:01.653Z",
      "expiresAt": "2026-05-07T02:00:01.653Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-bridge",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-bridge",
        "contentDisposition": "attachment; filename=\"feishu-bridge-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "feishu-bridge"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/feishu-bridge"
    },
    "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-bridge",
    "downloadUrl": "https://openagent3.xyz/downloads/feishu-bridge",
    "agentUrl": "https://openagent3.xyz/skills/feishu-bridge/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-bridge/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-bridge/agent.md"
  }
}
```
## Documentation

### Feishu Bridge

Bridge Feishu bot messages to Clawdbot Gateway over local WebSocket.

### Architecture

Feishu user → Feishu cloud ←WS→ bridge.mjs (local) ←WS→ Clawdbot Gateway → AI agent

Feishu SDK connects outbound (no inbound port / public IP needed)
Bridge authenticates to Gateway using the existing gateway token
Each Feishu chat maps to a Clawdbot session (feishu:<chatId>)

### 1. Create Feishu bot

Go to open.feishu.cn/app → Create self-built app → Add Bot capability
Enable permissions: im:message, im:message.group_at_msg, im:message.p2p_msg
Events: add im.message.receive_v1, set delivery to WebSocket long-connection
Publish the app (create version → request approval)
Note the App ID and App Secret

### 2. Store secret

mkdir -p ~/.clawdbot/secrets
echo "YOUR_APP_SECRET" > ~/.clawdbot/secrets/feishu_app_secret
chmod 600 ~/.clawdbot/secrets/feishu_app_secret

### 3. Install & run

cd <skill-dir>/feishu-bridge
npm install
FEISHU_APP_ID=cli_xxx node bridge.mjs

### 4. Auto-start (macOS)

FEISHU_APP_ID=cli_xxx node setup-service.mjs
launchctl load ~/Library/LaunchAgents/com.clawdbot.feishu-bridge.plist

### Diagnostics

# Check service
launchctl list | grep feishu

# Logs
tail -f ~/.clawdbot/logs/feishu-bridge.err.log

# Stop
launchctl unload ~/Library/LaunchAgents/com.clawdbot.feishu-bridge.plist

### Group chat behavior

Bridge replies only when: user @-mentions the bot, message ends with ?/？, contains request verbs (帮/请/分析/总结…), or calls the bot by name. Customize the name list in bridge.mjs → shouldRespondInGroup().

### Environment variables

VariableRequiredDefaultFEISHU_APP_ID✅—FEISHU_APP_SECRET_PATH—~/.clawdbot/secrets/feishu_app_secretCLAWDBOT_CONFIG_PATH—~/.clawdbot/clawdbot.jsonCLAWDBOT_AGENT_ID—mainFEISHU_THINKING_THRESHOLD_MS—2500
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: AlexAnys
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T02:00:01.653Z
- Expires at: 2026-05-07T02:00:01.653Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/feishu-bridge)
- [Send to Agent page](https://openagent3.xyz/skills/feishu-bridge/agent)
- [JSON manifest](https://openagent3.xyz/skills/feishu-bridge/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/feishu-bridge/agent.md)
- [Download page](https://openagent3.xyz/downloads/feishu-bridge)