Agent skill

GitHub Trending

by majiayu000 in majiayu000/spellbook

GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。

MITAuto-check passed

Install GitHub Trending

skills CLI
$ npx skills add majiayu000/spellbook --skill github-trending -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/spellbook github-trending --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/github-trending .claude/skills/github-trending && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-trending
GitHub stars
286
Token cost
~647 tokens
SKILL.md length
178 words
Files
4 (incl. scripts)
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。

  • Works in 5 steps: 拿干净数据(优先用脚本) → 筛 TOP N + 过滤 hype → 必要时轻度 enrich → …
  • SKILL.md covers 何时触发(推荐触发词), 完整工作流(必须按顺序,不要跳步), 脚本安装与依赖 and 输出硬性要求, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

GitHub Trending is an agent skill from majiayu000/spellbook. GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `reference/extended.md` and `scripts/fetch_trending.py`).

It works with GitHub and Rust. The repository describes itself as: Cross-runtime skills for Claude Code, Codex, and multi-agent workflows. The licence is MIT.

Example prompts

  • “看看今天 GitHub 什么火了”
  • “Rust 最近热门项目”
  • “AI 领域趋势日报”
  • “/github-trending”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 拿干净数据(优先用脚本)
  2. 筛 TOP N + 过滤 hype
  3. 必要时轻度 enrich
  4. 套模板 + 必写 Angle
  5. 输出 + 归档(可选)

What it can do on your machine

Read from SKILL.md and the folder at commit 6310f81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Trending loads about 647 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 178 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~647

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from majiayu000/spellbook at commit 6310f81, republished under its MIT licence (© majiayu000). 178 words, ~647 tokens.

Download SKILL.mdSave it as .claude/skills/github-trending/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
github-trending
description
GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。

2026 版核心认知:GitHub Trending 已是严重被 hype 和 AI slop 污染的榜单(Karpathy 等反复确认)。本 skill 的唯一价值是「结构化数据 + 严格过滤 + 写出真实 angle」,而不是再输出一份 list。

职责边界(严格遵守):

  • 只负责发现 + 趋势分析 + 日报/洞察报告
  • 不负责把结果加工成公众号/小红书/X 帖(用 /scout-to-article)
  • 不负责多 AI 深度竞品/社区反应调研(用 /multi-ai-research)

何时触发(推荐触发词)

  • 探索今日/本周热门
  • “Rust / Python / Go 最近有什么好项目”
  • “AI / Agent / LLM 领域现在 trending 什么”
  • “帮我看看 GitHub trending,有没有类似 X 的项目”
  • “最近什么技术在快速增长,值得关注”
  • “做个 GitHub trending 日报 / 周报”
  • 想过滤 hype、要真实增长信号时

不适合:纯快速事实查询(直接让 Claude 回答即可)。


完整工作流(必须按顺序,不要跳步)

  1. 拿干净数据(优先用脚本)

    bash
    # 在 skill 目录执行;如果 skill 已安装到 ~/.claude/skills,也可以换成对应安装路径
    cd /path/to/spellbook/skills/github-trending
    
    # 今日总榜 TOP 8
    python3 scripts/fetch_trending.py --since daily --limit 8
    
    # Rust 周榜
    python3 scripts/fetch_trending.py --since weekly --language Rust --limit 6
    
    # 开发者榜
    python3 scripts/fetch_trending.py --developers --since daily --limit 10

    脚本输出结构化 JSON,绝不直接 WebFetch 原始 HTML。

  2. 筛 TOP N + 过滤 hype

    • 默认 5-8 个
    • 优先选 stars_today 有真实增量 + forks 跟上 + 不是纯 awesome-list 的
    • 参考 reference/extended.md 中的「Hype 红旗」快速排除
  3. 必要时轻度 enrich

    • 只对最终入榜的 2-3 个项目,必要时再用 WebFetch 看 README 头部或 Releases
    • 不要一上来就读全量 README
  4. 套模板 + 必写 Angle

    • 用参考模板组织
    • 最后必须有独立一段「今日观察 / Angle」,这是产出价值所在
  5. 输出 + 归档(可选)

    • 普通用户:直接给 Markdown 日报
    • 想后续发文:把 JSON + angle 结构喂给下游 skill

脚本安装与依赖

首次使用执行:

bash
python3 -m pip install -r requirements.txt

如果没有 requirements.txt,手动安装:

bash
python3 -m pip install requests beautifulsoup4 lxml

脚本位置:scripts/fetch_trending.py(相对本 skill 目录)。

支持参数见脚本 --help。所有错误都会以清晰 JSON 返回,绝不静默失败。


输出硬性要求

日报结尾必须包含「Angle」段,否则视为不合格输出。

好 Angle 特征:

  • 指出 1-2 个跨项目模式(技术演进、社区偏好、 hype 信号)
  • 给出可行动建议(“这个方向值得跟进,但优先看 fork 增长”)
  • 基于今日真实数据,不复述旧知识

进阶场景

  • 领域深度报告:先用脚本按 language 拉月榜,再结合 reference/extended.md 里的评估框架写对比表。
  • 长期跟踪:用 /loop 技能每天定时跑脚本 + 分析,输出到固定目录。
  • 想知道社区真实反应:对重点项目再调用 /multi-ai-research。
  • 想发内容:把结构化结果 + angle 交给 scout-to-article。

Extended Reference

所有详细框架(数据源、评估维度、hype 识别、趋势分类、好/坏 Angle 示例、scraper 维护提示、2026 社区共识)已移至 reference/extended.md。

日常触发时不需要读它。只有你要定制模板、维护脚本、或做高精度分析时再加载。


更新记录:2026-05 完整重构(引入可靠 scraper 层 + 严格 pipeline + 拆分 reference + 移除所有硬编码日期/旧趋势列表)。数据永远以脚本实时输出为准。

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/github-trending of majiayu000/spellbook.

  • SKILL.md
  • reference/extended.md
  • requirements.txt
  • scripts/fetch_trending.py

Open the folder on GitHubat commit 6310f81

Compare with similar skills

GitHub Trending next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Trending compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Trending this skillmajiayu000/spellbook286—~647Automated safety check: PassMIT
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0
GreptimeDB Fuzz CI Failure InvestigationGreptimeTeam/greptimedb6.7k—~4.4kAutomated safety check: PassApache-2.0
Worktrunk Release Workflowmax-sixty/worktrunk9k—~6.9kAutomated safety check: PassCustom licence
PR Cyclejaemk/cached2.1k—~4.8kAutomated safety check: NotesMIT
Rocketmq Rust Issue Generatormxsm/rocketmq-rust1.5k—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.

    6.7k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Worktrunk Release Workflow

    max-sixty/worktrunk

    Walks a maintainer through cutting a Worktrunk release: sync the release branch, pass two test gates, review the changes, then publish.

    9k GitHub stars~6.9k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • A skill your agent uses when the user asks to create, draft, prepare, or publish a GitHub issue for the rocketmq-rust project — bugs, features, enhancements, refactors, docs, unit tests, CI…

    1.5k GitHub stars~1.6k tokensUpdated today
    Testing & QAAuto-check passed
  • PR Review

    jaemk/self_update

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.

    961 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes

More from majiayu000/spellbook

All 97 skills in this repo
  • Skill Ecosystem Doctor

    majiayu000/spellbook

    Audits and repairs how coding-agent Skills are owned, copied and exposed across runtimes, from canonical sources to quarantine and retirement.

    286 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • AGENTS.md Scaffold

    majiayu000/spellbook

    Scans a repository for real evidence and proposes, or on request writes, a small stack of root and scoped AGENTS.md files with validation commands and generated-file boundaries.

    286 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Product Demo Builder

    majiayu000/spellbook

    Plans, produces or diagnoses evidence-backed product demo videos: script, capture plan, pacing checks and verified final media built on real product behavior.

    286 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Flowguard Task Guard

    majiayu000/spellbook

    Single entry point that routes long or ambiguous agent tasks, checks live state, bounds autonomous loops and leaves a resumable handoff.

    286 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • npm Supply Chain Check

    majiayu000/spellbook

    Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.

    286 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Product Manager Toolkit

    majiayu000/spellbook

    Product management helpers: a RICE scoring script, an interview transcript analyzer and PRD templates for prioritizing features, synthesizing research and writing requirements.

    286 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Works with

Questions about GitHub Trending

What does GitHub Trending do?

GitHub Trending 探索与分析。用于发现热门开源项目、技术趋势、开发者偏好,帮助理解技术社区的兴趣走向。使用场景包括“看看今天 GitHub 什么火了”、“Rust 最近热门项目”、“AI 领域趋势日报”、“这个方向有没有值得关注的开源项目”、“帮我做个 GitHub trending 分析”。. GitHub Trending is an agent skill from majiayu000/spellbook.

How do I install GitHub Trending in Claude Code?

Run `npx skills add majiayu000/spellbook --skill github-trending -a claude-code`. Or copy the skill folder (skills/github-trending in majiayu000/spellbook) into .claude/skills/github-trending in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Trending in Codex?

Run `npx skills add majiayu000/spellbook --skill github-trending -a codex`. Or copy the skill folder (skills/github-trending in majiayu000/spellbook) into .agents/skills/github-trending in your project. Codex loads it when a task matches its description.

Can I use GitHub Trending in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/spellbook --skill github-trending -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-trending, .gemini/skills/github-trending, .github/skills/github-trending and .opencode/skills/github-trending in your project.

What does GitHub Trending need to run?

Going by SKILL.md and its folder, GitHub Trending needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does GitHub Trending access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is GitHub Trending safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does GitHub Trending use?

GitHub Trending is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Trending use?

About 647 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Trending?

Skills that share tags, products or a category with GitHub Trending: Update V8 Version (openinterpreter/openinterpreter, 69k stars), GreptimeDB Fuzz CI Failure Investigation (GreptimeTeam/greptimedb, 6.7k stars), Worktrunk Release Workflow (max-sixty/worktrunk, 9k stars) and PR Cycle (jaemk/cached, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Trending?

majiayu000 (a GitHub user) maintains it in majiayu000/spellbook, which has 286 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 8, 2026.

Source: majiayu000/spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.