@kafkacat/w2a-gh-trending
v0.1.0
Published
W2A sensor — periodic digest of trending repositories on GitHub (daily or weekly).
Downloads
29
Maintainers
Readme
@kafkacat/w2a-gh-trending
A World2Agent sensor that scrapes github.com/trending on a daily or weekly cadence and emits one digest signal per cycle.
Each repo.trending.refreshed signal carries:
- A multi-line, emoji-rich
event.summarywith per-repo links and heat badges (an agent can triage from this alone). - A structured
source_event.data.repos[]— rank, full_name, url, description, language, stars total / stars gained in window, forks. - An inline markdown digest in
attachments[0]with a "Why it's hot" / "Use it for" line per repo (derived from star ratios — no extra network calls, no LLM). - A reference link to the live trending page in
attachments[1].
No GitHub authentication required — the trending page is public.
Install
npm install -g @kafkacat/w2a-gh-trendingInside Claude Code, prefer
/world2agent:sensor-add @kafkacat/w2a-gh-trending— the plugin walks theSETUP.mdQ&A and wires up the handler skill for you.
Signals emitted
repo.trending.refreshed
Run
w2a-gh-trendingOr with explicit configuration via env vars:
W2A_CADENCE=daily W2A_TOP_N=5 w2a-gh-trendingSee SETUP.md for the full configuration table and handler-skill template.
License
MIT
