← 返回
内容创作 中文

AI news generator

Delivers a daily news digest to a Discord channel via webhook. Use this skill whenever the user wants to: send today's news to Discord, set up an automated d...
每天通过 webhook 将新闻摘要发送到 Discord 频道。使用此技能的时机:用户想把今天的新闻发送到 Discord,或设置自动化 ...
scottll
内容创作 clawhub v1.0.0 1 版本 99792.1 Key: 无需
★ 0
Stars
📥 480
下载
💾 10
安装
1
版本
#ai#latest#new#openclaw#tech

概述

Daily News → Discord

This skill fetches the top news stories for the day and delivers them to a Discord

channel via webhook as a clean, readable embed.

Configuration

These values are baked into the scheduled task but can be overridden at runtime:

SettingDefault
------
Webhook URLSet in scheduled task
TopicsAI & Tech
Stories5 headlines
Schedule8:00 AM daily

Execution Steps

1. Get today's date

Run a quick bash command to get the current date in a friendly format:

date "+%A, %B %-d, %Y"

2. Search for news

Perform 2–3 targeted web searches to find today's top stories on the configured topics.

Use searches like:

  • "AI news today [current month year]"
  • "tech news [current date]"
  • "[specific topic] latest developments [month year]"

Pick the 5 most newsworthy, distinct, and recent stories. Prefer stories from the

last 24–48 hours. Skip duplicate coverage of the same event.

3. Build the stories JSON

Format the 5 stories as a JSON array. Each story needs:

[
  {
    "headline": "Short, clear headline (max 80 chars)",
    "summary": "One to two sentence summary of what happened and why it matters. (max 250 chars)",
    "url": "https://source-article-url.com"
  }
]

Keep summaries punchy and informative — no filler phrases like "In a world where...".

4. Send to Discord

Call the bundled send script with the stories JSON, date, and topics:

python3 "$(dirname "$0")/scripts/send_to_discord.py" \
  --webhook "WEBHOOK_URL_HERE" \
  --date "DATE_STRING" \
  --topics "AI & Tech" \
  --stories 'STORIES_JSON_HERE'

Replace placeholders with actual values. Pass the stories JSON as a single-quoted

string. If the JSON contains single quotes, use a temp file instead:

echo 'STORIES_JSON' > /tmp/stories.json
python3 scripts/send_to_discord.py --webhook "..." --date "..." --topics "..." --stories-file /tmp/stories.json

5. Confirm delivery

The script prints the HTTP status code. A 204 means success. If it fails, inspect

the error output and retry once (Discord webhooks occasionally return 429 rate limits —

wait 2 seconds and retry).


Discord Message Format

The message is sent as a rich embed:

📰 Daily News Digest — Monday, March 6, 2026
Today's top stories in AI & Tech

1. OpenAI Releases New Reasoning Model
   GPT-5 now available to all users with improved reasoning...
   [Read more]

2. ...
...
──────────────────────────────
OpenClaw Daily News • Powered by Claude

Customization

To change topics, edit the --topics argument in the scheduled task prompt and adjust

the search queries in Step 2. Topics can be comma-separated: "AI, Finance, Science".

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 20:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,458
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,168
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,047