hackernews-frontpage

Scrape the Hacker News front page and return top 30 stories as JSON.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill hackernews-frontpage-ericdahl-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-frontpage
Source: https://github.com/ericdahl-dev/coauthor-cleaner/tree/main/.claude/skills/gstack/browser-skills/hackernews-frontpage
Command: npx skills add https://github.com/ericdahl-dev/coauthor-cleaner --skill hackernews-frontpage-ericdahl-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Hacker News front-page is scraped for data that would be manually fetched or fetched at inopportune times for a developer, especially when they need quick access to top stories, titles, points, and comment counts.

Core Features & Use Cases

  • Real-time Data Access: Obtain live Hacker News front-page data programmatically, useful for building dashboards, apps, or analytics.
  • Structured Data Output: The skill outputs structured JSON data for each story, which is easier to manipulate and integrate with other systems.
  • Use Case: Automatically fetch the latest top stories and populate a live newsfeed without a developer manually checking the Hacker News site.

Quick Start

Fetch the Hacker News front-page data by running the command: $B skill run hackernews-frontpage

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 as JSON?

Scrape the Hacker News front page to obtain the top 30 stories formatted as structured JSON. The output includes rank, title, link URL, point count, and comment count for direct integration into analytics systems.

Can I get real-time Hacker News data without manually checking the site?

Real-time Hacker News data is fetched programmatically to populate live newsfeeds or dashboards. This eliminates the need to manually visit the site for top story titles, points, and comment counts.

What data fields are included in the scraped Hacker News JSON output?

The scraped Hacker News JSON output includes five specific data fields: rank, title, link URL, point count, and comment count. These structured fields are returned for the top 30 front-page stories.

Does the Hacker News scraper require any external dependencies to run?

Running the Hacker News scraper requires no external dependencies. The script operates independently to extract front-page data and return the structured JSON output.

What's the best way to automate fetching top Hacker News stories for an aggregation dashboard?

Automating top Hacker News story retrieval for aggregation dashboards is achieved by running the scraper script. It outputs structured JSON containing rank, title, URL, points, and comments for the top 30 stories.

Are there limitations to scraping only the Hacker News front page?

Scraping the Hacker News front page is limited to retrieving the top 30 stories at a given time. It does not fetch subsequent pages, individual story comments, or user profile data.