hackernews-frontpage

Scrape Hacker News front page stories into structured JSON with rank, title, URL, points, and comments.

Updated Jul 21, 2025
One-click install
npx skills add https://github.com/robertzengcn/aiFetchly --skill hackernews-frontpage-robertzengcn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hackernews-frontpage
Source: https://github.com/robertzengcn/aiFetchly/tree/main/.agents/skills/gstack/browser-skills/hackernews-frontpage
Command: npx skills add https://github.com/robertzengcn/aiFetchly --skill hackernews-frontpage-robertzengcn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually browsing Hacker News to collect top story data (titles, points, comment counts) is slow and inefficient, especially when you need structured data for curation or analysis. This skill automates the entire process, pulling the front page's top stories in seconds.

Core Features & Use Cases

  • Structured JSON Output: Returns the top 30 Hacker News front page stories with rank, title, URL, point count, and comment count in a clean, machine-readable format.
  • Edge Case Handling: Correctly parses job postings (which have no points or comment counts) and "discuss" links (treated as 0 comments) without errors.
  • Use Case: A tech marketer can use this skill to pull the day's top HN stories to track trending topics for upcoming campaigns, eliminating manual browsing and data entry.

Quick Start

Use the hackernews-frontpage skill to scrape the current top stories from the Hacker News front page and return them as structured 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 structured JSON?

To scrape Hacker News front page stories into structured JSON, this skill automatically extracts the top 30 public stories, returning rank, title, URL, point count, and comment count without manual data collection.

What is the best way to track trending tech topics for content curation from Hacker News?

Tracking trending tech topics for content curation from Hacker News is done by scraping the front page to retrieve structured data of top stories, providing up-to-date story metrics for marketing trend analysis.

Can I get point counts and comment counts for top stories from the Hacker News front page?

Yes, you can get point counts and comment counts for top stories from the Hacker News front page. The skill returns these specific metrics in a clean, machine-readable JSON format alongside story rank and title.

How does scraping Hacker News handle job postings or discuss links with no points?

Scraping Hacker News handles job postings and discuss links as edge cases, correctly parsing job postings that have no points or comment counts and treating discuss links as zero comments without errors.

Do I need any external dependencies or API keys to retrieve top stories from Hacker News?

You do not need any external dependencies or API keys to retrieve top stories from Hacker News. The skill directly scrapes the public front page to extract structured data, requiring no additional setup.

Why does manual browsing of Hacker News fail for tech news aggregation workflows?

Manual browsing of Hacker News fails for tech news aggregation workflows because collecting top story data like titles, points, and comment counts is slow and inefficient compared to automated scraping that returns deterministic, parseable JSON output.