gh-trending-cli

gh-trending-cli is a skill for Claude Code from ItamarZand88/CLI-Anything-WEB. It costs 74 tokens per session (589 once invoked), scanned A, original, MIT.

A read-only command-line tool for listing GitHub Trending repositories and developers. GitHub Trending is a page showing repositories and developers that are gaining attention, and results can be filtered by language, time period, or spoken language.

In plain words
What is it for?
Use it to find trending repositories or developers, such as popular Python projects this week, and pass structured results to another command.
Why use it?
It removes the need to open GitHub and manually search or copy trending results. JSON output also makes the results easier for scripts to process.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/itamarzand88/cli-anything-web/gh-trending-cli
Any agent
npx skills add ItamarZand88/CLI-Anything-WEB --skill gh-trending-cli
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/CLI-Anything-WEB

Made for: Claude Code.

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 gh-trending-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/gh-trending-cli.svg)](https://agentmods.dev/skills/itamarzand88/cli-anything-web/gh-trending-cli)
Your own site
<a href="https://agentmods.dev/skills/itamarzand88/cli-anything-web/gh-trending-cli"><img src="https://agentmods.dev/badge/skills/itamarzand88/cli-anything-web/gh-trending-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 589 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.1 $0.00074 $0.00589
Opus 5 $0.00037 $0.00295
Sonnet 5 $0.00015 $0.00118
Haiku 4.5 $0.00007 $0.00059

Measured 6d ago against content hash e6a908bd7459, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gh-trending-cli 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 6d 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.

.claude/skills/gh-trending-cli/SKILL.md · 49 lines

What it actually says

GitHub Trending on the command line: repositories and developers, read-only. Install: pip install cli-web-gh-trending

Commands

  • repos list — trending repositories. Options: -l/--language TEXT (e.g. python, javascript, c++), -s/--since [daily|weekly|monthly] (default daily), -L/--spoken-language CODE (ISO 639-1, e.g. en, zh)
  • developers list — trending developers. Options: -l/--language TEXT, -s/--since [daily|weekly|monthly]

Examples

# Trending Python repos this week
cli-web-gh-trending repos list --language python --since weekly --json

# Top 5 by stars gained today
cli-web-gh-trending repos list --json | python3 -c "
import json, sys
for r in json.load(sys.stdin)['data'][:5]:
    print(r['rank'], r['full_name'], r['stars_today'])"

# Trending developers this month
cli-web-gh-trending developers list --since monthly --json

# Trending repos with Chinese-language READMEs
cli-web-gh-trending repos list --spoken-language zh --json

JSON output

Add --json for structured output: {"success": true, "data": [...]} on success, {"error": true, "code": "...", "message": "..."} on failure.

  • Repo fields: rank, owner, name, full_name, description, language, stars, forks, stars_today, url, contributors
  • Developer fields: rank, login, name, avatar_url, profile_url, popular_repo, popular_repo_desc

Utilities

cli-web-gh-trending doctor [--json] diagnoses local setup. cli-web-gh-trending mcp-serve exposes the commands as MCP tools over stdio. Running with no arguments opens an interactive REPL.

Agent tips

  • Use lowercase language names as they appear on GitHub URLs (e.g. c++, not cpp).
  • Developers returns 25 entries; repos return 15–25 depending on the page. contributors is currently always empty and popular_repo_desc is often null — don't rely on them.
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. 6d ago First seen · 49 lines · 74 tokens per session scan A e6a908bd7459

Subscribe to this mod's changes

gh-trending-cli is a skill published in the GitHub repository ItamarZand88/CLI-Anything-WEB (215 stars, last pushed 5d ago), licensed MIT. It adds 74 tokens to every session and 589 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

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

learn

Use when the user says /learn or asks to save this lesson.

tigerless-labs/autoharness · 16 tokens

modern-python-toolchain

Modern Python project setup with uv, ruff, and pyright. Use when initializing a new Python project, configuring the Python environment, setting up linting/formatting, or when a project needs uv (the fast Python package manager). Trigger on: 'set up Python', 'new Python project', 'configure uv', 'install uv', 'ruff'…

XiaomiMiMo/MiMo-Code · 105 tokens

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens

alive:world

The human doesn't know what to work on, or wants to see everything at once. They need the big picture — what's active, what's stale, what needs attention. Renders a live world view grouped by ALIVE domain, then routes to open, tidy, find, history, or map.

alivecontext/alive · 63 tokens