cpojer

HN Digest

知識管理v1.0.1
作者:cpojer更新於 2026-05-18共 2 個版本 · 最新版本釋出於 2026-02-02hn-digest@clawhub_cpojer/hn-digest
資訊檢索#Crypto#Health#News

據 AlphaMoat 統計,截至 2026-10,HN Digest 累計下載 5,056 次、獲 1 個星標,按累計下載量在本次參與排名的 5,109 個 AI 技能中排名第 2,784 位,在「知識管理」分類(433 個)中排名第 244 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
5056
星標
1
全站下載量排名
#2,784
全站前 55% · 「知識管理」前 57%
平台累計下載星標評論
ClawHub ↗418611
SkillHub ↗50561—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

Fetch and send Hacker News front-page posts on demand. Use when the user asks for HN, says 'hn', 'pull HN', 'hn 10', or specifies a topic like 'hn health', 'hn hacking', or 'hn tech'. Sends N (default 5) posts as individual messages with Title + Link. Exclude crypto.

月度資料趨勢

累計下載5056
3276423251882026-05 · 累計下載 34082026-06 · 累計下載 35432026-07 · 累計下載 37682026-08 · 累計下載 39182026-09 · 累計下載 40922026-10 · 累計下載 505626-0526-0926-10
星標1
0122026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 12026-10 · 星標 126-0526-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-105056—1
2026-094092—1
2026-083918+4.0%1
2026-073768+6.4%1
2026-063543+4.0%1
2026-053408—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.5 KB · ClawHub v1.0.1
---
name: hn-digest
description: "Fetch and send Hacker News front-page posts on demand. Use when the user asks for HN, says 'hn', 'pull HN', 'hn 10', or specifies a topic like 'hn health', 'hn hacking', or 'hn tech'. Sends N (default 5) posts as individual messages with Title + Link. Exclude crypto."
---

# HN Digest

## Command format

Interpret a user message that starts with `hn` as a request for a Hacker News front-page digest.
展開全部(共 56 行)

Supported forms:

- `hn` → default 5 posts
- `hn <n>` → n posts
- `hn <topic>` → filter/boost by topic
- `hn <n> <topic>` → both
- If the user asks for “more” after already seeing some (e.g. “show me top 10–15 since we already did top 10”), treat it as an offset request and use `--offset` (e.g. offset 10, count 10).

Topics:

- `tech` (default)
- `health`
- `hacking`
- `life` / `lifehacks`

## Output requirements

- Do **not** send any extra commentary/preamble/epilogue.
- Send results as **individual messages**.
- Each post message must be exactly:
  - first line: the post title
  - second line: `<age> · <commentCount> comments` (age like `45m ago`, `6h ago`, `3d ago`)
  - third line: the Hacker News comments link (`https://news.ycombinator.com/item?id=...`)
- After the post messages, send **one final message** that is the generated image.
  - If the chat provider requires non-empty text for media, use a minimal caption `.`.
- Hard exclude crypto.

## Procedure

1. Parse `n` and `topic` from the user message.
2. Fetch + rank items:
   - Run `node skills/hn-digest/scripts/hn.mjs --count <n> --offset <offset> --topic <topic> --format json`.
   - Default `offset` is 0 unless the user explicitly asks for “more/next” after a previous batch.
3. Send results as **N individual messages** in the required 3-line format.
4. Then generate a **delightful mood image** via Nano Banana, inspired by the posts you just sent:
   - Use `skills/hn-digest/scripts/mood_prompt.mjs` to build a prompt from the JSON items.
   - Add 3–4 subtle Easter eggs derived from the post themes (no text/logos; keep it fun).
   - Generate and attach the image by running:
     - `skills/hn-digest/scripts/generate_mood_nano_banana.sh ./tmp/hn-mood/hn-mood.png <topic> <n> <offset>`
   - Send the generated image as one additional message.

If fetching/ranking fails or returns 0 items:
- Use `https://news.ycombinator.com/` in the browser tool, pick N non-crypto items by judgment, and send them in the same 3-line format.
- Still generate a mood image (general “HN tech deep dives” vibe) with a banana Easter egg.

「知識管理」分類下的熱門技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。