# Hn

> Browse Hacker News feeds and stories from the command line, including top, new, best, ask, show, jobs, story details with comments, and search.

- Skill: `demerzels-lab/hn` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds add demerzels-lab/hn`
- Raw SKILL.md: https://api.skillmd.com/api/skills/demerzels-lab/hn/raw
- Safety review: CAUTION (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity, Data & Analytics
- Tags: Cli, Comments, Hacker News, Hn, News, Search
- Author: Demerzels-lab (https://skillmd.com/u/demerzels-lab)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/demerzels-lab/hn

---


# Hacker News

Read Hacker News from the command line.

## Commands

### Top Stories
```bash
uv run {baseDir}/scripts/hn.py top          # Top 10 stories
uv run {baseDir}/scripts/hn.py top -n 20    # Top 20 stories
```

### Other Feeds
```bash
uv run {baseDir}/scripts/hn.py new          # Newest stories
uv run {baseDir}/scripts/hn.py best         # Best stories
uv run {baseDir}/scripts/hn.py ask          # Ask HN
uv run {baseDir}/scripts/hn.py show         # Show HN
uv run {baseDir}/scripts/hn.py jobs         # Jobs
```

### Story Details
```bash
uv run {baseDir}/scripts/hn.py story <id>              # Story with top comments
uv run {baseDir}/scripts/hn.py story <id> --comments 20 # More comments
```

### Search
```bash
uv run {baseDir}/scripts/hn.py search "AI agents"      # Search stories
uv run {baseDir}/scripts/hn.py search "Claude" -n 5    # Limit results
```

## API

Uses the official [Hacker News API](https://github.com/HackerNews/API) (no auth required).

