Skip to main content
skill CX Codex

hackernews — Claude Code skill: what it does, how to install

Fetches stories, comments, and user profiles from Hacker News using the Firebase API. Useful for monitoring tech discussions directly in your terminal.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add okou-ai/okou-skills --skill hackernews -a claude-code
Open on GitHub

What hackernews does

The skill instructs the agent to query the official Hacker News Firebase API using curl and jq. It fetches lists for top and new stories alongside Ask HN feeds. The agent queries endpoints like /v0/topstories.json to inspect current tech discussions. You need curl and jq installed.

Item details require separate lookups through the /v0/item/<item-id>.json endpoint. Comment trees require multiple steps because parent items only provide arrays of child IDs. The API documents no request limits. Even so, the skill advises caching responses and pacing bulk queries.

What it helps with

  • retrieve current top or best stories from Hacker News
  • filter posts by keyword or minimum score threshold
  • fetch comments for a specific story identifier
  • inspect user karma and recent submissions

Example prompts for the agent

  • Show the top 10 stories on Hacker News with their scores
  • Find Hacker News posts about LLMs with at least 100 points
  • Fetch details and top comments for <story-id>

How to install hackernews

1Skills CLI (Vercel)

npx skills add okou-ai/okou-skills --skill hackernews -a claude-code

2Manually: put the files in place

~/.claude/skills/hackernews/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/hackernews/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about hackernews

How do I install hackernews in Claude Code?

Run npx skills add okou-ai/okou-skills --skill hackernews -a claude-code in your terminal.

What system tools does the skill require?

It relies on curl to make network calls and jq to parse JSON output.

How does the skill retrieve nested comments?

It queries the story endpoint to extract comment IDs from the kids array. Each comment is then retrieved through its own item request.

Similar skills

Everything for Backend and APIs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor