az9713

Hn — Development skill for Claude Code

Development community

Analyze a Hacker News post and its discussion.

How to install Hn

Installs to ~/.claude/commands/az9713-cerebro-hn.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/az9713/cerebro/HEAD/.claude/commands/hn.md -o ~/.claude/commands/az9713-cerebro-hn.md

Restart Claude Code, or start a new session, for it to be picked up.

What Hn does


description: Analyze a Hacker News post and its discussion

Analyze Hacker News Post

Analyze the Hacker News post: $ARGUMENTS

Steps

  1. Parse the HN URL:
    • Accept URLs like news.ycombinator.com/item?id=XXXXX
    • Extract the item ID
  2. Fetch the HN post using WebFetch or HN API:
    • Get the post title, link, and points
    • Get top comments (aim for top 20-30 comments)
  3. If post links to content: Also fetch the linked article/project
  4. If fetching fails:
    • I

Alternatives in Development

Full documentation available on GitHub

View Source Repository