feishu-card
Feishu Card Skill
Send rich interactive cards via Feishu Open API.
⚠️ CRITICAL FORMATTING RULES (READ BEFORE USING)
- Escape Newlines: If using
--textvia CLI, you MUST escape newlines as\\n.- ❌ Wrong:
--text "Line 1\nLine 2"(Shell eats the backslash) - ✅ Right:
--text "Line 1\\nLine 2"
- ❌ Wrong:
- Prefer File Input: For any content longer than one line, ALWAYS use
--text-file.- ✅ Best:
echo "Line 1\nLine 2" > msg.md && node send.js ... --text-file msg.md - This avoids ALL shell escaping issues.
- ✅ Best:
- Markdown Support: Supports Bold, Italic, Links.
- ⚠️ Code Blocks: Support is limited. Use single backticks `code` for safety.
Usage
# Via argument (Simple)
node skills/feishu-card/send.js --target "ou_..." --text "Hello **World**"
# Via file (Recommended for Reports/Long Text)
cat <<EOF > msg.md
**Status**: Ready
**Details**:
- Item 1
- Item 2
EOF
node skills/feishu-card/send.js --target "ou_..." --title "Report" --text-file msg.md
rm msg.md
Options
-t, --target: User Open ID (ou_...) or Group Chat ID (oc_...).-x, --text: Markdown content.-f, --text-file: Read markdown from file.--title: Card header title.--color: Header color (blue, red, green, etc.).--button-text: Add a bottom button.--button-url: Button URL.
More from ypyt1/all-skills
plan
For easy problems, start here. For harder problems, do this after Explore.
3exa
Neural web search and code context via Exa AI API. Requires EXA_API_KEY. Use for finding documentation, code examples, research papers, or company info.
3sonoscli
Control Sonos speakers (discover/status/play/volume/group).
3create-pr
|
3webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
3firecrawl
Web search and scraping via Firecrawl API. Use when you need to search the web, scrape websites (including JS-heavy pages), crawl entire sites, or extract structured data from web pages. Requires FIRECRAWL_API_KEY environment variable.
3