DEV Community

Cover image for I built a /digest skill for Claude Code. No more HN rabbit holes.
Camille Roux
Camille Roux

Posted on

I built a /digest skill for Claude Code. No more HN rabbit holes.

I have a bad habit: I check Hacker News constantly. Not because I need to — just because it's there.

So I built /digest: a Claude Code skill that fetches the best dev articles from HN and Lobste.rs, deduplicates them, and drops a clean daily recap directly in my terminal.

What it looks like

  # Tech Digest -- April 11 to April 13, 2026
  > 21 articles from 2 sources over the last 3 days

  ## Sunday, April 13

  - **Programming used to be free** -- `culture` -- *Lobste.rs*
  - **Exploiting the most prominent AI agent benchmarks** -- `ai` -- *Hacker News*
  - **All elementary functions from a single binary operator** -- `math` -- *Lobste.rs*

  ## Saturday, April 12

  - **An undocumented bug in the Apollo 11 guidance computer** -- `testing` -- *Lobste.rs*
  - **CPU-Z and HWMonitor compromised** -- `security` -- *Hacker News*
  ...
Enter fullscreen mode Exit fullscreen mode

How it works

The skill is a small Python script (fetch_feeds.py) that:

  1. Reads a sources.yml config file
  2. Fetches all feeds in parallel (threads)
  3. Parses XML, filters by date, deduplicates by URL
  4. Keeps the top N articles per day by score
  5. Outputs TSV — Claude formats it as markdown

Zero external dependencies. Pure stdlib.

When you type /digest, Claude Code reads the skill definition, runs the script, and formats the output. The number of days is configurable:

  /digest      # last 3 days (default)
  /digest 7    # last 7 days
  /digest 14   # last 14 days

Enter fullscreen mode Exit fullscreen mode

GitHub: https://github.com/camilleroux/tech-digest

Feedback and PRs welcome — especially new sources.

Top comments (0)