
Hackernews
Read-only access to the Hacker News API for fetching stories, comments, users, and live updates.
- skills.sh installs
- 3.1K
- GitHub stars
- 81
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers story feeds (top, best, new, Ask HN, Show HN, and job postings) plus item, comment, and user lookups via curl and jq
- Includes endpoint reference tables with response field descriptions for items and user profiles, plus batch and filtering examples
- Guidelines call for caching results, adding delays on bulk fetches, and handling null fields such as
urlon Ask HN posts - Designed for tech-news lookups when a user mentions Hacker News, HN, Y Combinator, or asks about tech news
Install
$ npx -y skills add okou-ai/okou-skills --skill hackernews -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
How to Use
1. Get Top Stories
Fetch IDs of the current top 500 stories:
curl -s "https://hacker-news.firebaseio.com/v0/topstories.json" | jq '.[:10]'
2. Get Best Stories
Fetch the best stories (highest voted over time):
curl -s "https://hacker-news.firebaseio.com/v0/beststories.json" | jq '.[:10]'
3. Get New Stories
Fetch the newest stories:
curl -s "https://hacker-news.firebaseio.com/v0/newstories.json" | jq '.[:10]'
4. Get Ask HN Stories
Fetch "Ask HN" posts:
curl -s "https://hacker-news.firebaseio.com/v0/askstories.json" | jq '.[:10]'
5. Get Show HN Stories
Fetch "Show HN" posts:
curl -s "https://hacker-news.firebaseio.com/v0/showstories.json" | jq '.[:10]'
6. Get Job Stories
Fetch job postings:
curl -s "https://hacker-news.firebaseio.com/v0/jobstories.json" | jq '.[:10]'
Item Details
7. Get Story/Comment/Job Details
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:
Details
- Repository
- github.com/okou-ai/okou-skills
- Categories
- Research & Academic, Social Media
More from okou-ai/okou-skills
All 2Similar to Hackernews
More Research & Academic
redditSkillresciencelab/opc-skills3.5K installsRead-only Reddit retrieval skill for posts, comments, subreddit info, and user profiles without an API key.
producthuntSkillresciencelab/opc-skills2.8K installsRead-only access to Product Hunt posts, topics, users, and collections via its GraphQL API.
aihotSkillkkkkhazix/khazix-skills2.6K installsQuery AIHOT's Chinese AI news, daily digests, and hot events through an anonymous read-only API.
naver-news-searchSkillnomadamas/k-skill11.4K installsSearches Naver's news index through a k-skill proxy so users need no personal API key.
Reddit Mcp BuddyMCP serverkaranb192909 starsReads Reddit posts, comments, subreddits, and user activity through Reddit's API with approved credentials.
Reddit Research McpMCP serverking-of-the-grackles266 starsReddit research access: semantic subreddit discovery, post and comment retrieval, and saved monitoring feeds.