← ClaudeAtlas

ai-daily-digestlisted

Generate and publish a daily AI-vendor news card digest. Fetches the latest Anthropic (and later OpenAI, etc.) official announcements, curates them into concise Chinese summaries, renders editorial 小红书 (1080×1440) and 微信公众号 cards, updates a GitHub Pages review page, and can push a mobile notification. Use when the user wants to "做今天的 AI 日报 / Anthropic 动态卡片", "抓取最新 Anthropic 新闻并生成小红书图", "更新每日 AI 速递", refresh the gh-pages review page, or run the daily digest pipeline.
yinjialu/ai-frontier-daily · ★ 0 · AI & Automation · score 60
Install: claude install-skill yinjialu/ai-frontier-daily
# AI Daily Digest(每日 AI 大厂动态卡片) 抓取 AI 大厂(当前 Anthropic,后续可扩展 OpenAI 等)官方动态 → 中文策展 → 渲染 小红书 / 公众号卡片 → 更新 GitHub Pages 审核页 → 推送移动端通知。发布到平台的 最后一步由人工完成(符合各平台规则)。 ## 两种运行方式 | 方式 | 适用 | 摘要来源 | | --- | --- | --- | | **A. Claude 驱动**(推荐给 routine / 交互) | Claude Code / 定时 agent | 由 Claude 直接用 web 工具抓取并策展,质量最高 | | **B. 纯 Python**(GitHub Actions 无人值守) | CI | `run.py --live`:抓 RSS + 调 Claude API | 两种方式产出同一套 `data/<date>.json` 与 `output/<date>/*.png`,由同一渲染器 (`render.js` + `cards.js` + `cards.css`,唯一真源)渲染,风格一致。 ## A. Claude 驱动(推荐) 在仓库根目录执行以下步骤(`output/`、`data/` 写到当前工作目录): 1. **抓取真实最新动态**。用 `WebFetch` 拉 `https://www.anthropic.com/news` 取顶部最新条目(标题 + 日期 + 分类),必要时 `WebSearch` 补充细节。也可读 `sources.yaml` 里的 RSS。 2. **价值筛选 + 中文策展**。只保留对中文 AI 从业者有价值的条目(模型发布、能力 更新、重要研究、重大合作、定价/政策),过滤纯招聘/办公室开设/人事任命等。 每条:选一个标签【模型发布/开发者/企业/研究/生态/政策/安全】,写 50–80 字 客观中文摘要(说清「变了什么 + 对用户意味着什么」,不夸张不编造),按重要性 降序,最多 6 条。 3. **写当天数据**到 `data/<YYYY-MM-DD>.json`,字段见下面 schema。 4. **渲染卡片**: ```bash node "$SKILL_DIR/render.js" data/<date>.json output/<date> --engine playwright ``` (`$SKILL_DIR` = 本 skill 目录;首次需 `npm i playwright && npx playwright install chromium`) 5. **更新审核页指针** `output/latest.json`:`{date, cnDate, dir, files:[*.png 排序]}`。 6. **提交并推送**(触发 GitHub Pages 重新发布): ```bash git add -A data output && git commit -m "daily: <date>" && git push ``` 7. **推送移动端**:用 `PushNotification` 发一条「今日卡片已生成 · 审核: https://<user>.github.io/<repo>/」,用户手机上打开审核页查看卡片。 ### data JSON schema ```json {