{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/feishu-card",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-card",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "TROUBLESHOOTING.md",
      "handle_event.js",
      "index.js",
      "package-lock.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/feishu-card",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Feishu Card Skill",
        "body": "Send rich interactive cards to Feishu (Lark) users or groups. Supports Markdown (code blocks, tables), titles, color headers, and buttons."
      },
      {
        "title": "Prerequisites",
        "body": "Install feishu-common first.\nThis skill depends on ../feishu-common/index.js for token and API auth."
      },
      {
        "title": "1. Simple Text (No special characters)",
        "body": "node skills/feishu-card/send.js --target \"ou_...\" --text \"Hello World\""
      },
      {
        "title": "2. Complex/Markdown Text (RECOMMENDED)",
        "body": "⚠️ CRITICAL: To prevent shell escaping issues (e.g., swallowed backticks), ALWAYS write content to a file first.\n\nWrite content to a temp file:\n\n# (Use 'write' tool)\nwrite temp/msg.md \"Here is some code:\\n\\`\\`\\`js\\nconsole.log('hi');\\n\\`\\`\\`\"\n\nSend using --text-file:\n\nnode skills/feishu-card/send.js --target \"ou_...\" --text-file \"temp/msg.md\""
      },
      {
        "title": "3. Safe Send (Automated Temp File)",
        "body": "Use this wrapper to safely send raw text without manually creating a file. It handles file creation and cleanup automatically.\n\nnode skills/feishu-card/send_safe.js --target \"ou_...\" --text \"Raw content with \\`backticks\\` and *markdown*\" --title \"Safe Message\""
      },
      {
        "title": "Options",
        "body": "-t, --target <id>: User Open ID (ou_...) or Group Chat ID (oc_...).\n-x, --text <string>: Simple text content.\n-f, --text-file <path>: Path to text file (Markdown supported). Use this for code/logs.\n--title <string>: Card header title.\n--color <string>: Header color (blue/red/orange/green/purple/grey). Default: blue.\n--button-text <string>: Text for a bottom action button.\n--button-url <url>: URL for the button.\n--image-path <path>: Path to a local image to upload and embed."
      },
      {
        "title": "Troubleshooting",
        "body": "Missing Text: Did you use backticks in --text? The shell likely ate them. Use --text-file instead."
      },
      {
        "title": "4. Persona Messaging",
        "body": "Send stylized messages from different AI personas. Adds themed headers, colors, and formatting automatically.\n\nnode skills/feishu-card/send_persona.js --target \"ou_...\" --persona \"d-guide\" --text \"Critical error detected.\""
      },
      {
        "title": "Supported Personas",
        "body": "d-guide: Red warning header, bold/code prefix. Snarky suffix.\ngreen-tea: Carmine header, soft/cutesy style.\nmad-dog: Grey header, raw runtime error style.\ndefault: Standard blue header."
      },
      {
        "title": "Usage",
        "body": "-p, --persona <type>: Select persona (d-guide, green-tea, mad-dog).\n-x, --text <string>: Message content.\n-f, --text-file <path>: Message content from file (supports markdown)."
      }
    ],
    "body": "Feishu Card Skill\n\nSend rich interactive cards to Feishu (Lark) users or groups. Supports Markdown (code blocks, tables), titles, color headers, and buttons.\n\nPrerequisites\nInstall feishu-common first.\nThis skill depends on ../feishu-common/index.js for token and API auth.\nUsage\n1. Simple Text (No special characters)\nnode skills/feishu-card/send.js --target \"ou_...\" --text \"Hello World\"\n\n2. Complex/Markdown Text (RECOMMENDED)\n\n⚠️ CRITICAL: To prevent shell escaping issues (e.g., swallowed backticks), ALWAYS write content to a file first.\n\nWrite content to a temp file:\n# (Use 'write' tool)\nwrite temp/msg.md \"Here is some code:\\n\\`\\`\\`js\\nconsole.log('hi');\\n\\`\\`\\`\"\n\nSend using --text-file:\nnode skills/feishu-card/send.js --target \"ou_...\" --text-file \"temp/msg.md\"\n\n3. Safe Send (Automated Temp File)\n\nUse this wrapper to safely send raw text without manually creating a file. It handles file creation and cleanup automatically.\n\nnode skills/feishu-card/send_safe.js --target \"ou_...\" --text \"Raw content with \\`backticks\\` and *markdown*\" --title \"Safe Message\"\n\nOptions\n-t, --target <id>: User Open ID (ou_...) or Group Chat ID (oc_...).\n-x, --text <string>: Simple text content.\n-f, --text-file <path>: Path to text file (Markdown supported). Use this for code/logs.\n--title <string>: Card header title.\n--color <string>: Header color (blue/red/orange/green/purple/grey). Default: blue.\n--button-text <string>: Text for a bottom action button.\n--button-url <url>: URL for the button.\n--image-path <path>: Path to a local image to upload and embed.\nTroubleshooting\nMissing Text: Did you use backticks in --text? The shell likely ate them. Use --text-file instead.\n4. Persona Messaging\n\nSend stylized messages from different AI personas. Adds themed headers, colors, and formatting automatically.\n\nnode skills/feishu-card/send_persona.js --target \"ou_...\" --persona \"d-guide\" --text \"Critical error detected.\"\n\nSupported Personas\nd-guide: Red warning header, bold/code prefix. Snarky suffix.\ngreen-tea: Carmine header, soft/cutesy style.\nmad-dog: Grey header, raw runtime error style.\ndefault: Standard blue header.\nUsage\n-p, --persona <type>: Select persona (d-guide, green-tea, mad-dog).\n-x, --text <string>: Message content.\n-f, --text-file <path>: Message content from file (supports markdown)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/autogame-17/feishu-card",
    "publisherUrl": "https://clawhub.ai/autogame-17/feishu-card",
    "owner": "autogame-17",
    "version": "1.4.11",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}