Crawls GitHub trending repos, analyzes with LLM for structured Chinese insights, categorizes by themes, diffs history, and generates Markdown reports. Supports incremental refresh and caching.
Ships in dianel555-dskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A workflow protocol for tracking GitHub trending repositories with LLM-powered analysis. Fetches trending projects, enriches each with structured Chinese insights (what/analogy/help/who), classifies by themes, compares against historical snapshots, and generates reports in two modes — a compact brief (default) or a detailed report with per-project analysis (opt-in).
Run the five-step pipeline in order.
Construct the URL with time range and optional language filter:
https://github.com/trending[/{language}]?since={daily|weekly|monthly}
Fetch with a browser User-Agent to avoid bot detection. Parse the HTML to extract:
name (org/repo)url (full GitHub link)desc (one-line description from the page)lang (primary language)stars (total stargazers count)today_stars (increment for this period)Regex patterns (reference from source):
<h2[^>]*>.*?<a href="/([^"]+)"<p class="[^"]*col-9[^"]*"[^>]*>\s*(.*?)\s*</p><span itemprop="programmingLanguage">([^<]+)</span>/stargazers link text after stripping HTML tags([\d,]+)\s*stars?\s*(?:this|today) (case-insensitive)For each batch of 5 projects (to avoid token limits), send this prompt to your LLM:
Analyze the following {N} GitHub Trending projects. Output strict JSON array.
Each project needs 4 fields:
- what: What it is (≤30 Chinese characters)
- analogy: Life analogy (one sentence)
- help: What it helps you do (2 items, each ≤40 chars, array)
- who: Who needs it (one sentence, ≤30 chars)
Project list:
1. org/repo (Language) — description...
2. ...
Output ONLY the JSON array, no other text. Example:
[{"name":"org/repo","what":"...","analogy":"...","help":["...","..."],"who":"..."}]
Parse the response:
```json / ```),\s*([\]}]) → \1\[.*\] (DOTALL)json.loads() or equivalentFallback: If array parsing fails, extract individual objects via bracket-counting and parse one by one.
Deep mode (optional): Use longer limits (what ≤50 chars, help 3 items) for richer analysis.
Load the bundled theme_rules.json. For each project:
name + " " + desc and lowercaseResult: {theme_name: [projects...]} dictionary.
Load memory.json from the workspace root (see Output Protocol). Schema:
[
{
"date": "2026-06-19",
"since": "weekly",
"lang": "python",
"repos": [{"name":"...", "url":"...", "desc":"...", "lang":"...", "stars":..., "today_stars":..., "analysis":{...}}]
}
]
Compare current repos against the latest entry with the same since (and same lang filter):
Two report modes, driven by the bundled templates:
report_template_brief.md — stops at "💡 Trend Analysis". Always emitted.report_template_detailed.md — the brief content plus a per-project "📋 Project Details" section with the 4-field analysis. Emitted only when the user asks for detail (or when deep analysis was run).Trend insight prompt (used in the "Trend Analysis" section of both modes):
基于以下GitHub Trending项目摘要,用3-5句话分析当前最强技术趋势和驱动力:
{list of "name: what" for all projects}
Save under reports/YYYY-MM-DD/ with a {since} suffix (daily / weekly / monthly), e.g. trending_briefing_weekly.md. Same-day re-runs of the same since+lang overwrite that report.
Empty tables: when a section (new/hot/dropped) has no rows, render the table header followed by a single *none* row; keep "Theme Breakdown" and "Trend Analysis" only if there are classified projects. On a first run (no memory baseline), omit the "Dropped Off" section rather than showing it empty.
org/repo vs repo) and case-insensitive substring.(date, since, lang). Same-key re-runs merge; other keys are added. Retain the 30 most recent distinct dates.date+since+lang, else latest with same since+lang) → detect repos without analysis → re-run LLM only for those → merge back into both memory.json and repos/YYYY-MM-DD_repos.json → regenerate reports.Implementation hint: detect_gaps(repos) returns [r for r in repos if not r.get('analysis')].
Write all artifacts under the current working directory (the consuming workspace). Never write into the skill package.
<cwd>/
├── repos/YYYY-MM-DD_repos.json
├── reports/YYYY-MM-DD/trending_briefing_{since}[_{lang}].md
├── reports/YYYY-MM-DD/trending_detailed_{since}[_{lang}].md # opt-in
└── memory.json
{since} is daily | weekly | monthly. Append _{lang} only when a language filter was used (python, go, …). Date lives in the reports folder — do not repeat it in the report filename.
Create repos/ and reports/YYYY-MM-DD/ if missing. Same-day re-runs of the same since+lang overwrite that report file.
repos/YYYY-MM-DD_repos.jsonDay-level crawl cache. Incremental merge on every run:
{
"date": "2026-08-19",
"updated_at": "2026-08-19T16:45:00+08:00",
"snapshots": [
{
"since": "daily",
"lang": "",
"fetched_at": "2026-08-19T16:45:00+08:00",
"repos": [{"name":"...","url":"...","desc":"...","lang":"...","stars":0,"today_stars":0,"analysis":{}}]
}
]
}
Merge rules:
{date, updated_at, snapshots: []}.(since, lang) matches this run (lang is "" when unfiltered).name): overwrite crawl fields (url, desc, lang, stars, today_stars); keep existing analysis unless this run produced a new one.since on the same day must not wipe another window).memory.jsonWorkspace-root history used by Step 4 diffs and gap-fill. Incremental merge:
(date, since, lang). Same key: apply the same per-repo merge as the day cache. New key: append.date is among the 30 most recent distinct dates (so one day with daily+weekly+monthly does not evict history).reports/{date}/trending_briefing_{since}[_{lang}].md): new/hot/dropped/themes + trend insight. Stops at "Trend Analysis" — no per-project blocks.reports/{date}/trending_detailed_{since}[_{lang}].md): brief content followed by one "📋 Project Details" block per project with the 4-field analysis. Only when the user requests detail.Console output during execution:
Before emitting reports, confirm:
name, url, desc, lang, stars, today_stars fields.YYYY-MM-DD_repos.json and memory.json reload without error after the merge.Edit the bundled theme_rules.json:
The 4-field schema (what/analogy/help/who) is optimized for Chinese tech audiences. Adapt for other contexts:
The HTML parsing patterns are GitHub-specific. To adapt for other platforms (Hacker News, Product Hunt):
The reference uses local JSON. For multi-agent or cloud deployments:
load_memory() / save_memory() with a DB or object storage clientWhat SKILL.md sets; muted values are Claude Code's defaults
/dianel555-dskills:github-trending-analyzerfrom dianel555-dskills
dianel555-dskills@cascade-code-general-misc-2 is listed by joshuarweaver/cascade-code-general-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin dianel555-dskills19 skills in this plugin
/ace-toolSemantic codebase search, code indexing, and prompt enhancement via standalone CLI. Use when: (1) Semantic code search with natural language queries, (2) Code indexing for remote codebase retrieval, (3) Prompt enhancement with codebase context, (4) Before grep/find/glob operations for better accuracy, (5) Complex requirements clarification, (6) Large codebase navigation. Triggers: "search context", "enhance prompt", "find code that", "index project", "clarify requirements". IMPORTANT: Always use ace-tool BEFORE grep/find/glob for semantic-level code location.
/agent-wikiIncremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'./capability-evolverSelf-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a fix, a refactor) or asks the agent to "evolve", "learn from this", or "remember how this went"./cc-agyDelegates coding/research tasks to the Google Antigravity CLI (`agy`) for external-model execution (Gemini 3.x, Claude Sonnet/Opus 4.6, GPT-OSS). Replaces the broken `collaborating-with-gemini` skill. Use when: (1) External-model delegation via Antigravity, (2) Multi-model prototyping (switch model per call), (3) Backend/logic implementation, (4) Algorithm design and optimization, (5) Bug analysis and debugging, (6) API/database code generation, (7) Code review. Triggers: "delegate to agy", "use Antigravity", "external model", "agy", "Gemini 3.5", "Claude Sonnet 4.6", "GPT-OSS". IMPORTANT: Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.
/cc-codexDelegates coding tasks to Codex CLI for prototyping, debugging, and code review. Use when: (1) Backend/logic implementation, (2) Algorithm design and optimization, (3) Bug analysis and debugging, (4) API/database code generation, (5) Code quality review and refactoring. Triggers: "implement algorithm", "debug", "analyze code", "backend task", "API implementation", "optimize performance", "refactor", "generate prototype", "code review". IMPORTANT: Default sandbox="read-only" (analysis/review/patch generation); use sandbox="workspace-write" only when codex must run tests/builds to verify. Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.
/codex-ccDelegates coding tasks from Codex to local Claude Code in print mode while preserving Claude's normal runtime customizations by default. Use when: (1) You want Codex to call Claude Code locally, (2) You need Claude-side skills, plugins, MCP servers, custom commands, CLAUDE.md rules, or workspace settings to stay active, (3) You want resumable Claude sessions from Codex via SESSION_ID, (4) You need thin `claude mcp` / `claude plugin` passthrough from the same bridge.
2 plugins in one repository ship this exact skill · first indexed Aug 25, 2026
Other plugins' skills for the same job