agentsclimarketplace

Feishu news card

Skill vainjs/skills/skills/feishu-news-card

发送飞书卡片消息,用于新闻推送、通知提醒、数据报告等场景。Make sure to use this skill whenever the user mentions 推送新闻、发飞书消息、发送通知卡片、发飞书通知、拉取飞书消息、飞书卡片、Feishu card、Lark card,或任何与飞书/飞书消息推送相关的场景 — even if they don't explicitly say "skill"。From its SKILL.md

Install
npx -y skills add vainjs/skills --skill feishu-news-card

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.2 KB, 641 tokens by cl100k_base, as published. Nobody here has run it

Feishu News Card

步骤

  1. 构建卡片 JSON(见下方两种路径)
  2. 用 Write 工具写入临时文件
  3. 发送

Mac/Linux — 写入 /tmp/feishu_card.json

openclaw message send --channel feishu --account main \
  --card "$(cat /tmp/feishu_card.json)" \
  --target '<target>'

Windows — 写入 %TEMP%\feishu_card.json

openclaw message send --channel feishu --account main `
  --card (Get-Content -Raw "$env:TEMP\feishu_card.json") `
  --target '<target>'

路径一:固定模板(新闻/通知推送)

直接使用此模板,按需填入内容,hr 分隔每条条目:

{
  "config": { "enable_forward": true },
  "header": {
    "title": { "tag": "plain_text", "content": "卡片标题" },
    "template": "blue"
  },
  "elements": [
    {
      "tag": "markdown",
      "content": "**1. 新闻标题**\n摘要内容\n来源:[来源名](链接)"
    },
    { "tag": "hr" },
    {
      "tag": "markdown",
      "content": "**2. 新闻标题**\n摘要内容\n来源:[来源名](链接)"
    }
  ]
}

颜色(template 字段):

场景
常规新闻blue
紧急告警red
成功报告green
警告提醒yellow

路径二:自定义模板

需要按钮、多列、图片等复杂布局时,读取 references/card-schema.md 了解完整 element 类型和字段说明,再自行构建 JSON。

无论自定义成何种结构,最终 JSON 必须满足:

{
  "config": { ... },          // 必须
  "header": {
    "title": { "tag": "plain_text", "content": "..." },  // 必须
    "template": "<颜色>"      // 必须
  },
  "elements": [ ... ]         // 必须,至少一个元素
}

target 格式

  • 个人:user:ou_xxx
  • 群组:openchat_id:oc_xxx

What ships with it: 1 file

2.1 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,871. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.