Hacker News

Browse and search Hacker News. Fetch top, new, best, Ask HN, Show HN stories and job postings. View item details, comments, and user profiles. Search stories and comments via Algol…

gchapim

@gchapim

What This Skill Does

CLI tool for browsing and searching Hacker News. Fetches top, new, best, Ask HN, Show HN stories, job postings, item details, comments, and user profiles. Supports Algolia-powered search across stories and comments, plus dedicated 'Who is hiring?' thread lookup. No authentication required.

Replaces manually navigating the Hacker News website or writing custom scrapers by providing a single CLI for all common HN queries with structured output.

When to Use It

  • Check what's trending on Hacker News right now
  • Search Hacker News for recent stories about a specific topic
  • View the top comments and discussion on a popular HN story
  • Find the latest 'Who is hiring?' job postings
  • Look up a user's profile and recent activity on HN
  • Browse the newest Ask HN or Show HN submissions

Install

$ openclaw skills install @gchapim/hackernews

Hacker News

CLI tool for the Hacker News API. No authentication required.

CLI Usage

Run scripts/hn.sh <command>. All commands support --json for raw JSON output.

Browse Stories

# Top/trending stories (default 10)
scripts/hn.sh top
scripts/hn.sh top --limit 20

# Other lists
scripts/hn.sh new --limit 5     # newest
scripts/hn.sh best --limit 10   # highest rated
scripts/hn.sh ask                # Ask HN
scripts/hn.sh show               # Show HN
scripts/hn.sh jobs               # job postings

View Item Details & Comments

# Full item details (story, comment, job, poll)
scripts/hn.sh item 12345678

# Top comments on a story
scripts/hn.sh comments 12345678
scripts/hn.sh comments 12345678 --limit 10 --depth 2

User Profiles

scripts/hn.sh user dang

Search

# Basic search
scripts/hn.sh search "rust programming"

# With filters
scripts/hn.sh search "LLM" --type story --sort date --period week --limit 5
scripts/hn.sh search "hiring remote" --type comment --period month

Who is Hiring

# Latest "Who is hiring?" job postings
scripts/hn.sh whoishiring
scripts/hn.sh whoishiring --limit 20

Common Workflows

User asksCommand
"What's trending on HN?"scripts/hn.sh top
"Latest Ask HN posts"scripts/hn.sh ask
"Search HN for X"scripts/hn.sh search "X"
"Show me comments on story Y"scripts/hn.sh comments Y
"Who is hiring?"scripts/hn.sh whoishiring
"Tell me about HN user Z"scripts/hn.sh user Z

Notes

  • Story lists use parallel fetching for speed
  • HTML in comments/bios is auto-converted to plain text
  • Timestamps shown as relative time ("2h ago", "3d ago")
  • For API details, see references/api.md

Top skills in this category

Playwright (Automation + MCP + Scraper)

@ivangdavila

Automates, tests, and debugs browsers with Playwright: locators, auto-waiting, traces, CI runs, and MCP browser control. Use when a test is flaky, times out, or fails only in CI or headless; when a locator matches multiple elements or the wrong one (strict mode violation); when clicks need force, waits become sleeps, or networkidle never settles; for storageState and login setup, request mocking and HAR replay, uploads and downloads, iframes and shadow DOM, popups and dialogs, screenshot diffs that change per machine, trace and report artifacts, sharding a slow suite, device and permission emulation, accessibility checks, driving a real browser through Playwright MCP, extracting data from JS-rendered pages, or porting a Cypress, Puppeteer, or Selenium suite to Playwright. Not for maintaining an existing Cypress or Puppeteer suite (cypress, puppeteer) or for work a plain HTTP request answers (http).

12839k

Scrapling Official Skill

@d4vinci

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Pyth

2613k

Agent Browser Core

@codedao12

OpenClaw skill for the agent-browser CLI (Rust-based with Node.js fallback) enabling AI-friendly web automation with snapshots, refs, and structured commands.

2213k

Polymarket

@mvanhorn

Query and trade on Polymarket prediction markets — check odds, trending markets, search events, view order books, place trades, and manage positions. Now ava...

239.5k

Last30days Skill

@mvanhorn

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, G...

198.2k