每日科技播报

从可抓取信息源(新浪科技、IT之家等)拉取当日科技新闻标题,生成简报并输出。无需 API Key,适合定时任务与手动触发。当用户要求执行每日科技播报、科技新闻简报、今日科技要闻时使用此技能。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "每日科技播报" with this command: npx skills add wangyaok1/daily-tech-broadcast

每日科技播报

可配置信息源(新浪科技、IT之家等)抓取当日科技新闻标题,生成简报纯文本。不依赖任何 API Key,token 消耗低,适合 OpenClaw cron 定时推送或人工触发。

触发条件

当用户提到以下内容时使用此技能:

  • 「执行每日科技播报」「今日科技新闻简报」「科技要闻」
  • 「每日科技播报」「推一下科技新闻」
  • 定时任务消息中明确要求使用「每日科技播报」技能

信息源列表(可维护)

脚本内维护的信息源(无需 API Key,直接 HTTP 抓取):

来源URL说明
新浪科技https://tech.sina.com.cn/优先,已验证
IT之家https://www.ithome.com/备选

可在 scripts/broadcast.pyNEWS_SOURCES 中增删或调整顺序。

使用方法

推荐 exec 命令(供 cron 或 AI 调用)

cd <workspace>/skills/daily-tech-broadcast/scripts && python3.11 broadcast.py 2>&1
  • 简报正文仅输出到 stdout,供消息发送;调试信息在 stderr。
  • 无需设置环境变量或 API Key。

手动执行

cd <workspace>/skills/daily-tech-broadcast/scripts
python3.11 broadcast.py

定时任务配置示例

在 OpenClaw cron 中,将每日科技播报任务的 payload.message 设为(与第二件事一致):

请使用每日科技播报技能,执行播报并将结果发送到当前频道。使用命令:cd <workspace>/skills/daily-tech-broadcast/scripts && python3.11 broadcast.py 2>&1
  • 不要使用「搜索今日重要科技新闻」等表述,以免 AI 误用 web_search(需 API Key)。
  • 保持 deliver: true 及正确的 channelto,以便结果投递到目标频道。

依赖

仅使用 Python 3 标准库(urllibhtml.parserre 等),无需安装额外包。若需扩展为其他源或解析方式,可参考目录下 requirements.txt

故障与降级

  • 单源失败时,脚本会继续使用其他源,不会整体失败。
  • 若全部抓取失败,会输出一段降级提示文案(仍通过 stdout),便于用户知晓。

English summary

  • What: Fetch daily tech news headlines from configurable sources (Sina Tech, IT Home), output a digest to stdout. No API Key.
  • When to use: User says “daily tech broadcast”, “tech news digest”, “今日科技播报”, or cron payload asks for this skill.
  • Run: cd <path>/scripts && python3.11 broadcast.py 2>&1
  • Data sources: Edit NEWS_SOURCES in scripts/broadcast.py to add/remove/reorder sources.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated