home / skills / openclaw / skills / daily-ai-news

daily-ai-news skill

/skills/jaceymarvin99/daily-ai-news

This skill delivers daily AI news briefs on AI, large models, and related fields, helping you stay informed with concise, structured updates.

npx playbooks add skill openclaw/skills --skill daily-ai-news

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
2.6 KB
---
name: daily-ai-news
description: Use when users need comprehensive daily news about AI, large models, and related fields.
---

# Daily AI News Skill

This skill helps AI agents fetch and present daily curated AI news from the 60s API, which provides the latest updates on AI, large models, and related technologies.

## When to Use This Skill

Use this skill when users:
- Ask for today's AI news or updates on large language models
- Want a quick daily briefing on artificial intelligence
- Request AI news summaries
- Need historical AI news from a specific date
- Want AI news in different formats (text, JSON, markdown)

## How to Use

Execute the associated `scripts/news.sh` script to fetch the AI news.

```bash
./scripts/news.sh [options] [date]
```

### Options

- `--encoding, -e <format>`: Optional. Specifies the output response format. Valid options are `text`, `json`, and `markdown`. The API defaults to `json` if not specified.
- `--date, -d <YYYY-MM-DD>`: Optional. Fetch historical AI news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the `--date` flag entirely.

### Return Values

The script securely calls the 60s AI news API and outputs the response to `stdout`. Depending on the `encoding` parameter, the response could be a JSON string, plain text, or markdown.

### Usage Examples

```bash
# Get today's AI news using default API encoding (json)
./scripts/news.sh

# Get today's AI news in plain text format
./scripts/news.sh --encoding text

# Get AI news for a specific date using flags
./scripts/news.sh --date 2024-03-01

# Get AI news for a specific date (simplified usage without flags)
./scripts/news.sh 2024-03-01

# Get AI news for a specific date in markdown format
./scripts/news.sh -e markdown -d 2024-03-01
```

## Response Format

To balance information depth with token consumption, you **MUST** use the following rules for the `encoding` parameter:

1. **Default Strategy (`--encoding markdown`)**
   - **When to use:** By default for standard AI news inquiries.
   - **Why:** Provides well-structured, easy-to-read information with moderate token usage.

2. **Brief Information (`--encoding text`)**
   - **When to use:** When the user explicitly requests brief or summarized AI news.
   - **Why:** Returns only essential details in plain text, saving maximum tokens.

3. **Complete Information (`--encoding json`)**
   - **When to use:** Only when the user explicitly asks for raw data, detailed fields, or comprehensive data.
   - **Why:** Returns the complete API payload, which is highly token-heavy.

Overview

This skill fetches and presents a curated daily briefing of AI news, focusing on large models and related technologies. It calls a reliable AI news API and returns results in text, JSON, or markdown according to the requested encoding. The skill is optimized for concise summaries or full raw payloads when detailed data is required.

How this skill works

The skill invokes a script that securely queries the AI news API and streams the response to stdout. You can request today's news or a historical date and choose encoding: markdown for readable summaries, text for brief output, or json for the complete payload. The script accepts date and encoding flags and defaults to the API's JSON when no encoding is specified.

When to use it

  • When a user asks for today’s AI headlines or a quick briefing on large models
  • When you need a summarized daily digest in markdown or plain text
  • When a user requests historical AI news for a specific date
  • When an agent must produce machine-readable data (JSON) for downstream processing
  • When preparing media updates, newsletters, or team briefings about AI developments

Best practices

  • Default to markdown for human-friendly, structured summaries that balance depth and token use
  • Use text encoding when the user explicitly requests a short, token-efficient summary
  • Request json only when you need full API fields, bulk data, or integration with other tools
  • Validate user-supplied dates and fall back to today when a date is missing or invalid
  • Cache recent requests to reduce repeated API calls for the same date and encoding

Example use cases

  • Deliver a morning digest to a product team with key AI model launches and research highlights
  • Provide a single-paragraph text summary for a mobile notification
  • Return JSON for an analytics pipeline that aggregates AI news trends over time
  • Fetch historical AI headlines for a timeline or research citation
  • Convert the markdown briefing into an email newsletter or Slack post

FAQ

What encoding should I use by default?

Use markdown for readable, structured summaries. Use text for brief outputs and json only for raw, comprehensive payloads.

How do I request news for a specific date?

Provide the date as YYYY-MM-DD with the --date or -d flag, or pass the date as the only positional argument.