hacker-news-scraper

hacker-news-scraper is a skill for Claude Code, Codex from gooseworks-ai/goose-skills. It costs 51 tokens per session (590 once invoked), scanned A, original, MIT.

A search tool for Hacker News, a technology discussion site, using its free search service. It can find stories, comments, and Show HN launches from a chosen time period.

In plain words
What is it for?
Use it to research technology topics, find discussions about tools, discover new projects, and track mentions or community reactions.
Why use it?
It makes it quicker to find technical discussions and mentions without browsing Hacker News page by page. Results can be filtered, sorted, and returned as JSON or a summary.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research technology topics, find discussions about tools, discover new projects, and track mentions or community reactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gooseworks-ai/goose-skills/hacker-news-scraper
About the project

Goose Skills is a library of workflows and data APIs that lets coding agents handle growth and go-to-market work such as advertising, social media, content, SEO, lead generation, and customer research. It is intended for teams using Claude Code, Cursor, Codex, and similar agents. The catalogue entries are its reusable skills.

gooseworks-ai/goose-skills · 1,364 stars · on GitHub · gooseworks.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper
Clone the repo
git clone --depth 1 https://github.com/gooseworks-ai/goose-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hacker-news-scraper

README.md
[![agentmods](https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/hacker-news-scraper/github.svg)](https://agentmods.dev/skills/gooseworks-ai/goose-skills/hacker-news-scraper)
Your own site
<a href="https://agentmods.dev/skills/gooseworks-ai/goose-skills/hacker-news-scraper"><img src="https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/hacker-news-scraper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hacker-news-scraper

Your own site · 80×15
<a href="https://agentmods.dev/skills/gooseworks-ai/goose-skills/hacker-news-scraper"><img src="https://agentmods.dev/badge/skills/gooseworks-ai/goose-skills/hacker-news-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00590
Opus 5.5 $0.00020 $0.00236
Sonnet 5.5 $0.00010 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 2mo ago against content hash efefb9377d26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hacker-news-scraper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_hn.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shared/hacker-news-scraper/SKILL.md · 70 lines

What it actually says

Hacker News Scraper

Search Hacker News using the free Algolia HN Search API. No Apify token or API key needed.

Quick Start

Only dependency: pip install requests.

# Stories about AI content marketing in last week
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "AI content marketing" --days 7

# Show HN posts in last month (summary view)
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "" --tags show_hn --days 30 --output summary

# Comments mentioning a specific tool
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "LangChain" --tags comment --days 14 --max-results 20

How the Script Works

  1. Queries the Algolia HN Search API (search_by_date endpoint)
  2. Uses numericFilters=created_at_i>{unix_timestamp} for server-side date filtering
  3. Paginates until max-results reached
  4. Normalizes results to a consistent schema
  5. Applies optional keyword filtering (client-side)
  6. Sorts by points (descending) and outputs JSON or summary

CLI Reference

Flag Default Description
--query required Search query
--days 7 How many days back to search
--tags story Item type: story, comment, ask_hn, show_hn
--max-results 50 Max results to return
--keywords none Additional filter keywords (comma-separated, OR logic)
--output json Output format: json or summary

Output Format

{
  "id": "12345678",
  "title": "Show HN: My new tool",
  "url": "https://example.com",
  "author": "username",
  "points": 42,
  "num_comments": 15,
  "created_at": "2026-02-18T12:00:00.000Z",
  "hn_url": "https://news.ycombinator.com/item?id=12345678",
  "text": ""
}

Cost

Free. No API key, no rate limits (within reason), no Apify credits.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 70 lines · 51 tokens per session scan A efefb9377d26

Subscribe to this mod's changes

hacker-news-scraper is a skill published in the GitHub repository gooseworks-ai/goose-skills (1,364 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 590 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

hacker-news-scraper compared with skills from other repositories

hacker-news-scraper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hacker-news-scrapergooseworks-ai/goose-skillsSkill1.4k3d agoMITA51Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code