Install
openclaw skills install ai-sentinel-2AI情报哨兵 - 自动采集、分析与报告AI领域最新动态的多源情报系统
openclaw skills install ai-sentinel-2你的AI情报指挥中心,自动采集、分析与报告AI领域最新动态
AI前沿哨兵是一个开源的AI情报采集系统,帮助用户自动追踪AI领域的最新动态,包括开源项目、学术论文、技术博客、行业新闻等,并生成结构化的晨报和晚报。
核心能力:
当用户说"采集AI情报"、"生成AI晨报"、"追踪AI动态"时,执行以下步骤:
# 采集所有信息源
python scripts/collect.py --all
# 生成晨报
python scripts/reporter.py --type morning
# 生成晚报
python scripts/reporter.py --type evening
# 仅采集GitHub Trending
python scripts/collect.py --source github
# 仅采集arXiv论文
python scripts/collect.py --source arxiv
# 仅采集HackerNews
python scripts/collect.py --source hackernews
生成的报告保存在 reports/YYYY-MM-DD/ 目录:
morning_report.md - 晨报evening_report.md - 晚报xiaohongshu_report.md - 小红书风格报告config/sources.yaml)系统支持以下信息源:
config/schedule.yaml)schedule:
morning:
enabled: true
time: "08:00"
evening:
enabled: true
time: "20:00"
reports/ 目录ai-sentinel/
├── SKILL.md # 本文档
├── config/ # 配置文件
│ ├── sources.yaml # 信息源配置
│ ├── settings.yaml # API配置
│ └── schedule.yaml # 调度配置
├── scripts/ # 核心脚本
│ ├── collect.py # 采集入口
│ ├── analyzer.py # 分析评分
│ ├── reporter.py # 报告生成
│ ├── quality_scorer.py # 质量评分系统
│ └── parsers/ # 平台解析器
│ ├── github_trending.py
│ ├── arxiv.py
│ ├── hackernews.py
│ ├── blog_rss.py
│ └── web_news.py
├── templates/ # 报告模板
│ ├── morning_report.md
│ ├── evening_report.md
│ └── xiaohongshu_report.md
├── reports/ # 报告存档
│ └── YYYY-MM-DD/
│ ├── morning_report.md
│ ├── evening_report.md
│ └── xiaohongshu_report.md
├── webui/ # Web界面
│ ├── index.html
│ ├── style.css
│ └── app.js
└── references/ # 参考文档
├── sources_guide.md
└── api_setup.md
pip install requests feedparser pyyaml jinja2 schedule
scripts/parsers/ 创建新解析器fetch() 方法返回标准格式数据config/sources.yaml 添加配置scripts/collect.py 注册解析器编辑 templates/ 目录下的模板文件,使用Jinja2语法:
{{ title }} - 标题{{ items }} - 条目列表{{ analysis }} - 分析内容Q: Twitter采集失败?
A: 需要Twitter Developer账号和Bearer Token,未配置时自动跳过。
Q: 如何添加自定义关键词?
A: 编辑 config/sources.yaml 中各源的 keywords 字段。
Q: 报告保存位置?
A: 默认 reports/YYYY-MM-DD/,可在配置中修改。
https://github.com/xiaopengs/ai-sentinel
MIT License - 详见 LICENSE 文件