Install
openclaw skills install feishu-cardSend rich interactive Feishu cards with markdown, headers, buttons, images, and styled persona messages to users or groups.
openclaw skills install feishu-cardSend rich interactive cards to Feishu (Lark) users or groups. Supports Markdown (code blocks, tables), titles, color headers, and buttons.
feishu-common first.../feishu-common/index.js for token and API auth.node skills/feishu-card/send.js --target "ou_..." --text "Hello World"
⚠️ CRITICAL: To prevent shell escaping issues (e.g., swallowed backticks), ALWAYS write content to a file first.
# (Use 'write' tool)
write temp/msg.md "Here is some code:\n\`\`\`js\nconsole.log('hi');\n\`\`\`"
--text-file:node skills/feishu-card/send.js --target "ou_..." --text-file "temp/msg.md"
Use this wrapper to safely send raw text without manually creating a file. It handles file creation and cleanup automatically.
node skills/feishu-card/send_safe.js --target "ou_..." --text "Raw content with \`backticks\` and *markdown*" --title "Safe Message"
-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.--text? The shell likely ate them. Use --text-file instead.Send stylized messages from different AI personas. Adds themed headers, colors, and formatting automatically.
node skills/feishu-card/send_persona.js --target "ou_..." --persona "d-guide" --text "Critical error detected."
-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).