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.
npx agentmods add skills/majiayu000/spellbook/github-trendingnpx skills add majiayu000/spellbook --skill github-trendinggit clone --depth 1 https://github.com/majiayu000/spellbookWrote 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.
[](https://agentmods.dev/skills/majiayu000/spellbook/github-trending)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
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 回答即可)。
完整工作流(必须按顺序,不要跳步)
-
拿干净数据(优先用脚本)
# 在 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。
-
筛 TOP N + 过滤 hype
- 默认 5-8 个
- 优先选 stars_today 有真实增量 + forks 跟上 + 不是纯 awesome-list 的
- 参考
reference/extended.md中的「Hype 红旗」快速排除
-
必要时轻度 enrich
- 只对最终入榜的 2-3 个项目,必要时再用 WebFetch 看 README 头部或 Releases
- 不要一上来就读全量 README
-
套模板 + 必写 Angle
- 用参考模板组织
- 最后必须有独立一段「今日观察 / Angle」,这是产出价值所在
-
输出 + 归档(可选)
- 普通用户:直接给 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。
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.
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.
- 4d ago First seen · 115 lines · 81 tokens per session scan A 728f1277d7b5
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.
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…
session-scan
Compute metrics for Claude Code sessions. Discovers via ccrider, filters trivial, computes friction/opportunity/fingerprint scores. Use for broad session triage.
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.
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…
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.
lov-env-management
统一管理平台、账号与多组 API Key,维护有效期和启用状态,安全同步到 zsh 或用户会话环境,并提供脱敏 Dashboard;用户说“管理环境变量”“rotate API keys”时使用。.