Install
openclaw skills install news-daily获取新闻热榜(国内、国际、科技、AI)并发送到飞书。不依赖本地工程,直接从 RSS 获取数据。
openclaw skills install news-dailycp -r ~/.openclaw/workspace/skills/news-daily /path/to/your/openclaw/workspace/skills/
方式一:环境变量(推荐)
export NEWS_DAILY_WEBHOOK="你的Webhook地址"
方式二:配置文件
vim ~/.openclaw/workspace/skills/news-daily/scripts/config.json
{
"webhook_url": "https://open.feishu.cn/open-apis/bot/v2/hook/xxx",
"date": "today",
"categories": {
"国内": 10,
"国际": 10,
"科技": 10,
"AI": 10
}
}
python3 ~/.openclaw/workspace/skills/news-daily/scripts/fetch_and_send.py
openclaw config set hooks.internal.entries.news-daily.enabled true
openclaw config set hooks.internal.entries.news-daily.systemEvent "news-daily"
openclaw config set hooks.internal.entries.news-daily.action.kind "exec"
openclaw config set hooks.internal.entries.news-daily.action.command "python3 ~/.openclaw/workspace/skills/news-daily/scripts/fetch_and_send.py"
openclaw gateway restart
| 分类 | 来源 |
|---|---|
| 国内 | 中国新闻网、人民日报 |
| 国际 | 纽约时报、BBC、卫报 |
| 科技 | 36氪、少数派、TechCrunch、The Verge |
| AI | InfoQ、机器之心、MIT 科技评论、VentureBeat |
详细说明见 README.md