Install
openclaw skills install knowledge-card-factory智能知识卡片生产流水线。自动化完成热点发现、内容深挖、AI 配图、多端发布的完整流程。适用于自媒体运营、知识分享、品牌营销等场景。
openclaw skills install knowledge-card-factory智能知识卡片生产流水线 — 从选题到发布的全自动化解决方案。
当用户需要:
触发关键词:
# 使用 brave-search 搜索热点
# 示例: 搜索 AI 行业趋势
search_query = "{用户指定的主题} 最新 趋势 2026"
输出:
# 使用 agent-reach 跨平台抓取
# 支持: Twitter/X, 小红书, B站, 公众号, 微博, LinkedIn
操作:
提示词模板:
"Create a {style} style illustration about {topic},
featuring {key_elements}, modern, clean design"
支持风格:
- Mac Pro 风格
- 赛博朋克
- 包豪斯
- 清新简约
发布配置:
platform: xiaohongshu
content:
title: {生成的标题}
body: {生成的正文}
images: [{图片路径}]
tags: [{话题标签}]
用户指令:
"帮我做一张 AI Agent 发展趋势的知识卡片,发到小红书"
执行步骤:
# Step 1: 热点发现
topics = brave_search("AI Agent 发展趋势 2026")
# Step 2: 内容深挖
content = agent_reach(
platforms=["twitter", "xiaohongshu", "wechat"],
query="AI Agent trends"
)
# Step 3: 生成配图
image = nano_banana_pro(
prompt="AI Agent ecosystem diagram, futuristic style",
size="1024x1024"
)
# Step 4: 发布
result = xiaohongshu_publish(
title="2026 AI Agent 五大趋势",
content=content.summary,
images=[image]
)
输出:
✅ 知识卡片已发布
📄 标题: 2026 AI Agent 五大趋势
🔗 链接: https://xiaohongshu.com/note/xxx
👀 预览: [卡片图片]
用户指令:
"帮我做一张北京周末出行天气指南"
执行步骤:
# Step 1: 获取天气
weather_data = weather("北京", days=3)
# Step 2: 搜索热门景点
spots = brave_search("北京周末热门景点")
# Step 3: 渲染卡片
card = card_renderer(
template="清新简约",
data={
weather: weather_data,
recommendations: spots
}
)
{
"name": "knowledge-card-factory",
"version": "1.0.0",
"stages": [
{
"id": "discover",
"skills": ["brave-search"],
"config": {
"result_limit": 10,
"freshness": "week"
}
},
{
"id": "research",
"skills": ["agent-reach"],
"config": {
"platforms": ["twitter", "xiaohongshu", "wechat"],
"max_results": 20
}
},
{
"id": "create",
"skills": ["nano-banana-pro", "card-renderer"],
"config": {
"default_style": "cyberpunk",
"image_size": "1024x1024"
}
},
{
"id": "publish",
"skills": ["xiaohongshu-mcp"],
"config": {
"auto_publish": false,
"require_confirmation": true
}
}
],
"error_handling": {
"retry": 3,
"on_failure": "save_draft"
}
}
| 错误类型 | 处理方式 |
|---|---|
| 搜索失败 | 重试 3 次,使用缓存数据 |
| 配图生成失败 | 降级到文字卡片 |
| 发布失败 | 保存本地草稿,通知用户 |
require_confirmation,确保用户审核后再发布