← 返回
未分类 Key 中文

daily-news-english-cards

Generate daily bilingual English learning cards with vocabulary, summaries, and AI-created comic illustrations from the latest news in politics, finance, spo...
根据最新政治、财经等新闻,生成每日双语英语学习卡片,包含词汇、摘要和AI生成的漫画插图。
jasonruan
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 290
下载
💾 0
安装
1
版本
#latest

概述

Generate daily news English learning cards with comic illustrations.

Search the latest 24-hour news across 5 categories (Politics, Finance, Sports,

Entertainment, Technology), create vocabulary-rich learning cards with AI-generated

comic art and bilingual summaries.

Use when the user asks to "generate English learning cards", "create news cards",

"daily English cards", "新闻英语卡片", "每日英语学习", "生成学习卡片",

or similar requests related to news-based English learning content.


Prerequisites

Three API keys are required. Set them as environment variables before running:

VariableServiceGet Key
---------
TAVILY_API_KEYTavily Search (news)https://tavily.com
DEEPSEEK_API_KEYDeepSeek (text gen)https://platform.deepseek.com
OPENROUTER_API_KEYOpenRouter (image gen)https://openrouter.ai

Optional:

VariableDefaultDescription
---------
IMAGE_MODELgoogle/gemini-3.1-flash-image-previewOpenRouter image model (Nano Banana 2)

Steps

  1. Verify environment variables are set

Check that TAVILY_API_KEY, DEEPSEEK_API_KEY, and OPENROUTER_API_KEY are

configured. If any are missing, prompt the user to set them.

  1. Install dependencies

```bash

pip install -q tavily-python openai Pillow requests

```

  1. Run the generator script

```bash

python daily-news-english-cards/scripts/generate_cards.py

```

The script will:

  • Search 5 categories of news via Tavily
  • Generate vocabulary & summaries via DeepSeek
  • Create comic illustrations via OpenRouter (Nano Banana 2)
  • Composite final learning cards via Pillow
  1. Present results

Show the user the generated card images from output/daily-news-cards/{date}/.

Customization

# Custom categories
python daily-news-english-cards/scripts/generate_cards.py --categories politics sports technology

# Custom output directory
python daily-news-english-cards/scripts/generate_cards.py --output-dir ./my-cards

Output

Each run produces in output/daily-news-cards/{date}/:

  • card_{category}_{date}.png — Final learning cards (1080×1440px)
  • comic_{category}_{date}.png — Raw comic illustrations
  • content_{date}.json — Structured learning content data

Architecture

daily-news-english-cards/
├── SKILL.md                    # This file
├── requirements.txt            # Python dependencies
└── scripts/
    └── generate_cards.py       # Self-contained generator (all logic in one file)

The script is fully portable — works with Cursor, OpenClaw, or standalone CLI.

No IDE-specific tools are used; all external calls go through standard APIs.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 19:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,989
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,059 📥 797,960
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,354 📥 317,971