/install hn-morning-brief
Morning Briefing
Step 1 — Pull user interests from memory
memory_search("interests topics preferences technology news")
Do this first, before fetching stories — the results determine how stories are ranked. Extract any topics, technologies, or themes found. If nothing relevant comes back, fall back to HN ranking order.
Step 2 — Fetch top HN stories
python3 skills/hn-morning-brief/scripts/fetch_hn.py --limit 20
(Path is relative to the project root — openclaw installs this skill at skills/hn-morning-brief/.)
Returns JSON with: title, article_url, hn_url, domain, author, points, num_comments.
Step 3 — Rank and filter
Score each story by combining two signals:
- Relevance to user interests (from memory) — a story the user cares about is worth more regardless of score
- HN points — use as a tiebreaker and quality signal when interests are unclear
Surface the 8–12 highest-scoring stories. If memory search returned no clear interests, rank by points only.
Step 4 — Present briefing
## HN Morning Brief — {today's date}
{N} stories picked for you
1. **{Title}** `{domain}` · ⬆ {points} · 💬 {num_comments}
{one-line context or why this is interesting}
→ [Article]({article_url}) · [HN Discussion]({hn_url})
2. ...
---
Say "dive deeper into #N" or "tell me more about [title]" to get a full summary.
Diving Deeper
When the user picks a story:
- Fetch and summarize the article — read the article URL and write a 3–5 sentence summary of the key points. Do this even if the user just says "more on #3" — they want the content, not just the link.
- Show both links:
- Article:
{article_url} - HN Discussion:
{hn_url}(often where the most interesting debate happens)
- Article:
- Offer to go further: "Want me to search for more context on this?"
Gotchas
article_urlis the original article.hn_urlis the HN discussion thread. Never swap them — linking to the HN page when the user wants the article is a bad experience.- If the article is a PDF or appears paywalled, say so and summarize from the title, domain, and any available description instead of silently failing.
- If
memory_searchreturns no clear interests, rank bypointsand don't guess — invented interests will surface irrelevant stories.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hn-morning-brief - 安装完成后,直接呼叫该 Skill 的名称或使用
/hn-morning-brief触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HN Morning Brief 是什么?
Use this skill when the user explicitly mentions Hacker News or HN — e.g. "what's on HN", "show me Hacker News", "top HN stories", "anything good on HN today... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 176 次。
如何安装 HN Morning Brief?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hn-morning-brief」即可一键安装,无需额外配置。
HN Morning Brief 是免费的吗?
是的,HN Morning Brief 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
HN Morning Brief 支持哪些平台?
HN Morning Brief 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。
谁开发了 HN Morning Brief?
由 ken7y(@ken7y)开发并维护,当前版本 v1.0.1。