github-trending

github-trending is a skill for Claude Code, Codex from majiayu000/spellbook. It costs 81 tokens per session (1,217 once invoked), scanned A, original, MIT.

A research and reporting skill for finding popular open-source projects on GitHub and analyzing technology trends. GitHub Trending is a list of repositories receiving notable recent attention.

In plain words
What is it for?
Use it for daily or weekly trend reports, language-specific searches such as Rust projects, developer rankings, and comparisons of promising open-source projects.
Why use it?
Popular-project lists can contain hype or low-quality AI-generated projects. This workflow structures the data and filters for stronger signs of real interest.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/majiayu000/spellbook/github-trending
Any agent
npx skills add majiayu000/spellbook --skill github-trending
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-trending

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/spellbook/github-trending.svg)](https://agentmods.dev/skills/majiayu000/spellbook/github-trending)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/spellbook/github-trending"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/github-trending.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.01217
Opus 5 $0.00041 $0.00609
Sonnet 5 $0.00016 $0.00243
Haiku 4.5 $0.00008 $0.00122

Measured 4d ago against content hash 728f1277d7b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-trending scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_trending.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/github-trending/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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. 拿干净数据(优先用脚本)

    # 在 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

脚本安装与依赖

首次使用执行:

python3 -m pip install -r requirements.txt

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

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

Read the full file on GitHub · 115 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 115 lines · 81 tokens per session scan A 728f1277d7b5

Subscribe to this mod's changes

github-trending is a skill published in the GitHub repository majiayu000/spellbook (265 stars, last pushed 3d ago), licensed MIT. It adds 81 tokens to every session and 1,217 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

general-video

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a…

Sma1lboy/rove · 114 tokens

session-scan

Compute metrics for Claude Code sessions. Discovers via ccrider, filters trivial, computes friction/opportunity/fingerprint scores. Use for broad session triage.

oliver-kriska/claude-elixir-phoenix · 36 tokens

vc-autopilot

Emit and validate the provisional goal block for Autopilot Mode. Owns the 9-field format and resume detection from a pasted goal block.

withkynam/vibecode-pro-max-kit · 34 tokens

manage-schemas

Creates, views, edits, deletes, and validates note schemas for the MCP Task Orchestrator in .taskorchestrator/config.yaml — the templates that define which notes agents must fill at each workflow phase. Also recommends schema designs from a library of workflow patterns (autonomous coding loops, spec-driven teams…

jpicklyk/task-orchestrator · 212 tokens

vc-audit-vc

Audit agent harness health: Claude/Codex agent parity, skill registry consistency, README.md sync, and protocol file wiring. Use when agents, skills, README.md, or development-protocol files move, split, or drift.

withkynam/vibecode-pro-max-kit · 52 tokens

lov-env-management

统一管理平台、账号与多组 API Key,维护有效期和启用状态,安全同步到 zsh 或用户会话环境,并提供脱敏 Dashboard;用户说“管理环境变量”“rotate API keys”时使用。.

lovstudio/skills · 53 tokens