Browsing Hackernews
Researchbrowsing-hackernewsBrowsing Hackernews is an Agent Skill for research published in the browsing-skills/browsing-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when the user wants to interact with Hacker News (news.ycombinator.com) — read top stories from the frontpage, extract a post's data and comments, or search stories via the Algolia HN search API. No authentication required. HN uses server-rendered HTML, so extraction works reliably without a browser (though a browser still works fine).
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/browsing-skills/browsing-skills/blob/HEAD/skills/news.ycombinator.com/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/browsing-hackernews, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Hacker News — Browsing Skill
Use this index to choose the HN action that matches the user request, then open the linked reference file for the complete navigation, requirements, code, and return shape.
Action Index
- frontpage — Extract top stories from the HN frontpage (rank, title, URL, score, author, comment count). Supports pagination. Full spec: references/frontpage.md.
- post-data — Extract a specific post's details (title, URL, score, author, age) and its top-level comments. Full spec: references/post-data.md.
- search — Search Hacker News stories via the Algolia HN API. No browser navigation required — calls the API via fetch. Full spec: references/search.md.
Benchmarks
Benchmarks compare the maintained skill action against a no-skill browser agent that inspects the live page DOM and derives selectors at runtime. Full notes live in BENCHMARKS.md.
| Action | With Skill | Without Skill | Notes |
|---|---|---|---|
| frontpage | TBD | TBD | TBD |
| post-data | TBD | TBD | TBD |
| search | TBD | TBD | TBD |