Github Trending logo

Github Trending

CommunityPopular
huangkiki
github-trending

抓取 GitHub 上 star 涨得最快的项目(Trending 榜),打分标注是否与研究方向相关, 生成 Obsidian 笔记到 GitHubTrending 文件夹。默认周榜。 触发词:"GitHub 周榜"、"star 涨得最快"、"过去一周 GitHub 热门"、"GitHub trending"、 "看看这周 GitHub 上火了什么"、"GitHub 日榜"、"GitHub 月榜"

Overview

Publisherhuangkiki
Repositorydailypaper-skills
Skill namegithub-trending
Stars
1.2K
Forks
103
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by huangkiki on GitHub. Read the source before you install it.

Installation

Install the Github Trending AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huangkiki/dailypaper-skills.git /tmp/dailypaper-skills
mkdir -p .claude/skills
cp -r /tmp/dailypaper-skills/skills/github-trending .claude/skills/github-trending
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Github Trending in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Github Trending on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Github Trending is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

开始前: 先说一声 "开始抓 GitHub 榜单 🐙" 并告知今天日期与抓取周期(默认周榜)。

GitHub Trending 抓取

抓取 GitHub Trending → 用关键词打分标注 → 写成 Obsidian 笔记。纯 Python 脚本,零 token。

Step 0: 读取共享配置

配置在 ../_shared/user-config.json,个人覆盖在 ../_shared/user-config.local.json(存在则以 local 为准)。 脚本内部已通过 ../_shared/user_config.py 自动加载,无需手动传参。相关字段:

  • paths.obsidian_vault — vault 根路径
  • paths.github_trending_folder — 输出文件夹(默认 GitHubTrending
  • daily_papers.keywords / negative_keywords / domain_boost_keywords — 复用它们给项目打分、标注相关性

解析周期与语言

从用户输入解析 --since

  • "周榜"、"过去一周"、"这周"、"本周" → --since weekly(默认)
  • "日榜"、"今天"、"今日" → --since daily
  • "月榜"、"这个月"、"本月" → --since monthly

可选 --language(如 "只看 Python" → --language python),不指定则抓全部语言。

工作流程

Phase 1: 抓取 + 打分(fetch_trending.py)

bash
python3 fetch_trending.py --since weekly > /tmp/github_trending.json
# 指定语言示例:
# python3 fetch_trending.py --since weekly --language python > /tmp/github_trending.json

脚本自动完成:

  • 抓取 github.com/trending?since=<周期>(兼容 SSL 拦截环境,自动退回不验证证书)
  • regex 解析:repo、简介、语言、累计 star/fork、本周期新增 star
  • 用共享配置关键词打分,标注 relevant(命中正向/领域词且未被负向词压过),不丢弃非相关项
  • 按本周期新增 star 降序排序

检查输出:确认 /tmp/github_trending.json 是非空 JSON 数组。为空则看 stderr 诊断。

Phase 2: 写 Obsidian 笔记(write_trending_note.py)

bash
python3 write_trending_note.py /tmp/github_trending.json
  • 输出到 {vault}/{github_trending_folder}/
  • 周榜文件名按 ISO 周编号,如 2026-W28 GitHub周榜.md;日/月榜用日期
  • 笔记结构:摘要 → 「🎯 与研究方向相关」列表 → 「📊 完整榜单」表格(含 ✅ 相关标记)
  • 脚本把最终笔记路径打到 stdout

输出

完成后告知用户:

  • 抓取了多少个项目、其中多少个与研究方向相关
  • 生成的笔记路径

注意事项

  • 两个脚本都不启动 Task Agent,零 token 消耗
  • 不做 git 操作(与 daily-papers 一致,git 自动化默认关闭)
  • 网络不通时参考全局 CLAUDE.md 的代理规则(17890 端口);脚本已内置 SSL 兜底
  • GitHub Trending 只有 daily/weekly/monthly 三档,无法自定义任意天数

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Github Trending AI skill do?

抓取 GitHub 上 star 涨得最快的项目(Trending 榜),打分标注是否与研究方向相关, 生成 Obsidian 笔记到 GitHubTrending 文件夹。默认周榜。 触发词:"GitHub 周榜"、"star 涨得最快"、"过去一周 GitHub 热门"、"GitHub trending"、 "看看这周 GitHub 上火了什么"、"GitHub 日榜"、"GitHub 月榜"

Why use Github Trending on TypingMind?

Because you install it once and use it with any model. Github Trending is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Github Trending in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huangkiki/dailypaper-skills/tree/main/skills/github-trending. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Github Trending?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Github Trending?

As many as you like. As long as a model supports skills, you can use Github Trending with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Github Trending AI skill free?

Yes. It is published on GitHub by huangkiki under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇