hackernews-frontpage

Fetch Hacker News front-page stories and emit structured JSON.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/abhishekmmgn/didactic-invention --skill hackernews-frontpage-abhishekmmgn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-frontpage
Source: https://github.com/abhishekmmgn/didactic-invention/tree/main/.agents/skills/gstack/browser-skills/hackernews-frontpage
Command: npx skills add https://github.com/abhishekmmgn/didactic-invention --skill hackernews-frontpage-abhishekmmgn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hacker News front page is a dynamic HTML page with no machine-friendly structure. This skill parses the front page and outputs a clean JSON payload containing the top stories with their ranks, IDs, titles, URLs, points, and comments.

Core Features & Use Cases

  • Deterministic front-page parsing: Renders a stable JSON structure from Hacker News HTML.
  • Rich story data: Includes rank, id, title, url, points, and comments (null for job postings).
  • Use Case: Build dashboards, testing parsers, or feed a data pipeline with current top stories.

Quick Start

Run the hackernews-frontpage skill to fetch the current front page and emit a JSON document with the top stories.

Frequently Asked Questions about hackernews-frontpage

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

FAQPage Schema
How do I get structured JSON data from the Hacker News front page?

To get structured JSON from the Hacker News front page, this skill parses the HTML and extracts story rank, id, title, url, points, and comments. It outputs a clean JSON payload suitable for data pipelines and automated monitoring.

Can I scrape Hacker News stories for an automated monitoring dashboard?

Yes, you can scrape Hacker News stories for automated monitoring dashboards using this skill. It fetches the current front page and emits a deterministic JSON structure containing top stories with their ranks, points, and comments.

Does this Hacker News parser handle job postings in the JSON output?

Yes, this Hacker News parser handles job postings by including them in the JSON output. For job postings specifically, the points and comments fields are set to null, while rank, id, title, and url are still captured.

What is the best way to parse Hacker News HTML into machine-friendly data?

The best way to parse Hacker News HTML into machine-friendly data is using a parser that targets the stable HTML structure. This skill parses the front page elements and outputs a structured JSON document with top story metadata.

How do I feed current top stories from Hacker News into a data pipeline?

To feed current top stories from Hacker News into a data pipeline, run this skill to fetch the front page. It emits a single JSON payload containing structured story data, ready to be ingested by downstream automated systems.

Why are points and comments missing for some stories in the parsed Hacker News JSON?

Points and comments are missing or null for some stories in the parsed Hacker News JSON because they are job postings. The parser explicitly sets these fields to null for jobs, as job listings on Hacker News do not have points or comment counts.