hackernews-frontpage

Extract the top 30 Hacker News front-page stories as structured JSON.

Updated May 11, 2026
One-click install
npx skills add https://github.com/cloudofgeorge/AI-hands --skill hackernews-frontpage-cloudofgeorge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-frontpage
Source: https://github.com/cloudofgeorge/AI-hands/tree/main/skills/gstack/browser-skills/hackernews-frontpage
Command: npx skills add https://github.com/cloudofgeorge/AI-hands --skill hackernews-frontpage-cloudofgeorge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the manual work of collecting Hacker News front-page data by producing a structured JSON representation of the top stories, including ranks, titles, URLs, points, and comments.

Core Features & Use Cases

  • Front-page scraping: fetches the Hacker News front page and returns a deterministic list of stories with rank, title, URL, points, and comments.
  • JSON output: emits a single JSON document for easy ingestion into agents or data pipelines.
  • Use Case: gather trending links and metadata from HN for quick product research and competitive insights.

Quick Start

Run the hackernews-frontpage skill to fetch the front-page stories as JSON.

Frequently Asked Questions about hackernews-frontpage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Hacker News front page stories into JSON format?

Scraping Hacker News front page stories into JSON format is done by parsing the stable HTML structure of news.ycombinator.com to extract the top 30 stories. It outputs a structured JSON document containing a stories array with rank, title, URL, points, and comments.

Can I get Hacker News points and comments as a structured JSON array?

Yes, you can get Hacker News points and comments as a structured JSON array. The parser extracts the top 30 front-page stories and handles missing scores or comments, returning a single JSON document with a stories array and a count for deterministic data ingestion.

What is the best way to monitor Hacker News trending links for product research?

Monitoring Hacker News trending links for product research is best achieved by scraping the front page into a deterministic JSON output. This provides structured story metadata including ranks, titles, URLs, points, and comments for easy ingestion into data pipelines or agents.

Does the Hacker News front page scraper handle missing scores or comments?

Yes, the Hacker News front page scraper handles missing scores or comments during the HTML parsing process. It safely parses the stable structure of news.ycombinator.com to produce a clean JSON stories array without breaking on incomplete metadata.

How many top stories can I extract from the Hacker News front page?

You can extract the top 30 stories from the Hacker News front page. The parser fetches news.ycombinator.com and returns a JSON document containing a stories array with a maximum of 30 items, along with a total count for monitoring workflows.