Agent skill

hn

Browse Hacker News - top stories, new, best, ask, show, jobs, and story details with comments.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/hn

Metadata

Additional technical details for this skill

clawdis
{
    "emoji": "\ud83d\udcf0",
    "requires": {
        "bins": [
            "curl"
        ]
    }
}

SKILL.md

Hacker News

Read Hacker News from the command line.

Commands

Top Stories

bash
uv run {baseDir}/scripts/hn.py top          # Top 10 stories
uv run {baseDir}/scripts/hn.py top -n 20    # Top 20 stories

Other Feeds

bash
uv run {baseDir}/scripts/hn.py new          # Newest stories
uv run {baseDir}/scripts/hn.py best         # Best stories
uv run {baseDir}/scripts/hn.py ask          # Ask HN
uv run {baseDir}/scripts/hn.py show         # Show HN
uv run {baseDir}/scripts/hn.py jobs         # Jobs

Story Details

bash
uv run {baseDir}/scripts/hn.py story <id>              # Story with top comments
uv run {baseDir}/scripts/hn.py story <id> --comments 20 # More comments

Search

bash
uv run {baseDir}/scripts/hn.py search "AI agents"      # Search stories
uv run {baseDir}/scripts/hn.py search "Claude" -n 5    # Limit results

API

Uses the official Hacker News API (no auth required).

Didn't find tool you were looking for?

Be as detailed as possible for better results