← スキル一覧に戻る

hackernews
by markus1189
NixOS Configuration Files
⭐ 5🍴 0📅 2026年1月21日
SKILL.md
name: hackernews description: "Fetches and displays Hacker News stories and comments via CLI. Use when the user asks about HN, Hacker News, tech stories, wants to search HN, or wants to read/analyze HN comments."
Hacker News CLI
Fetch top stories, search, and view comments from Hacker News.
Tool
Script: scripts/hn-cli.sh (Nix shebang, self-contained)
Commands
List top stories
./scripts/hn-cli.sh # Top 20 stories
./scripts/hn-cli.sh 50 # Top 50 stories
./scripts/hn-cli.sh --hot # Hot stories only (🔥 score ≥300 or comments ≥100)
./scripts/hn-cli.sh --hot 10 # 10 hot stories
Search stories (via Algolia)
./scripts/hn-cli.sh -s "rust programming" # Search, recent first (default)
./scripts/hn-cli.sh --search "AI" --sort popular # Search by popularity/relevance
./scripts/hn-cli.sh -s "nix flakes" 50 # Search, show 50 results (max 100)
View comments
./scripts/hn-cli.sh -c STORY_ID # Comments for story (depth 1, max 20)
./scripts/hn-cli.sh --comments STORY_ID -d 3 # Depth 3
./scripts/hn-cli.sh -c STORY_ID -n 100 # Up to 100 comments
Output format
Stories show: rank, title, domain, story ID, points, author, age, comment count, URLs. Comments show: tree structure with author, time, and text.
Story IDs appear in brackets [12345678] — use these for --comments.
Typical workflows
- Browse HN: Run with no args, scan titles
- Search for topics: Use
-s "query"to find stories on specific topics - Dive into discussion: Note story ID, run with
-c ID -d 2 - Find hot topics: Use
--hotto filter for trending stories - Research a topic: Search with
-s, then fetch comments for interesting stories - Summarize for user: Fetch stories + comments, summarize key points and insights
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です