Feishu Card Display
Use this skill when another tool returns:
- - INLINECODE0
- INLINECODE1
- Feishu
card payloads
This skill has no Python tools. It only tells the agent how to use the
existing OpenClaw message tool correctly.
Core Rule
If upstream output says displaySkill: "feishu-card-display", you MUST:
- 1. Execute each returned
messageToolCalls item in order - Use the OpenClaw
message tool for every send - Preserve the payload exactly as returned
- After all sends finish, reply with
NO_REPLY
Do not:
- - merge multiple product cards into one assistant bubble
- rewrite the text payload
- summarize what the cards contain
- explain the payload structure to the user
Feishu Sending Rules
Card payload
When a call contains:
CODEBLOCK0
send it with the message tool as a Feishu card send. Keep the card object unchanged.
Text payload
When a call contains:
CODEBLOCK1
send the text exactly as provided.
Media payload
When a call contains:
CODEBLOCK2
send the file as media using the message tool, then continue with later calls.
Image Key Notes
If upstream payload already contains Feishu-ready card payloads or image keys, use them as-is.
If upstream payload only contains preview links, keep the preview links as-is.
This skill does not invent image keys and does not rewrite card media.
Final Reply
After all upstream messageToolCalls are executed, the assistant must reply with:
CODEBLOCK3
Version Marker: feishu-card-display@1.0.0
飞书卡片展示
当其他工具返回以下内容时使用此技能:
- - displaySkill: feishu-card-display
- messageToolCalls
- 飞书 card 负载
此技能没有 Python 工具。它仅告知代理如何正确使用现有的 OpenClaw message 工具。
核心规则
如果上游输出显示 displaySkill: feishu-card-display,你必须:
- 1. 按顺序执行每个返回的 messageToolCalls 项
- 每次发送都使用 OpenClaw message 工具
- 保持负载原样不变
- 所有发送完成后,回复 NO_REPLY
不要:
- - 将多个产品卡片合并到同一个助手气泡中
- 重写文本负载
- 总结卡片内容
- 向用户解释负载结构
飞书发送规则
卡片负载
当调用包含:
json
{
action: send,
channel: feishu,
card: { ...: ... }
}
使用 message 工具将其作为飞书卡片发送。保持 card 对象不变。
文本负载
当调用包含:
json
{
action: send,
channel: feishu,
message: ...
}
按原样发送提供的文本。
媒体负载
当调用包含:
json
{
action: send,
channel: feishu,
filePath: /path/to/file,
message:
}
使用 message 工具将文件作为媒体发送,然后继续处理后续调用。
图片键说明
如果上游负载已包含飞书就绪的卡片负载或图片键,则直接使用。
如果上游负载仅包含预览链接,则保持预览链接不变。
此技能不会生成图片键,也不会重写卡片媒体。
最终回复
所有上游 messageToolCalls 执行完毕后,助手必须回复:
text
NO_REPLY
版本标记:feishu-card-display@1.0.0