hackernews-frontpage
Scrape the Hacker News front page (titles, points, comment counts).
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=garrytan-gstack-browser-skills-hackernews-frontpage-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name hackernews-frontpage description Scrape the Hacker News front page (titles, points, comment counts). host news.ycombinator.com trusted true source human version 1.0.0 args [] triggers ["scrape hacker news frontpage","scrape hn frontpage","get hn top stories","latest hacker news stories"] Hacker News front-page scraper Scrapes the Hacker News ( news.ycombinator.com ) front page and returns the top 30 stories as JSON. Each story has its rank, title, link URL, point count, and comment count. Usage $ $B skill run hackernews-frontpage { "stories": [ { "rank": 1, "title": "...", "url": "...", "points": 412, "comments": 87 }, ... ], "count": 30 } How it works Navigates to https://news.ycombinator.com via the daemon. Reads the page HTML. Parses each story row (HN's stable tr.athing structure) into a typed Story record. Emits a single JSON document on stdout. Why this is the reference skill hackernews-frontpage is the smallest interesting browser-skill: no auth, stable HTML, deterministic output, file-fixture-friendly. Every Phase 1 component (SDK, scoped tokens, three-tier lookup, spawn lifecycle) is exercised by $B skill run hackernews-frontpage and the bundled script.test.ts . When the HN HTML rotates and our selectors break, the test fails against the captured fixture before users notice. That's the point.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |