hn

clawdbot 的头像作者 clawdbot

浏览黑客新闻 - 热门故事、新故事、最佳故事、提问、节目、工作以及带有评论的故事详细信息。

📖 中文导读:浏览黑客新闻 - 热门故事、新故事、最佳故事、提问、节目、工作以及带有评论的故事详细信息。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: hn description: Browse Hacker News - top stories, new, best, ask, show, jobs, and story details with comments. homepage: https://news.ycombinator.com metadata: {"clawdis":{"emoji":"📰","requires":{"bins":["curl"]}}}

Hacker News

Read Hacker News from the command line.

Commands

Top Stories

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

Other Feeds

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

uv run {baseDir}/scripts/hn.py story <id>              # Story with top comments
uv run {baseDir}/scripts/hn.py story <id> --comments 20 # More comments
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 (no auth required).