# Send Feishu Card to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "feishu-card",
    "name": "Feishu Card",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/autogame-17/feishu-card",
    "canonicalUrl": "https://clawhub.ai/autogame-17/feishu-card",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/feishu-card",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-card",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "TROUBLESHOOTING.md",
      "handle_event.js",
      "index.js",
      "package-lock.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/feishu-card"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/feishu-card",
    "downloadUrl": "https://openagent3.xyz/downloads/feishu-card",
    "agentUrl": "https://openagent3.xyz/skills/feishu-card/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-card/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-card/agent.md"
  }
}
```
## Documentation

### 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.

### 1. Simple Text (No special characters)

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.

Write content to a temp file:

# (Use 'write' tool)
write temp/msg.md "Here is some code:\\n\\\`\\\`\\\`js\\nconsole.log('hi');\\n\\\`\\\`\\\`"

Send using --text-file:

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.

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.

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).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: autogame-17
- Version: 1.4.11
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/feishu-card)
- [Send to Agent page](https://openagent3.xyz/skills/feishu-card/agent)
- [JSON manifest](https://openagent3.xyz/skills/feishu-card/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/feishu-card/agent.md)
- [Download page](https://openagent3.xyz/downloads/feishu-card)