modelscope.cn

tech-news

聚合科技新闻并生成中文Markdown日报。抓取 Hacker News、GitHub Trending 等, 翻译标题与摘要,可选上传?

Installation

$ npx skills add https://modelscope.cn

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,301 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

科技新闻聚合

从多源抓取热门科技新闻,翻译成中文并生成Markdown汇总,可选上传配图到R2。

使用场景

  • 生成每日科技新闻汇总
  • 需要多源聚合 + 中文摘要
  • 需要带图片的Markdown报告

前置条件

  • Python 3.8+ (python3)
  • 翻译API:MINIMAXAPIKEY 或 OPENAIAPIKEY(Minimax 默认 MiniMax-M2.1-lightning)
  • 图片上传(可选):~/.r2-upload.yml 或 R2UPLOADCONFIG
  • 网络可访问新闻源与图片
  • 可选性能参数:FETCHWORKERS(默认 4)、TRANSLATEWORKERS(默认 3)

推荐流程

  1. 确认日期、来源、数量、是否需要图片与输出路径。
  2. 运行 python3 scripts/generate.py ...。
  3. 复查标题翻译、摘要质量、重复项与图片链接。
  4. 如图片失败,可用 --no-images 重新生成或用 scripts/process_images.py 补图。

快速使用

python3 scripts/generate.py --date $(date +%F) --save ./news.md

常用参数

  • --sources <list>: 指定新闻源(默认:hackernews reddit-programming github-trending devto lobsters paperswithcode huggingface arxiv-ai)
  • --count <n>: 每源抓取数量(默认:15)
  • --limit <n>: 最终精选数量(默认:10)
  • --max-images <n>: 处理图片上限(默认:10)
  • --no-images: 禁用图片处理
  • --output-only: 仅输出Markdown

分类规则

  • AI与机器学习: ai, llm, gpt, claude, model
  • 开发工具与开源: rust, python, github, framework
  • 基础设施与云原生: cloud, aws, kubernetes, docker
  • 产品与设计: product, design, ui, startup
  • 趣闻与观点: 其他

输出格式

采用固定结构,确保一致性:

# 📰 YYYY-MM-DD 科技早报

> 📊 **今日导读**
> 精选 10 条科技新闻
> 来源:Hacker News(4) | GitHub Trending(3) | Lobsters(3)

---

## 📋 文章速览

**AI与机器学习**:3 篇
1. 文章标题一
2. 文章标题二
...

---

## AI 与机器学习

### 1. 文章中文标题

📰 **Hacker News**

<img src="https://r2.example.com/image.jpg" width="100%">

**摘要**:中文摘要内容...

**核心要点**:
• 要点一
• 要点二
• 要点三

🔗 [阅读原文](https://example.com)

---

完整模板与示例见 references/EXAMPLES.md。

参考

  • references/WORKFLOW.md
  • references/SOURCES.md
  • references/EXAMPLES.md