Github trending curation

From CarlosCaPe/octorato · View interactive version

Github trending curation is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Daily brain discovery loop. Pulls top trending from GitHub + HN + Product Hunt, runs heuristic + LLM filter against existing brain skills, surfaces only candidates that beat what we have. Output lands in `~/.claude/knowledge/github-trending/<date>.md` and a daily Notion page. Promote a candidate to

How to use this skill

Skill file

GitHub Trending Daily Curation

Trigger

Activates automatically every day at 07:30 UTC via the local cron supervisor (~/dataqbs-local-cron/runner.py). Manual ad-hoc / backfill:

python3 ~/.claude/scripts/github_trending_digest.py                 # today
python3 ~/.claude/scripts/github_trending_digest.py --date 2026-05-23   # backfill
python3 ~/.claude/scripts/github_trending_digest.py --dry-run        # don't write outputs, just print

What it does

  1. Fetches 3 sources in parallel (60s soft timeout):
  1. Enriches GitHub entries via gh api repos/<owner>/<name> (uses operator's existing gh CLI auth).
  1. Heuristic classifier — every entry gets a bucket:
  1. LLM QA gate — Groq openai/gpt-oss-120b (GROQ_API_KEY from projects/dataqbs_site/.dev.vars). Reviews the heuristic survivors with a "does this beat what we already have?" prompt. Drops the ones that don't. ~20-30 calls/day. Graceful skip if key missing.
  1. Output writers (both run, second is optional):

Config block

Edit this skill's frontmatter or set env vars to tune behavior:

sources:
  github:
    enabled: true
    period: daily          # daily | weekly | monthly
    top_n: 100
  hackernews:
    enabled: true
    top_n: 30
  producthunt:
    enabled: true          # falls back to scrape if PRODUCTHUNT_TOKEN absent
classifier:
  skip_list: []            # regex patterns to SKIP unconditionally (e.g. `^.*-tetris$`)
  llm_gate: true           # set false to disable Groq pass
  similarity_threshold: 0.4
  beat_factor: 2.0         # incumbent skill is beaten if trending repo stars > beat_factor × similar-skill connections
outputs:
  markdown: true
  notion: auto             # true | false | auto (auto = if NOTION_TOKEN set)

How to use (operator daily workflow)

Morning:

  1. Coffee ☕
  2. Open Notion → today's "GH Trending" page (or cat ~/.claude/knowledge/github-trending/$(date +%F).md from terminal)
  3. Read the digest. Usually 5-15 survivors. Most days 0-3 are real keepers.
  4. For each keeper: /trending-promote 2026-05-24 owner/repo-name
  5. Done. Trending-promote scaffolds the skill, generates a news article, commits to main, and posts to FB Page in a single shot.

How it beats just-reading-github.com/trending manually

| Manual | This skill |

|---|---|

| 5-10 min/day scrolling | 30 sec skim |

| Forgets to do it | Hard scheduled |

| Doesn't dedupe vs current brain | TF-IDF skill match |

| Doesn't compare quality | LLM QA gate |

| No history | Markdown archive grep-able |

| Forgets to add good ones | /trending-promote is one command |

Integration with existing brain

Out of scope (v1)

Lessons / history

Initialized 2026-05-24 in this session. First daily run: 2026-05-25 07:30 UTC.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.