Skill: zlszhonglongshen/ai-daily-intelligence-digest (version 1.0.0)

--- name: ai-daily-intelligence-digest description: > AI Daily Intelligence Digest — 自动聚合多源热点资讯，AI智能摘要提炼， 一键发布到飞书Wiki团队知识库。每天早上8点自动推送，帮助团队保持信息同步。 适用场景：运营/产品/管理层每日益汇报、竞品动态追踪、行业热点监控。 技能协同：rss-aggregator → summarize-pro → feishu-wiki metadata: { "version": "1.0.0", "author": "OpenClaw Community", "tags": ["news", "intelligence", "digest", "feishu", "rss", "summarize", "daily"], "channels": ["feishu"], "combo": true, "skills": ["rss-aggregator", "summarize-pro", "feishu-wiki"], } --- # AI Daily Intelligence Digest ## Overview This skill combo automatically aggregates news from multiple RSS sources, uses AI to summarize key insights, and publishes a formatted daily digest to a Feishu Wiki knowledge base. ## Workflow ``` [RSS Sources] → rss-aggregator → [Raw Articles] ↓ summarize-pro (batch summarize) ↓ [Digest Summary] → feishu-wiki → [Published Wiki Page] ``` ## Prerequisites 1. **RSS Feeds configured** — Add your target RSS feed URLs to the config 2. **Feishu Wiki access** — Valid Feishu access token and target Wiki space/node 3. **OpenClaw environment variables**: - `FEISHU_APP_ID` / `FEISHU_APP_SECRET` (for Wiki API) - `RSS_FEED_URLS` (comma-separated, optional override) ## Usage ```bash # Manual trigger openclaw run ai-daily-intelligence-digest # Via cron (recommended: daily 8:00 AM) openclaw cron add "0 8 * * *" "ai-daily-intelligence-digest" --name "AI日报" ``` ## Configuration Create `config.yaml` in the skill directory: ```yaml rss: feeds: - https://hnrss.org/frontpage - https://feeds.bbci.co.uk/news/technology/rss.xml - https://www.techcrunch.com/feed/ max_articles: 10 language: en summarize: model: gpt-4o-mini max_length: 300 style: bullet_points feishu: wiki_space_id: "${FEISHU_WIKI_SPACE_ID}" parent_node_token: "${FEISHU_PARENT_NODE}" title_prefix: "📰 AI日报" time_format: "%Y年%m月%d日" ``` ## Output Format The published Feishu Wiki page contains: - **Header**: Date + title - **Top Stories**: Bulleted summaries of top N articles - **Key Insights**: AI-generated bullet points - **Source Links**: Full article URLs for further reading - **Footer**: "Generated by AI Daily Intelligence Digest" ## Error Handling - If RSS fetch fails: skip to next feed, log error - If summarize fails: include raw title + link - If Feishu publish fails: output draft markdown to console ## Troubleshooting | Issue | Solution | |---|---| | Empty digest | Check RSS feeds are reachable; verify network access | | Feishu auth error | Refresh FEISHU_APP_ACCESS_TOKEN | | Summarize timeout | Reduce `max_articles` in config |

path: README.md
content: # AI Daily Intelligence Digest

> 多源热点聚合 → AI智能摘要 → 飞书Wiki一键发布

---

## 🔍 业务场景

某科技公司产品运营团队，每天早上需要快速了解：
- 行业最新热点（TechCrunch、HackerNews、BBC Tech）
- 竞品动态
- AI/大模型前沿进展

**现状痛点**：运营同学手动打开10+网站→复制粘贴→整理→发到飞书，耗时1小时+，且容易遗漏。

---

## 💡 解决方案

**AI Daily Intelligence Digest** 自动化这个流程：

```
┌─────────────────┐
│  rss-aggregator  │  批量抓取 TechCrunch / HackerNews / BBC Tech 等 RSS 源
└────────┬────────┘
         │ raw articles (title + link + description)
         ▼
┌─────────────────┐
│  summarize-pro  │  GPT-4o-mini 批量摘要，提取核心观点，生成要点bullet
└────────┬────────┘
         │ digest markdown
         ▼
┌─────────────────┐
│   feishu-wiki   │  格式化为飞书Wiki页面，自动创建/更新知识库节点
└─────────────────┘
         │
         ▼
   📄 飞书Wiki知识库页面（团队共享）
```

---

## 🎯 痛点分析

| 痛点 | 解决方式 |
|---|---|
| 信息源分散，逐一打开耗时 | rss-aggregator 批量并发抓取 |
| 英文内容阅读慢 | summarize-pro 自动翻译+摘要 |
| 手动复制粘贴格式混乱 | workflow.json 标准化输出模板 |
| 每天重复操作烦琐 | cron 定时自动执行（推荐早8:00） |
| 知识无法积累沉淀 | 持续写入飞书Wiki，形成团队知识库 |

---

## 📊 编排图谱

```
rss-aggregator          summarize-pro           feishu-wiki
─────────────────       ──────────────          ───────────
输入: RSS URL列表          输入: 原始文章列表        输入: Markdown摘要
      │                         │                      │
      ▼                         ▼                      ▼
输出: 文章列表         →   输出: 摘要Bullet    →   输出: Wiki页面链接
    title, link,             key insights,            wiki_page_url
    description              tl;dr summary
```

---

## 🚀 使用示例

### 手动触发

```bash
openclaw run ai-daily-intelligence-digest
```

### 查看输出

```
✅ RSS抓取完成: 抓取 3 个来源，共 23 篇文章
✅ AI摘要完成: 生成 10 条关键洞察
✅ 飞书Wiki发布成功: https://feishu.cn/wiki/xxx
📅 页面标题: 📰 AI日报 | 2026年04月14日
```

### Cron 定时（推荐）

```bash
openclaw cron add "0 8 * * *" "ai-daily-intelligence-digest" \
  --name "AI每日益汇报" \
  --channel feishu
```

---

## 📁 文件结构

```
ai-daily-intelligence-digest/
├── SKILL.md          # 技能定义（含frontmatter元数据）
├── README.md         # 本文件（业务场景+编排说明）
├── workflow.json     # 工作流编排定义
└── config.yaml       # 配置文件（RSS源、Feishu参数）
```

---

## ⚙️ 配置说明

### config.yaml 示例

```yaml
rss:
  feeds:
    - https://hnrss.org/frontpage          # HackerNews
    - https://feeds.bbci.co.uk/news/technology/rss.xml
    - https://www.techcrunch.com/feed/
  max_articles: 10      # 每个源最多取多少篇
  language: en

summarize:
  model: gpt-4o-mini
  max_length: 300       # 每条摘要最大字符数
  style: bullet_points  # 输出风格: bullet_points | paragraph

feishu:
  wiki_space_id: "${FEISHU_WIKI_SPACE_ID}"
  parent_node_token: "${FEISHU_PARENT_NODE}"
  title_prefix: "📰 AI日报"
  time_format: "%Y年%m月%d日"
```

---

## 🔗 依赖技能

| 技能 | 版本 | 用途 |
|---|---|---|
| `rss-aggregator` | ≥1.0.0 | 多源RSS热点抓取 |
| `summarize-pro` | ≥1.0.0 | AI批量摘要+翻译 |
| `feishu-wiki` | ≥1.0.0 | 飞书Wiki知识库写入 |

---

## 📌 适用人群

- **运营同学**：每日益汇报、竞品动态追踪
- **产品经理**：行业热点监控、需求灵感收集
- **管理层**：每日行业简报，高效信息同步
- **研究团队**：持续积累行业知识库


path: config.yaml
content: rss:
  feeds:
    - https://hnrss.org/frontpage
    - https://feeds.bbci.co.uk/news/technology/rss.xml
    - https://www.techcrunch.com/feed/
    - https://feeds.reuters.com/reuters/technologyNews
  max_articles: 10
  language: en

summarize:
  model: gpt-4o-mini
  max_length: 300
  style: bullet_points

feishu:
  wiki_space_id: "${FEISHU_WIKI_SPACE_ID}"
  parent_node_token: "${FEISHU_PARENT_NODE}"
  title_prefix: "📰 AI日报"
  time_format: "%Y年%m月%d日"


path: workflow.json
content: {
  "name": "ai-daily-intelligence-digest",
  "version": "1.0.0",
  "description": "多源热点聚合 → AI智能摘要 → 飞书Wiki一键发布",
  "combo": true,
  "skills": [
    "rss-aggregator",
    "summarize-pro",
    "feishu-wiki"
  ],
  "workflow": {
    "stages": [
      {
        "id": "fetch_rss",
        "skill": "rss-aggregator",
        "description": "批量抓取多个RSS源的热点文章",
        "inputs": {
          "feeds": "${config.rss.feeds}",
          "max_articles": "${config.rss.max_articles}",
          "language": "${config.rss.language}"
        },
        "outputs": {
          "articles": "articles[]"
        },
        "on_error": {
          "action": "skip",
          "log": true,
          "message": "RSS抓取失败，跳过该源"
        }
      },
      {
        "id": "summarize_articles",
        "skill": "summarize-pro",
        "description": "对抓取的原始文章进行AI摘要和翻译",
        "inputs": {
          "articles": "${fetch_rss.articles}",
          "model": "${config.summarize.model}",
          "max_length": "${config.summarize.max_length}",
          "style": "${config.summarize.style}"
        },
        "outputs": {
          "digest": "digest_markdown"
        },
        "on_error": {
          "action": "fallback",
          "fallback_value": "${fetch_rss.articles.raw_titles_links}",
          "message": "摘要生成失败，使用原始标题链接"
        }
      },
      {
        "id": "publish_wiki",
        "skill": "feishu-wiki",
        "description": "将摘要发布到飞书Wiki知识库",
        "inputs": {
          "action": "create",
          "space_id": "${config.feishu.wiki_space_id}",
          "parent_node_token": "${config.feishu.parent_node_token}",
          "title": "${config.feishu.title_prefix} | ${date}",
          "content": "${summarize_articles.digest}",
          "format": "markdown"
        },
        "outputs": {
          "wiki_page_url": "wiki_page_url",
          "wiki_page_id": "node_token"
        },
        "on_error": {
          "action": "output_console",
          "message": "Wiki发布失败，打印摘要内容到控制台"
        }
      }
    ],
    "final": {
      "outputs": [
        {
          "name": "wiki_page_url",
          "source": "publish_wiki.wiki_page_url",
          "description": "飞书Wiki页面链接"
        },
        {
          "name": "article_count",
          "source": "fetch_rss.article_count",
          "description": "抓取的文章总数"
        },
        {
          "name": "digest_preview",
          "source": "summarize_articles.digest_preview",
          "description": "摘要预览（前500字符）"
        }
      ],
      "notifications": [
        {
          "channel": "feishu",
          "message": "✅ AI日报已生成！📅 ${date}\n📄 飞书Wiki: ${publish_wiki.wiki_page_url}\n📊 共处理 ${fetch_rss.article_count} 篇文章"
        }
      ]
    }
  },
  "config_schema": {
    "rss": {
      "type": "object",
      "properties": {
        "feeds": {
          "type": "array",
          "items": {"type": "string", "format": "uri"},
          "description": "RSS源URL列表"
        },
        "max_articles": {
          "type": "integer",
          "default": 10,
          "description": "每个源最多抓取文章数"
        },
        "language": {
          "type": "string",
          "default": "en",
          "description": "文章语言（影响翻译策略）"
        }
      },
      "required": ["feeds"]
    },
    "summarize": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string",
          "default": "gpt-4o-mini"
        },
        "max_length": {
          "type": "integer",
          "default": 300
        },
        "style": {
          "type": "string",
          "enum": ["bullet_points", "paragraph"],
          "default": "bullet_points"
        }
      }
    },
    "feishu": {
      "type": "object",
      "properties": {
        "wiki_space_id": {
          "type": "string",
          "description": "飞书Wiki空间ID"
        },
        "parent_node_token": {
          "type": "string",
          "description": "父节点token（空为根目录）"
        },
        "title_prefix": {
          "type": "string",
          "default": "📰 AI日报"
        },
        "time_format": {
          "type": "string",
          "default": "%Y年%m月%d日"
        }
      },
      "required": ["wiki_space_id"]
    }
  },
  "variables": {
    "date": {
      "type": "string",
      "source": "env",
      "env_var": "CURRENT_DATE",
      "default": "2026-04-14",
      "description": "当前日期，用于标题和时间戳"
    }
  }
}


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (MEDIUM)