Hacker News front-page scraper
Scrapes the Hacker News (news.ycombinator.com) front page and returns the
top 30 stories as JSON. Each story has its rank, title, link URL, point count,
and comment count.
skill by
@garrytanScrape the Hacker News front page (titles, points, comment counts).
Permissions
Files
Scrape the Hacker News front page (titles, points, comment counts).
Scrapes the Hacker News (news.ycombinator.com) front page and returns the
top 30 stories as JSON. Each story has its rank, title, link URL, point count,
and comment count.
Install
It’s free, and every skill you add syncs into every AI tool on your computer, instantly.
Version history
$ $B skill run hackernews-frontpage
{
"stories": [
{ "rank": 1, "title": "...", "url": "...", "points": 412, "comments": 87 },
...
],
"count": 30
}
https://news.ycombinator.com via the daemon.tr.athing structure) into a typed
Story record.hackernews-frontpage is the smallest interesting browser-skill: no auth,
stable HTML, deterministic output, file-fixture-friendly. Every Phase 1
component (SDK, scoped tokens, three-tier lookup, spawn lifecycle) is
exercised by $B skill run hackernews-frontpage and the bundled
script.test.ts.
When the HN HTML rotates and our selectors break, the test fails against the captured fixture before users notice. That's the point.
In these kits
More from @garrytan
Works with
Claude, Codex, Cursor & more