📦 knowledge-card-factory — 知识卡片工厂

v1.0.0

一键完成热点发现、内容深挖、AI配图、多端发布的知识卡片全自动生产线,适用于自媒体、知识分享与品牌营销。

0· 50·0 当前·0 累计
下载技能包
最后更新
2026/4/13
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's declared purpose (automated discovery → research → image generation → multi‑platform publish) matches its instructions and there are no hidden installs, env vars, or odd endpoints; it is internally coherent.
评估建议
This combo appears coherent with its stated purpose. Before installing or using it: (1) Review the dependent skills (brave-search, agent-reach, nano-banana-pro, xiaohongshu-mcp) to see what credentials or scopes they require and where they send data; (2) confirm you have permission to aggregate/scrape the target platforms and to republish their content (copyright/privacy); (3) keep require_confirmation enabled (default) to avoid accidental publishing; (4) test in a sandbox account first to verif...
详细分析 ▾
用途与能力
名称/描述(内容生产流水线)与运行时指令及声明的依赖技能(brave-search、agent-reach、nano-banana-pro、xiaohongshu-mcp)一致。所有所需能力均与知识卡片生产发布相关,未请求无关权限或工具。
指令范围
SKILL.md 指令跨平台聚合内容(agent-reach)并自动发布,符合技能目的,但涉及多平台广泛抓取/聚合及图像数据提取,范围较广,可能触及隐私/版权及平台政策。技能本身未请求额外主机文件或环境变量,也未指示读取输出目录外的系统路径。
安装机制
纯指令型技能,无安装脚本与本地代码执行,安装风险最低。README 建议通过 clawhub 安装依赖技能,符合平台包管理机制,无任意下载。
凭证需求
技能自身未声明环境变量或凭证,合理。但其依赖的 agent-reach、xiaohongshu-mcp、nano-banana-pro 等技能可能需平台凭证或 API 密钥以获取或发布内容,启用前应检查这些依赖的凭证要求。
持久化与权限
always 为 false,技能可由用户调用或平台默认自动调用,不请求永久驻留或修改其他技能/配置;错误处理提及本地草稿/输出,属于其职责范围。
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/13

Initial release of Knowledge Card Factory – a fully automated workflow for creating and publishing knowledge cards. - Enables end-to-end automation: topic discovery, deep content mining, AI-generated illustration, and cross-platform publishing. - Integrates with platforms like Xiaohongshu for automated content push. - Flexible card styles (Mac Pro, cyberpunk, minimalist, etc.) and workflow configuration. - Robust error handling: retries, downgrade strategies, and draft saving on publishing failure. - Extensible with custom templates, data sources, and new publishing channels.

无害

安装命令

点击复制
官方npx clawhub@latest install knowledge-card-factory
镜像加速npx clawhub@latest install knowledge-card-factory --registry https://cn.longxiaskill.com

技能文档

何时使用

当用户需要:
  • 快速生产社交媒体内容
  • 制作知识卡片/信息图
  • 自动化内容发布流程
  • 热点追踪与借势营销

触发关键词:

  • “做一张知识卡片”
  • “帮我生成内容发小红书”
  • “自动化内容生产”
  • “热点内容创作”

工作流程

1. 热点发现 (brave-search)

``bash # 使用 brave-search 搜索热点 # 示例: 搜索 AI 行业趋势 search_query = "{用户指定的主题} 最新 趋势 2026" ` 输出:
  • 热点话题列表
  • 相关新闻报道
  • 关键数据点

2. 内容深挖 (agent-reach)

`bash # 使用 agent-reach 跨平台抓取 # 支持: Twitter/X, 小红书, B站, 公众号, 微博, LinkedIn ` 操作:
  • 基于热点话题搜索多平台内容
  • 提取核心观点和数据
  • 生成内容摘要

3. 卡片创作

方案 A: AI 配图 (nano-banana-pro)

` 提示词模板: "Create a {style} style illustration about {topic}, featuring {key_elements}, modern, clean design" `

方案 B: 卡片渲染 (card-renderer)

` 支持风格:
  • Mac Pro 风格
  • 赛博朋克
  • 包豪斯
  • 清新简约
`

4. 多端发布 (xiaohongshu-mcp)

`yaml 发布配置: platform: xiaohongshu content: title: {生成的标题} body: {生成的正文} images: [{图片路径}] tags: [{话题标签}] `

使用示例

示例 1: 制作 AI 趋势卡片

用户指令:
“帮我做一张 AI Agent 发展趋势的知识卡片,发到小红书”

执行步骤: `python # 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 👀 预览: [卡片图片] `

示例 2: 天气出行指南

用户指令:
“帮我做一张北京周末出行天气指南”

执行步骤: `python # Step 1: 获取天气 weather_data = weather("北京", days=3)

# Step 2: 搜索热门景点 spots = brave_search("北京周末热门景点")

# Step 3: 渲染卡片 card = card_renderer( template="清新简约", data={ weather: weather_data, recommendations: spots } ) `

配置选项

workflow.json

`json { "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`,确保用户审核后再发布
  • 内容质量: 生成的内容需要用户确认,避免 AI 幻觉
  • 图片版权: AI 生成图片需标注来源
  • 平台规则: 不同平台有不同发布限制,注意合规

扩展能力

  • 添加新渠道: 实现对应平台的 Skill 接口
  • 自定义模板: 在 templates/ 目录添加卡片模板
  • 数据源扩展: 在 sources/ 目录添加新数据源
数据来源ClawHub ↗ · 中文优化:龙虾技能库