
This hooks you into the official Hacker News API to pull stories, comments, and user profiles without dealing with scraping or authentication. You get all the standard feeds (top, new, best, Ask HN, Show HN, jobs) plus granular item lookups and user karma data. The API is straightforward Firebase endpoints returning JSON, no rate limits published but you'll want to be reasonable since every story detail needs its own request. The skill includes practical filters for high-scoring posts and topic-specific searches using jq. Honestly most useful when you need to analyze HN trends, monitor specific topics, or build dashboards without hitting the website. Just remember to cache aggressively since stories don't update that often.
$ npx -y skills add vm0-ai/vm0-skills --skill hackernews --agent claude-codeInstalls into .claude/skills of the current project.
Fetch IDs of the current top 500 stories:
curl -s "https://hacker-news.firebaseio.com/v0/topstories.json" | jq '.[:10]'
Fetch the best stories (highest voted over time):
curl -s "https://hacker-news.firebaseio.com/v0/beststories.json" | jq '.[:10]'
Fetch the newest stories:
curl -s "https://hacker-news.firebaseio.com/v0/newstories.json" | jq '.[:10]'
Fetch "Ask HN" posts:
curl -s "https://hacker-news.firebaseio.com/v0/askstories.json" | jq '.[:10]'
Fetch "Show HN" posts:
curl -s "https://hacker-news.firebaseio.com/v0/showstories.json" | jq '.[:10]'
Fetch job postings:
curl -s "https://hacker-news.firebaseio.com/v0/jobstories.json" | jq '.[:10]'
Fetch full details for any item by ID. Replace <item-id> with the actual item ID:
curl -s "https://hacker-news.firebaseio.com/v0/item/<item-id>.json"
Response fields:
Sponsors