Scrape the Hacker News front page (titles, points, comment counts).
ad84005Scrapes 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.
$ $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.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/hackernews-frontpage · pinned to the source commit
git clone https://github.com/garrytan/gstack.git
cd gstack
git checkout ad8400543cd9ce8d07641362db48d44a95417e33
mkdir -p ".claude/skills/hackernews-frontpage"
cp -r "browser-skills/hackernews-frontpage" ".claude/skills/hackernews-frontpage"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit ad8400543cd9. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.