Task Router Skill
Task Router
Browse and search Hacker News. Fetch top, new, best, Ask HN, Show HN stories and job postings. View item details, comments, and user profiles. Search stories and comments via Algolia. Find "Who is hiring?" threads. Use for any HN-related queries like "what's trending on HN?", "search HN for AI", "show comments on story X", "who is hiring?", "latest Ask HN posts".
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install gchapim/hackernews打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
CLI tool for the Hacker News API. No authentication required.
Run scripts/hn.sh <command>. All commands support --json for raw JSON output.
# Top/trending stories (default 10)
scripts/hn.sh top
scripts/hn.sh top --limit 20
# Other lists
scripts/hn.sh new --limit 5 # newest
scripts/hn.sh best --limit 10 # highest rated
scripts/hn.sh ask # Ask HN
scripts/hn.sh show # Show HN
scripts/hn.sh jobs # job postings
# Full item details (story, comment, job, poll)
scripts/hn.sh item 12345678
# Top comments on a story
scripts/hn.sh comments 12345678
scripts/hn.sh comments 12345678 --limit 10 --depth 2
scripts/hn.sh user dang
# Basic search
scripts/hn.sh search "rust programming"
# With filters
scripts/hn.sh search "LLM" --type story --sort date --period week --limit 5
scripts/hn.sh search "hiring remote" --type comment --period month
# Latest "Who is hiring?" job postings
scripts/hn.sh whoishiring
scripts/hn.sh whoishiring --limit 20
| User asks | Command |
|---|---|
| "What's trending on HN?" | scripts/hn.sh top |
| "Latest Ask HN posts" | scripts/hn.sh ask |
| "Search HN for X" | scripts/hn.sh search "X" |
| "Show me comments on story Y" | scripts/hn.sh comments Y |
| "Who is hiring?" | scripts/hn.sh whoishiring |
| "Tell me about HN user Z" | scripts/hn.sh user Z |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Hacker News
CLI tool for the Hacker News API. No authentication required.
## CLI Usage
Run `scripts/hn.sh <command>`. All commands support `--json` for raw JSON output.
### Browse Stories
```bash
# Top/trending stories (default 10)
scripts/hn.sh top
scripts/hn.sh top --limit 20
# Other lists
scripts/hn.sh new --limit 5 # newest
scripts/hn.sh best --limit 10 # highest rated
scripts/hn.sh ask # Ask HN
scripts/hn.sh show # Show HN
scripts/hn.sh jobs # job postings
```
### View Item Details & Comments
```bash
# Full item details (story, comment, job, poll)
scripts/hn.sh item 12345678
# Top comments on a story
scripts/hn.sh comments 12345678
scripts/hn.sh comments 12345678 --limit 10 --depth 2
```
### User Profiles
```bash
scripts/hn.sh user dang
```
### Search
```bash
# Basic search
scripts/hn.sh search "rust programming"
# With filters
scripts/hn.sh search "LLM" --type story --sort date --period week --limit 5
scripts/hn.sh search "hiring remote" --type comment --period month
```
### Who is Hiring
```bash
# Latest "Who is hiring?" job postings
scripts/hn.sh whoishiring
scripts/hn.sh whoishiring --limit 20
```
## Common Workflows
| User asks | Command |
|---|---|
| "What's trending on HN?" | `scripts/hn.sh top` |
| "Latest Ask HN posts" | `scripts/hn.sh ask` |
| "Search HN for X" | `scripts/hn.sh search "X"` |
| "Show me comments on story Y" | `scripts/hn.sh comments Y` |
| "Who is hiring?" | `scripts/hn.sh whoishiring` |
| "Tell me about HN user Z" | `scripts/hn.sh user Z` |
## Notes
- Story lists use parallel fetching for speed
- HTML in comments/bios is auto-converted to plain text
- Timestamps shown as relative time ("2h ago", "3d ago")
- For API details, see [references/api.md](references/api.md)Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.