> 你的AI情报指挥中心。一键采集、智能分析、自动生成报告。
| 功能 | 说明 |
|---|---|
| ------ | ------ |
| 🔍 多源采集 | GitHub Trending、arXiv、HackerNews、15+官方博客RSS、中国AI公司官网 |
| 📊 智能评分 | 热度+新鲜度+来源可信度+质量,四维评分体系 |
| 📄 报告生成 | 晨报/晚报/小红书风格,Markdown格式,精美排版 |
| ⏰ 定时调度 | 晨报08:00、晚报20:00自动执行 |
| 🎛️ WebUI | 可视化配置信息源、查看报告、管理模板 |
# 进入项目目录
cd ai-sentinel
# 🎯 推荐:一键生成完整报告(自动采集+分析+生成)
python scripts/reporter.py --type full
# 或者分步执行:
python scripts/collect.py --all # Step 1: 采集
python scripts/reporter.py --type morning # Step 2: 生成晨报
python scripts/reporter.py --type evening # Step 2: 生成晚报
报告输出位置: reports/YYYY-MM-DD/full_report_HHMM.md
| 用户需求 | 执行命令 |
|---|---|
| ---------- | ---------- |
| "生成完整报告" | python scripts/reporter.py --type full ⭐推荐 |
| "采集AI情报" | python scripts/collect.py --all |
| "生成晨报" | python scripts/reporter.py --type morning |
| "生成晚报" | python scripts/reporter.py --type evening |
| "只看GitHub趋势" | python scripts/collect.py --source github |
| "追踪最新论文" | python scripts/collect.py --source arxiv |
| "查看HackerNews热点" | python scripts/collect.py --source hackernews |
> 💡 提示: --type full 会自动执行采集→分析→生成完整流程,无需手动分步
python scripts/reporter.py --type full
自动执行完整流程:采集 → 分析 → 生成
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Step 1 │ │ Step 2 │ │ Step 3 │
│ 多源采集 │ ──▶ │ 智能分析 │ ──▶ │ 报告生成 │
└─────────────┘ └─────────────┘ └─────────────┘
│ │ │
▼ ▼ ▼
GitHub Trending 热度评分 完整报告
arXiv论文 新鲜度评分 (自动保存)
HackerNews 来源可信度
RSS博客 质量评分
中国AI公司
采集多个信息源的原始数据,输出到 output/raw_data_*.json:
python scripts/collect.py --all # 全部信息源
python scripts/collect.py --source github # 仅GitHub
python scripts/collect.py --source arxiv # 仅arXiv
python scripts/collect.py --source hackernews # 仅HackerNews
系统自动对采集的数据进行评分分析:
根据模板生成结构化报告:
python scripts/reporter.py --type full # 完整报告(自动采集)
python scripts/reporter.py --type morning # 晨报(重点事件)
python scripts/reporter.py --type evening # 晚报(完整汇总)
报告类型对比:
| 类型 | 命令 | 说明 | 适用场景 |
|---|---|---|---|
| ------ | ------ | ------ | ---------- |
| full | --type full | 自动采集+分析+生成 | 立即获取最新情报 ⭐推荐 |
| morning | --type morning | 仅生成晨报 | 早间定时任务 |
| evening | --type evening | 仅生成晚报 | 晚间定时任务 |
报告结构:
| 类别 | 信息源 | 说明 |
|---|---|---|
| ------ | -------- | ------ |
| 开源项目 | GitHub Trending | AI领域热门项目 |
| 学术论文 | arXiv | cs.AI, cs.LG, cs.CL |
| 社区讨论 | HackerNews | 开发者热点话题 |
| 官方博客 | OpenAI, Anthropic, Google AI, DeepMind, HuggingFace, xAI, Cursor | 一手技术发布 |
| 技术媒体 | InfoQ(全球/中文), TechCrunch AI, VentureBeat AI, MMChat | 行业动态 |
| 中国AI公司 | 智谱AI, MiniMax, 扣子Coze | 国产大模型进展 |
config/sources.yaml)# GitHub配置
github:
enabled: true
language: python
date_range: weekly
limit: 20
# arXiv配置
arxiv:
enabled: true
categories:
- cs.AI
- cs.LG
- cs.CL
max_results: 20
# RSS源
custom_feeds:
- name: "OpenAI Blog"
url: "https://openai.com/blog/rss.xml"
category: "Official Blog"
config/schedule.yaml)schedule:
morning:
enabled: true
time: "08:00"
evening:
enabled: true
time: "20:00"
ai-sentinel/
├── SKILL.md # 本文件
├── README.md # 英文文档
├── README_CN.md # 中文文档
├── config/
│ ├── sources.yaml # 信息源配置
│ ├── settings.yaml # 系统设置
│ └── schedule.yaml # 调度配置
├── scripts/
│ ├── collect.py # 采集脚本
│ ├── reporter.py # 报告生成脚本
│ └── parsers/ # 各源解析器
├── templates/
│ ├── morning_template.md
│ └── evening_template.md
├── webui/ # Web管理界面
└── reports/ # 生成的报告
└── YYYY-MM-DD/
├── morning_report.md
└── evening_report.md
cd ai-sentinel
python scripts/collect.py --all
python scripts/reporter.py --type evening
输出: reports/2026-04-12/evening_report.md
python scripts/collect.py --source github
python scripts/reporter.py --type morning
编辑 config/sources.yaml,添加新的RSS源:
custom_feeds:
- name: "My AI Blog"
url: "https://example.com/feed"
category: "Personal Blog"
pip install requests feedparser pyyaml jinja2v1.3.1 (2026-04-12)
v1.3.0 (2026-04-12)
--type full),一键采集+分析+生成v1.2.0 (2026-04-12)
v1.1.0 (2026-04-12)
v1.0.0 (2026-04-10)
共 1 个版本