Token导航 LogoToken导航

Agent Skill · 开发

feishu-proactive-messenger(飞书主动使者)

feishu-proactive-messenger 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

feishu-proactive-messenger 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 2,914。

总安装 13,736周安装 584GitHub Stars 1下载 4,812核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feishu-proactive-messenger(飞书主动使者)
来源仓库:https://github.com/ziwenwang28/feishu-proactive-messenger
安装命令:
openclaw skills install feishu-proactive-messenger
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install feishu-proactive-messenger

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

主动向指定用户发送飞书即时消息。feishu-proactive-messenger 属于开发类 Skill,可作为该场景下的辅助能力补充。弥补被动回复模式下无法发起对话的局限。基于 OpenAPI 实现跨会话的消息投递能力。需申请相应权限并遵守飞书消息规范。建议控制发送频率避免被判定为骚扰行为。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install feishu-proactive-messenger;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

feishu-proactive-messenger 怎么安装?

在终端执行 openclaw skills install feishu-proactive-messenger。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

feishu-proactive-messenger 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

feishu-proactive-messenger 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

feishu-proactive-messenger 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

feishu-proactive-messenger 用的人多吗?

公开数据是累计安装 13,736 次,近一周安装 584 次,下载 4,812 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

feishu-proactive-messenger 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
feishu-proactive-messenger

飞书主动使者 · 本页

13,7361接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
feishu-proactive-messenger
description
飞书主动消息发送器 — 飞书渠道只支持被动回复,agent 无法主动发起对话。本 skill 调用飞书 OpenAPI 发送文本消息,补齐主动投递能力。| Feishu Proactive Messenger — Send text messages proactively via Feishu OpenAPI, filling the channel's missing outbound messaging.
license
MIT
compatibility
openclaw
metadata
version
1.0.1
tags
[feishu, message, proactive, outbound, openapi, messaging]
author
wen-ai
openclaw
emoji
📨
requires
bins
[python3]
config

Feishu Proactive Messenger | 飞书主动消息发送器

飞书渠道只支持被动回复——用户先发消息,agent 才能回复。当 agent 需要主动发起对话(如 Agent A 派任务给 Agent B,Agent B 需要在自己的飞书窗口回复用户),飞书渠道没有这个能力。本 skill 通过直接调用飞书 OpenAPI 发送文本消息,补齐主动投递能力。

The Feishu channel only supports passive replies — the user must send a message first before the agent can respond. When an agent needs to proactively initiate a conversation (e.g. Agent A dispatches a task to Agent B, and Agent B needs to reply in its own Feishu chat window), the channel lacks this capability. This skill fills that gap by calling Feishu OpenAPI to send text messages directly.

快速开始 | Quick Start

python3 scripts/feishu_proactive_messenger.py --agent <agent_id> --text "Mission accomplished"

--agent 指定当前 agent 的 id(如 coder、data、life),脚本会自动读取对应的飞书凭证和 defaultTo 目标用户。若省略 --agent,则通过 cwd 自动匹配。

--agent specifies the current agent's id (e.g. coder, data, life). The script reads the corresponding Feishu credentials and defaultTo target automatically. If --agent is omitted, the script resolves the agent by matching cwd.

使用方法 | Usage

python3 scripts/feishu_proactive_messenger.py \
  --agent <agent_id> \
  --text "要发送的消息内容" \
  --receive-id <chat_id|open_id> \
  --receive-id-type <chat_id|open_id|user_id>

参数说明 | Arguments

  • --agent(推荐):agent id(如 coder、data、main)。用于确定使用哪个飞书应用的凭证。若省略,通过 cwd 自动匹配(在被派发任务场景下可能不准确,建议显式指定)。
  • --text(必填):要发送的消息文本。
  • --receive-id(可选):目标 chat_id 或 open_id。若省略,依次从环境变量

OPENCLAW_CHAT_ID / OPENCLAW_RECEIVE_ID / FEISHU_CHAT_ID 或 account 的 defaultTo 配置中读取。

  • --receive-id-type(可选):若省略,根据前缀自动识别:

- oc_ → chat_id - ou_ → open_id - on_ → user_id

  • --agent (recommended): Agent id (e.g. coder, data, main). Determines which Feishu app credentials to use. If omitted, resolves by matching cwd (may be inaccurate in dispatched-task scenarios; explicit is recommended).
  • --text (required): The message text to send.
  • --receive-id (optional): Target chat_id or open_id. If omitted, reads from

env OPENCLAW_CHAT_ID / OPENCLAW_RECEIVE_ID / FEISHU_CHAT_ID, or from the account's defaultTo config.

  • --receive-id-type (optional): If omitted, auto-detect by prefix:

- oc_ → chat_id - ou_ → open_id - on_ → user_id

工作原理 | How It Works

  1. 通过 --agent 参数或 cwd 匹配确定当前 agent id。
  2. 根据 agent id 从 ~/.openclaw/openclaw.json 读取对应 account 的 appId/appSecret。
  3. 从同一 account 的 defaultTo 读取默认目标用户(如未通过参数指定)。
  4. 获取 tenant access token。
  5. 通过飞书 bot/v3/info API 获取 bot 显示名称。
  6. 调用飞书 发送消息 API(im/v1/messages)发送文本消息。
  7. 输出简洁结果:✅ [Bot名称] 消息已发送。
  1. Determine agent id via --agent parameter or by matching cwd.
  2. Read appId/appSecret from ~/.openclaw/openclaw.json based on the agent id.
  3. Read the default target user from the same account's defaultTo (if not specified via args).
  4. Obtain a tenant access token.
  5. Retrieve the bot's display name via Feishu bot/v3/info API.
  6. Call Feishu Send Message API (im/v1/messages) to deliver the text message.
  7. Output clean result: ✅ [BotName] 消息已发送.

前置配置 | Prerequisites

每个飞书 account 需要配置 defaultTo,指向目标用户的 open_id:

Each Feishu account needs a defaultTo pointing to the target user's open_id:

openclaw config set channels.feishu.accounts.<account>.defaultTo "user:ou_xxx"

注意:飞书的 open_id 是按应用隔离的,同一个用户在不同 bot 下有不同的 open_id。

Note: Feishu open_id is app-scoped — the same user has different open_ids under different bots.

错误处理 | Error Handling

  • 缺少凭证 → 确保 channels.feishu.accounts 存在于

~/.openclaw/openclaw.json,且 bindings 映射 agentId → accountId。

  • 机器人不在聊天中(230002) → 用户需要先跟该 bot 发起过对话。
  • 缺少 receive_id → 传入 --receive-id,设置 OPENCLAW_CHAT_ID,

或配置 defaultTo。

  • HTTP 错误 → 查看飞书错误返回中的 log_id 进行排查。
  • Missing credentials → Ensure channels.feishu.accounts exists in

~/.openclaw/openclaw.json and bindings map agentId → accountId.

  • Bot not in chat (code 230002) → The user must have initiated a chat with

the bot at least once.

  • Missing receive_id → Pass --receive-id, set OPENCLAW_CHAT_ID,

or configure defaultTo.

  • HTTP errors → Check the returned log_id in Feishu error payload.

安全说明 | Security

本技能从 ~/.openclaw/openclaw.json 读取飞书凭证:

  • channels.feishu.accounts.*.appId
  • channels.feishu.accounts.*.appSecret

凭证仅用于获取 tenant access token 并发送消息。技能不会存储或向其他地方传输凭证。

This skill reads Feishu credentials from ~/.openclaw/openclaw.json:

  • channels.feishu.accounts.*.appId
  • channels.feishu.accounts.*.appSecret

These values are used only to obtain a tenant access token and send the message. The skill does not store or transmit credentials anywhere else.

备注 | Notes

  • 本技能面向 所有 agent 设计,通过 --agent 参数或工作区匹配选择正确的飞书应用凭证。
  • 配合 defaultTo 使用时,agent 无需知道任何 ID 即可主动发消息。
  • 与 feishu-file-sender 互补:一个发文件,一个发文本。
  • Designed for all agents; uses --agent parameter or workspace matching to choose credentials.
  • When used with defaultTo, agents can send messages without knowing any IDs.
  • Complements feishu-file-sender: one sends files, the other sends text.

随附脚本 | Bundled Script

  • scripts/feishu_proactive_messenger.py

更新日志 | Changelog

1.0.1

  • 新增 --agent 参数,显式指定 agent 身份(解决被派发任务时 cwd 匹配不准确的问题)
  • 新增通过飞书 bot/v3/info API 获取 bot 显示名称
  • 输出简化为 ✅ [Bot名称] 消息已发送,不再暴露 open_id 等敏感信息
  • resolve_agent_id 支持 agents.defaults.workspace 作为 fallback

1.0.0

  • 初始版本

平台分布

OpenClaw

96.69%
按下载量换算4,653

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills