← 返回 Skills 市场
shoyee94

daily-news-push

作者 Shoyee94 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
80
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install daily-news-push
功能描述
通用每日早报自动生成和推送服务。支持任意领域,自动搜索过去24小时指定领域资讯,按固定格式整理推送到指定渠道。支持企业微信、飞书、Webhook多种渠道。触发词:每日早报,早报推送,自动日报,新闻推送。
使用说明 (SKILL.md)

通用每日早报推送技能

支持任意领域,自动搜索过去24小时指定领域资讯,按照固定格式整理生成早报,并推送到配置的渠道。支持企业微信、飞书、Webhook多种渠道,易于扩展,可在任意 OpenClaw 部署环境使用。

核心功能

  1. 任意领域支持:用户只需要说关注什么领域,自动生成该领域每日早报(AI/区块链/生物医药/金融...都支持)
  2. 智能信息源推荐:AI自动分析判断,针对不同领域自动推荐优质核心信息源,用户无需手动配置。也支持自定义覆盖
  3. 通用自动搜索:使用 OpenClaw 标准 web_search 工具,兼容性更强,所有部署环境通用
  4. 内容筛选:按照24小时/48小时时效规则筛选,超过24小时标注,超过48小时剔除
  5. 格式编排:按照固定结构整理成清晰易读的Markdown格式
  6. 多渠道支持:企业微信/飞书/Webhook开箱即用,灵活配置
  7. 灵活定时:用户自定义推送时间,cron配置自由修改

标准结构

生成的早报遵循固定格式:

📰 {领域}早报 | YYYY.MM.DD
过去24小时{领域}最新动态

🔝 头条
[大标题] | 发布时间
核心信息1
核心信息2
来源:[渠道] | [原文链接]

🏢 国际动态
- [内容] 来源:[渠道] | [原文链接]

🇨🇳 国内动态
- [内容] 来源:[渠道] | [原文链接]

📄 深度/学术
- [内容] 来源:[渠道] | [原文链接]

📊 今日观察
(一段简短的行业观察/趋势总结)

分类名称也可通过配置自定义。

新安装向导

首次安装后,运行初始化向导,交互式配置:

cd scripts
python init_config.py

脚本会依次询问:

  1. 你关注的领域是什么?(例如:AI人工智能、区块链、生物医药、互联网科技...) 2 选择推送渠道:企业微信/飞书/Webhook
  2. 填写接收人ID:根据渠道填入对应ID
  3. 设置推送时间:cron表达式,默认每日8:30

回答完问题自动生成 config.py,直接可用!

手动配置

如果你不想交互式配置,也可以手动配置,参考 references/config.md

  • 修改关注领域
  • 修改推送渠道类型(wecom/feishu/webhook)
  • 设置接收人ID
  • 设置推送时间(cron表达式,默认每日8:30)

生成并推送

配置完成后直接运行:

cd scripts
python generate_and_send.py

设置定时任务

添加到 crontab 实现每日自动推送:

# 编辑 crontab
crontab -e
# 添加一行(修改路径和时间为你配置的)
30 8 * * * cd /path/to/daily-news-push/scripts && python generate_and_send.py

渠道扩展

要添加新的推送渠道,只需在 scripts/channels/ 中新增一个渠道实现类, 遵循 BaseChannel 接口,实现 send 方法即可。

资源

scripts/

  • generate_and_send.py - 主入口:生成+推送完整流程
  • init_config.py - 初始化配置向导(交互式)
  • news_generator.py - 核心生成逻辑(搜索、筛选、排版)
  • config.example.py - 配置模板
  • channels/ - 各渠道发送实现
    • base.py - 基础接口定义
    • wecom.py - 企业微信渠道
    • feishu.py - 飞书渠道
    • webhook.py - 通用Webhook渠道

references/

  • config.md - 详细配置说明
  • format.md - 格式规范参考
安全使用建议
This package appears to do what it says: gather recent web content (via the agent's web_search tool), format it, and send it to your configured channel. Before installing, confirm: 1) your OpenClaw deployment provides the web_search tool and the messaging tools (wecom_mcp / feishu IM) the skill expects — otherwise Feishu/WeCom code prints JSON but will not actually send messages; 2) if you use Webhook, only supply webhook URLs you trust (the script will POST the full report to that URL, including any content the AI gathered); 3) the skill uses the requests library for Webhook POSTs — ensure requests is available in your environment; 4) the skill does not request secrets itself, but you will need to provide any delivery credentials/URLs in config.py; and 5) validate that allowing the agent to run web_search and create content aligns with your privacy/usage policies because the agent will perform external web queries and include sources/links in outgoing messages.
功能分析
Type: OpenClaw Skill Name: daily-news-push Version: 1.0.0 The skill bundle is a legitimate tool for generating and pushing daily news reports to platforms like Enterprise WeChat, Feishu, and generic Webhooks. The code follows a standard structure, including an interactive configuration script (init_config.py) and modular channel implementations (wecom.py, feishu.py, webhook.py). No evidence of data exfiltration, malicious command execution, or harmful prompt injection was found; the functionality aligns entirely with the stated purpose of news aggregation and notification.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (daily news generation and push) match the included code and SKILL.md. The files implement search/format/generate and push via WeCom/Feishu/Webhook. No unrelated binaries, env vars, or configuration paths are requested.
Instruction Scope
SKILL.md explicitly instructs the agent to use the platform's standard web_search tool to collect recent news — this is expected for the skill's purpose. Note: the skill assumes the agent environment provides a web_search tool and (for WeCom/Feishu) platform-specific messaging tools (wecom_mcp / feishu_im_user_message). The init flow writes a local config.py; the code does not attempt to read unrelated system files or environment variables.
Install Mechanism
No install spec (instruction-only). The bundle includes Python scripts only; nothing is downloaded from external or unfamiliar URLs and no archives are extracted. Low install risk.
Credentials
The skill requires no declared environment variables or credentials. It does accept user-supplied webhook URLs or receiver IDs via config.py (expected for delivery). There are no requests for unrelated secrets or system credentials in code or docs.
Persistence & Privilege
always is false and the skill does not request permanent platform-level privileges. The skill writes only a local config.py during interactive setup and does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daily-news-push
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daily-news-push 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of daily-news-push. - Automatically generates and pushes daily news reports for any specified domain. - Intelligent source recommendation and filtering of news from the past 24 hours. - Supports multiple push channels: WeCom, Feishu, and Webhook. - Easy configuration with both interactive and manual setup options. - Structured markdown format for clear and readable daily summaries.
元数据
Slug daily-news-push
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

daily-news-push 是什么?

通用每日早报自动生成和推送服务。支持任意领域,自动搜索过去24小时指定领域资讯,按固定格式整理推送到指定渠道。支持企业微信、飞书、Webhook多种渠道。触发词:每日早报,早报推送,自动日报,新闻推送。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 80 次。

如何安装 daily-news-push?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-news-push」即可一键安装,无需额外配置。

daily-news-push 是免费的吗?

是的,daily-news-push 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

daily-news-push 支持哪些平台?

daily-news-push 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 daily-news-push?

由 Shoyee94(@shoyee94)开发并维护,当前版本 v1.0.0。

💬 留言讨论