Agent skill

Hacker News Scraper

by gooseworks-ai in gooseworks-ai/goose-skills

Search Hacker News stories and comments using the free Algolia API.

MITAuto-check passedData & Analytics

Install Hacker News Scraper

skills CLI
$ npx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gooseworks-ai/goose-skills hacker-news-scraper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gooseworks-ai/goose-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/monitoring/capabilities/hacker-news-scraper .claude/skills/hacker-news-scraper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hacker-news-scraper
GitHub stars
1.2k
Used in
1 other repo
Token cost
~538 tokens
SKILL.md length
136 words
Files
3 (incl. scripts)
Skills in repo
273
Repo updated
First seen
Licence
MIT

At a glance

Search Hacker News stories and comments using the free Algolia API.

  • Works in 6 steps: Queries the Algolia HN Search API… → Uses… → Paginates until max-results reached → …
  • You need to find HN discussions
  • SKILL.md covers Quick Start, How the Script Works, CLI Reference and Output Format, plus 1 more section
  • Runs Python scripts from its folder; calls python3 and pip; reaches news.ycombinator.com

What it does

Hacker News Scraper is an agent skill from gooseworks-ai/goose-skills. Search Hacker News stories and comments using the free Algolia API. No Apify token needed. Use when you need to find HN discussions, track mentions, discover Show HN launches, or monitor tech community sentiment.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/search_hn.py` and `skill.meta.json`).

It sits in Data & Analytics, covering Web scraping and Search implementation. It works with Algolia and Apify. The repository describes itself as: Library of Growth & GTM skills + data APIs for Claude Code, Codex, Cursor to run ads, social, content, lead gen, seo and data scraping. The licence is MIT.

When your agent uses it

  • You need to find HN discussions
  • Discover Show HN launches
  • Monitor tech community sentiment

Example prompts

  • “/hacker-news-scraper”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit c650c6d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • news.ycombinator.com

    Also links to:

    • hn.algolia.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hacker News Scraper loads about 538 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~538

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from gooseworks-ai/goose-skills at commit c650c6d, republished under its MIT licence (© gooseworks-ai). 136 words, ~538 tokens.

Download SKILL.mdSave it as .claude/skills/hacker-news-scraper/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
hacker-news-scraper
description
Search Hacker News stories and comments using the free Algolia API. No Apify token needed. Use when you need to find HN discussions, track mentions, discover Show HN launches, or monitor tech community sentiment.

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.

bash
# 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

FlagDefaultDescription
--queryrequiredSearch query
--days7How many days back to search
--tagsstoryItem type: story, comment, ask_hn, show_hn
--max-results50Max results to return
--keywordsnoneAdditional filter keywords (comma-separated, OR logic)
--outputjsonOutput format: json or summary

Output Format

json
{
  "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.

© gooseworks-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/monitoring/capabilities/hacker-news-scraper of gooseworks-ai/goose-skills.

  • SKILL.md
  • scripts/search_hn.py
  • skill.meta.json

Open the folder on GitHubat commit c650c6d

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gooseworks-ai/goose-skills, which our catalogue first saw on October 9, 2026.

Compare with similar skills

Hacker News Scraper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hacker News Scraper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hacker News Scraper this skillgooseworks-ai/goose-skills1.2k1 repos~538Automated safety check: PassMIT
Apify Actorizationsickn33/agentic-awesome-skills47k2 repos~1.7kAutomated safety check: PassMIT
Apify Deploy Integrationjeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: PassMIT
Apify CLIapify/apify-cli256—~1.5kAutomated safety check: PassApache-2.0
Apify Collectextrasmall0/dear-hiring-manager111—~1.1kAutomated safety check: NotesMIT
Apify Lead Scoring Enrichmentapify/awesome-skills266—~4.4kAutomated safety check: NotesApache-2.0

Similar skills

  • Apify Actorization

    sickn33/agentic-awesome-skills

    Actorization converts existing software into reusable serverless applications compatible with the Apify platform.

    47k GitHub starsUsed in 2 repos~1.7k tokens
    Data & AnalyticsAuto-check passed
  • Apify Deploy Integration

    jeremylongshore/tons-of-skills-marketplace

    Deploy Apify Actors and integrate scraping into external applications.

    2.8k GitHub stars~1.4k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Apify CLI

    apify/apify-cli

    Official

    Patterns for invoking the Apify CLI (apify) from agents. An agent skill from apify/apify-cli.

    256 GitHub stars~1.5k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Apify Collect

    extrasmall0/dear-hiring-manager

    Collect fresh job-posting URLs into ~/.dear-hiring-manager/urls.txt by running an Apify job scraper — the discovery source for /batch.

    111 GitHub stars~1.1k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check: notes
  • Apify Lead Scoring Enrichment

    apify/awesome-skills

    Official

    Score and enrich a CSV of B2B leads using Apify Actors. An agent skill from apify/awesome-skills.

    266 GitHub stars~4.4k tokensUpdated 18 days ago
    Data & AnalyticsAuto-check: notes
  • Carousel Benchmark

    nestyme/awesome-prompts

    Find the TikTok photo-mode carousels (slideshows) that actually go viral in a niche and the accounts behind them, rank them by organic quality (save-rate, like-rate, boost detection) instead of raw…

    151 GitHub stars~2.6k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check: notes

More from gooseworks-ai/goose-skills

All 273 skills in this repo
  • Reddit Post Finder

    gooseworks-ai/goose-skills

    Scrape and search Reddit posts using Apify. An agent skill from gooseworks-ai/goose-skills.

    1.2k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Create Image Fal

    gooseworks-ai/goose-skills

    Generate or edit an image via any FAL image model (nano-banana edit, gpt-image, flux, ...), ROUTED THROUGH THE fal-proxy so it bills the Ads agent.

    1.2k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Render Hook Replacement

    gooseworks-ai/goose-skills

    Replace an existing video's opening with a supplied clip or free kinetic text hook while retaining and verifying every original body frame, audio, captions and ending.

    1.2k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Blog Feed Monitor

    gooseworks-ai/goose-skills

    Scrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites.

    1.2k GitHub starsUsed in 1 repo~578 tokens
    Auto-check passed
  • Competitor Post Engagers

    gooseworks-ai/goose-skills

    Find leads by scraping engagers from a competitor's top LinkedIn posts.

    1.2k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes
  • Render Chatgpt Chat

    gooseworks-ai/goose-skills

    Assemble a ChatGPT chat-reveal video ad from a thread + timeline JSON — one continuous Playwright recording of a ChatGPT mobile chat (user types with the iOS keyboard up → taps send → keyboard…

    1.2k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Works with

Questions about Hacker News Scraper

What does Hacker News Scraper do?

Search Hacker News stories and comments using the free Algolia API. Hacker News Scraper is an agent skill from gooseworks-ai/goose-skills. Search Hacker News stories and comments using the free Algolia API.

When should I use Hacker News Scraper?

Hacker News Scraper fits situations like: you need to find HN discussions; discover Show HN launches; monitor tech community sentiment.

How do I install Hacker News Scraper in Claude Code?

Run `npx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper -a claude-code`. Or copy the skill folder (skills/monitoring/capabilities/hacker-news-scraper in gooseworks-ai/goose-skills) into .claude/skills/hacker-news-scraper in your project. Claude Code loads it when a task matches its description.

How do I install Hacker News Scraper in Codex?

Run `npx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper -a codex`. Or copy the skill folder (skills/monitoring/capabilities/hacker-news-scraper in gooseworks-ai/goose-skills) into .agents/skills/hacker-news-scraper in your project. Codex loads it when a task matches its description.

Can I use Hacker News Scraper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hacker-news-scraper, .gemini/skills/hacker-news-scraper, .github/skills/hacker-news-scraper and .opencode/skills/hacker-news-scraper in your project.

What does Hacker News Scraper need to run?

Going by SKILL.md and its folder, Hacker News Scraper needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and pip). Our summary lists: Python 3.

Does Hacker News Scraper access the network?

SKILL.md names 2 domains. In commands or code: news.ycombinator.com; the agent is likely to contact it when it follows the instructions. As links in the text: hn.algolia.com. This is read from the text; nothing was executed.

Is Hacker News Scraper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hacker News Scraper use?

Hacker News Scraper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hacker News Scraper use?

About 538 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hacker News Scraper?

Skills that share tags, products or a category with Hacker News Scraper: Apify Actorization (sickn33/agentic-awesome-skills, 47k stars), Apify Deploy Integration (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Apify CLI (apify/apify-cli, 256 stars) and Apify Collect (extrasmall0/dear-hiring-manager, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hacker News Scraper?

gooseworks-ai (a GitHub organization) maintains it in gooseworks-ai/goose-skills, which has 1,240 GitHub stars. The repository holds 273 skills in this directory. The repository was last updated on October 8, 2026.

Source: gooseworks-ai/goose-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.