autogame-17

Feishu Card

办公效率v1.4.11
作者:autogame-17更新于 2026-05-19共 2 个版本 · 最新版本发布于 2026-02-15feishu-card@clawhub_autogame-17/feishu-card
文档处理流程自动化#Feishu

据 AlphaMoat 统计,截至 2026-09,Feishu Card 累计下载 4,905 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 1,896 位,在「办公效率」分类(435 个)中排名第 169 位。

累计安装
417
累计下载
4,905
星标
4
全站排名
#1,896
全站前 38% · 「办公效率」前 39%
平台累计安装累计下载星标评论
ClawHub ↗1554,6883-
SkillHub ↗4174,9054—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

通过 feishu-common 认证支持 Markdown、标题、彩色头部、按钮和本地图片。复杂代码或日志使用文件输入,避免 shell 字符转义损坏;发送需明确获授权的收件人与内容。

资料发布于 2026-10-27

可以用来做什么

  • 准备格式化通知或报告

什么时候用

  • 用户请求向指定目标发送飞书卡片时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

准备带标题和按钮的 Markdown 卡片预览,暂不发送。

月度数据趋势

累计下载4,905
2,2733,6875,1002026-03 · 累计下载 2,4682026-05 · 累计下载 3,8282026-06 · 累计下载 4,0262026-07 · 累计下载 4,4472026-08 · 累计下载 4,5592026-09 · 累计下载 4,90526-0326-09
星标4
3442026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 42026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,905—4
2026-084,559+2.5%4
2026-074,447+10.5%4
2026-064,026+5.2%3
2026-053,828—3
2026-032,468—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.5 KB · ClawHub v1.4.11
# Feishu Card Skill

Send rich interactive cards to Feishu (Lark) users or groups. Supports Markdown (code blocks, tables), titles, color headers, and buttons.

## Prerequisites

- Install `feishu-common` first.
- This skill depends on `../feishu-common/index.js` for token and API auth.

## Usage
展开全部(共 68 行)

### 1. Simple Text (No special characters)
```bash
node skills/feishu-card/send.js --target "ou_..." --text "Hello World"
```

### 2. Complex/Markdown Text (RECOMMENDED)
**⚠️ CRITICAL:** To prevent shell escaping issues (e.g., swallowed backticks), ALWAYS write content to a file first.

1. Write content to a temp file:
```bash
# (Use 'write' tool)
write temp/msg.md "Here is some code:\n\`\`\`js\nconsole.log('hi');\n\`\`\`"
```

2. Send using `--text-file`:
```bash
node skills/feishu-card/send.js --target "ou_..." --text-file "temp/msg.md"
```

### 3. Safe Send (Automated Temp File)
Use this wrapper to safely send raw text without manually creating a file. It handles file creation and cleanup automatically.

```bash
node skills/feishu-card/send_safe.js --target "ou_..." --text "Raw content with \`backticks\` and *markdown*" --title "Safe Message"
```

### Options
- `-t, --target <id>`: User Open ID (`ou_...`) or Group Chat ID (`oc_...`).
- `-x, --text <string>`: Simple text content.
- `-f, --text-file <path>`: Path to text file (Markdown supported). **Use this for code/logs.**
- `--title <string>`: Card header title.
- `--color <string>`: Header color (blue/red/orange/green/purple/grey). Default: blue.
- `--button-text <string>`: Text for a bottom action button.
- `--button-url <url>`: URL for the button.
- `--image-path <path>`: Path to a local image to upload and embed.

## Troubleshooting
- **Missing Text**: Did you use backticks in `--text`? The shell likely ate them. Use `--text-file` instead.

## 4. Persona Messaging
Send stylized messages from different AI personas. Adds themed headers, colors, and formatting automatically.

```bash
node skills/feishu-card/send_persona.js --target "ou_..." --persona "d-guide" --text "Critical error detected."
```

### Supported Personas
- **d-guide**: Red warning header, bold/code prefix. Snarky suffix.
- **green-tea**: Carmine header, soft/cutesy style.
- **mad-dog**: Grey header, raw runtime error style.
- **default**: Standard blue header.

### Usage
- `-p, --persona <type>`: Select persona (d-guide, green-tea, mad-dog).
- `-x, --text <string>`: Message content.
- `-f, --text-file <path>`: Message content from file (supports markdown).

「办公效率」分类下的热门技能

autogame-17 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。