Borrowing it
Nothing to install: this file belongs to XiaomingX/moltbot-connector-feishu-dingtalk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/XiaomingX/moltbot-connector-feishu-dingtalk/main/.gemini/skills/feishu-connection/SKILL.mdgit clone --depth 1 https://github.com/XiaomingX/moltbot-connector-feishu-dingtalkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xiaomingx/moltbot-connector-feishu-dingtalk/feishu-connection)<a href="https://agentmods.dev/skills/xiaomingx/moltbot-connector-feishu-dingtalk/feishu-connection"><img src="https://agentmods.dev/badge/skills/xiaomingx/moltbot-connector-feishu-dingtalk/feishu-connection/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xiaomingx/moltbot-connector-feishu-dingtalk/feishu-connection"><img src="https://agentmods.dev/badge/skills/xiaomingx/moltbot-connector-feishu-dingtalk/feishu-connection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00097 | $0.00722 |
| Opus 5.5 | $0.00039 | $0.00289 |
| Sonnet 5.5 | $0.00019 | $0.00144 |
| Haiku 4.5 | $0.00010 | $0.00072 |
Grade B, and why
feishu-connection scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 600 ~/.clawdbot/secrets/feishu_app_secret How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feishu Bridge
Bridge Feishu bot messages to Clawdbot Gateway over local WebSocket.
Architecture
Feishu user → Feishu cloud ←WS→ bridge.py (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>)
Setup
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-connection
uv sync
FEISHU_APP_ID=cli_xxx uv run python bridge.py
4. Auto-start (macOS)
FEISHU_APP_ID=cli_xxx uv run python setup_service.py
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.py → should_respond_in_group().
Environment variables
| Variable | Required | Default |
|---|---|---|
FEISHU_APP_ID |
✅ | — |
FEISHU_APP_SECRET_PATH |
— | ~/.clawdbot/secrets/feishu_app_secret |
CLAWDBOT_CONFIG_PATH |
— | ~/.clawdbot/clawdbot.json |
CLAWDBOT_AGENT_ID |
— | main |
FEISHU_THINKING_THRESHOLD_MS |
— | 2500 |
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 79 lines · 97 tokens per session scan B 0440d98888a2
feishu-connection is a skill published in the GitHub repository XiaomingX/moltbot-connector-feishu-dingtalk (7 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 97 tokens to every session and 722 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
feishu-connection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feishu-connectionXiaomingX/moltbot-connector-feishu-dingtalk | Skill | 7 | 9mo ago | Apache-2.0 | B | 97 | Gemini CLI |
| news-searchelvisun/newsjack | Skill | 1.7k | yesterday | MIT | A | 69 | Claude Code |
| recipe-fullstack-implementshinpr/claude-code-workflows | Skill | 711 | 4d ago | MIT | A | 17 | Claude Code |
| notionArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 23 | Claude Code |
| agent-readiness-auditmohitagw15856/pm-claude-skills | Skill | 1.5k | yesterday | MIT | A | 117 | Claude Code |
| mcp-server-specmohitagw15856/pm-claude-skills | Skill | 1.5k | yesterday | MIT | A | 101 | Claude Code |
| output-error-direct-iogrowthxai/output | Skill | 444 | 4d ago | Apache-2.0 | A | 45 | Claude Code |