Feishu Card — Feishu 卡片
v1.4.11使用markdown、标题、按钮、图像和样式化的persona消息,向用户或群组发送富交互的Feishu卡片。
3· 3.5k·0 当前·0 累计
下载技能包
License
MIT-0
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install feishu-card
镜像加速npx clawhub@latest install feishu-card --registry https://cn.longxiaskill.com 镜像可用
技能文档
Feishu Card 技能 向 Feishu(Lark)用户或群组发送富交互式卡片。支持 Markdown(代码块、表格)、标题、颜色标题和按钮。 前置条件 先安装 feishu-common。此技能依赖于 ../feishu-common/index.js 进行 token 和 API 身份验证。 使用方法
- 简单文本(无特殊字符)
- 复杂/Markdown 文本(推荐)
\\js\nconsole.log('hi');\n\\\"
使用 --text-file 发送:
node skills/feishu-card/send.js --target "ou_..." --text-file "temp/msg.md"
- 安全发送(自动临时文件)
反引号\ 和 markdown" --title "安全消息"
选项
-t, --target :用户 Open ID(ou_...)或群聊 ID(oc_...)。
-x, --text :简单文本内容。
-f, --text-file :文本文件路径(支持 Markdown)。用于代码/日志。
--title :卡片标题。
--color :标题颜色(blue/red/orange/green/purple/grey)。默认:blue。
--button-text :底部操作按钮文本。
--button-url :按钮 URL。
--image-path :本地图像路径,用于上传和嵌入。
故障排除
缺失文本:是否在 --text 中使用了反引号?shell 可能已经吃掉了它们。请使用 --text-file 代替。
- 人物消息