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
累計下載
4905
星標
4
全站排名
#1,896
全站前 38% · 「辦公效率」前 39%
平台累計安裝累計下載星標評論
ClawHub ↗15546883-
SkillHub ↗41749054—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

透過 feishu-common 認證支援 Markdown、標題、彩色頭部、按鈕和本地圖片。複雜程式碼或日誌使用檔案輸入,避免 shell 字元轉義損壞;傳送需明確獲授權的收件人與內容。

資料釋出於 2026-10-27

可以用來做什麼

  • 準備格式化通知或報告

什麼時候用

  • 使用者請求向指定目標傳送飛書卡片時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

準備帶標題和按鈕的 Markdown 卡片預覽,暫不傳送。

月度資料趨勢

累計下載4905
2273368751002026-03 · 累計下載 24682026-05 · 累計下載 38282026-06 · 累計下載 40262026-07 · 累計下載 44472026-08 · 累計下載 45592026-09 · 累計下載 490526-0326-09
星標4
3442026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 42026-08 · 星標 42026-09 · 星標 426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094905—4
2026-084559+2.5%4
2026-074447+10.5%4
2026-064026+5.2%3
2026-053828—3
2026-032468—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),按月更新。口徑說明見資料方法。