Skill730 estrellas del repoactualizado 11d ago
hacker-news-scraper
This Claude Code skill queries the free Algolia Hacker News Search API to find stories, comments, and posts matching specified criteria. Use it to research trending topics, gather community discussions about specific tools or technologies, or monitor what's being discussed on Hacker News within a customizable timeframe without requiring API keys or paid services.
Instalar en Claude Code
Copiargit clone --depth 1 https://github.com/gooseworks-ai/goose-skills /tmp/hacker-news-scraper && cp -r /tmp/hacker-news-scraper/skills/capabilities/hacker-news-scraper ~/.claude/skills/hacker-news-scraperDespués abre una sesión nueva de Claude Code; el skill carga automáticamente.
Definición
SKILL.md
# Hacker News Scraper
Search Hacker News using the free [Algolia HN Search API](https://hn.algolia.com/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
| 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
```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.Del mismo repositorio
aeoSkill
>
ai-video-calls-tavusSkill
AI video conversations - create real-time video calls with AI personas
ai-web-scraping-scrapegraphSkill
AI-powered web scraping - extract data using natural language prompts
amazon-searchSkill
Search Amazon products - find items, compare prices, read reviews
api-testerSkill
Test and document API endpoints - validate responses, check status, generate examples
apollo-lead-finderSkill
>
blog-feed-monitorSkill
>
brand-intel-branddevSkill
Brand intelligence - logos, colors, fonts, styleguides, and company data from any domain