← Back to Skills Marketplace
scottll

AI news generator

by Scott Lai · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
259
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install news-ai-001
Description
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...
README (SKILL.md)

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:

Setting Default
Webhook URL Set in scheduled task
Topics AI & Tech
Stories 5 headlines
Schedule 8: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".

Usage Guidance
This skill appears to do what it says: aggregate headlines and post them to a Discord webhook. Before installing or scheduling it, review these points: - Webhook safety: the webhook URL is sensitive (anyone with it can post to the channel). Only supply a webhook you control. Do not paste a webhook from a third party. - Network destinations: the script only posts to the provided Discord webhook URL (discord.com). If you need stricter auditing, run the script from a controlled host and monitor outbound traffic. - Fix the path mismatch: SKILL.md shows scripts/send_to_discord.py, but the file is send_to_discord.py at the repo root. Update the scheduled task or the invocation examples so the path points to the actual script location. - Web scraping/privacy: the skill instructs the agent to perform web searches and summarize articles. Ensure the agent's browsing/search behavior complies with your content and copyright policies, and avoid accidentally sending private/personal data to the Discord channel. - Testing: run a manual test with a disposable webhook and verify embed formatting and rate-limit handling before enabling recurring scheduling. If you want stronger guarantees, run the included script from your own scheduled runner and keep the webhook secret in your scheduler's secure config (not in plain text prompts).
Capability Analysis
Type: OpenClaw Skill Name: news-ai-001 Version: 1.0.0 The skill bundle is designed to fetch news headlines and send them to a Discord channel via a webhook. The Python script 'send_to_discord.py' uses standard libraries to perform a POST request, and the 'SKILL.md' instructions are well-defined and aligned with the stated purpose without any signs of malicious intent or prompt injection.
Capability Assessment
Purpose & Capability
The name/description say: fetch news and post to Discord. The repository includes a send_to_discord.py that constructs a Discord embed and POSTs to a Discord webhook URL; SKILL.md describes selecting stories and invoking that script. There are no unrelated environment variables, binaries, or external services requested.
Instruction Scope
Instructions tell the agent to run a local date command, perform 2–3 web searches to gather stories, build a JSON and call the bundled script. That scope is consistent with the stated purpose. Note: SKILL.md's example invokes scripts/send_to_discord.py (relative scripts/ path), but the repo contains send_to_discord.py at the top level — this path mismatch will cause runtime errors unless corrected.
Install Mechanism
No install spec is provided (instruction-only skill with a small included script). Nothing is downloaded or written to disk by an installer; risk from install mechanism is minimal.
Credentials
No environment variables or credentials are declared. The skill requires a Discord webhook URL at runtime (a sensitive value) but does not request any unrelated secrets (AWS keys, tokens, etc.). The webhook must be supplied by the user or scheduled task.
Persistence & Privilege
The skill is not force-installed (always:false) and does not request elevated privileges or modify other skills. It does perform network I/O to the provided webhook only.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install news-ai-001
  3. After installation, invoke the skill by name or use /news-ai-001
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Hey
Metadata
Slug news-ai-001
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 259 downloads so far.

How do I install AI news generator?

Run "/install news-ai-001" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AI news generator free?

Yes, AI news generator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does AI news generator support?

AI news generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AI news generator?

It is built and maintained by Scott Lai (@scottll); the current version is v1.0.0.

💬 Comments