hacker-news

仓库创建 2026年7月25日最近提交 5 天前SkillHot 收录 3 天前
这个 Skill 做什么

拉取 Hacker News 当前的热门故事,返回标题、链接、得分和作者,帮你快速知道 tech 界的头条和热议话题。当用户问“HN 上现在有什么热门”或需要实时科技新闻摘要时就用。实现上直接用公共 Firebase API,无需密钥或认证,浏览器环境下会自动用 fetch 回退。

▸ 展开 SKILL.md 英文原文

Fetches the current top stories from Hacker News. Returns title, URL, score, and author for each. Use when the user asks what's on Hacker News, what's trending in tech, or for news headlines.

0
Stars
0
Forks
5
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/kody-w/rapp-toaster/main/examples/hacker-news/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/kody-w/rapp-toaster/main/examples/hacker-news/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
hacker_news_agent.py — top stories from Hacker News, via the public Firebase API.

Mirrors the OG local brainstem's hacker_news_agent.py. No API key, no auth.
In Pyodide we fall back to fetch() via JS interop because urllib/requests
need the browser networking layer.

<!-- toaster:generated:begin -->

## Parameters

The typed contract this capability answers to (JSON Schema — the deterministic layer):

```json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "How many top stories to return. Default 10, max 30.",
      "minimum": 1,
      "maximum": 30
    }
  },
  "required": []
}
```

<!-- toaster:generated:end -->

<!-- toaster:generated:
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有