# Send HN Digest to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hn-digest",
    "name": "HN Digest",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/cpojer/hn-digest",
    "canonicalUrl": "https://clawhub.ai/cpojer/hn-digest",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/hn-digest",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hn-digest",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "scripts/generate_mood_nano_banana.sh",
      "scripts/mood_image.py",
      "scripts/nano_banana_mood.py",
      "scripts/mood_prompt.mjs",
      "scripts/hn.mjs",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "hn-digest",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T04:52:24.045Z",
      "expiresAt": "2026-05-07T04:52:24.045Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hn-digest",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hn-digest",
        "contentDisposition": "attachment; filename=\"hn-digest-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "hn-digest"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/hn-digest"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hn-digest",
    "downloadUrl": "https://openagent3.xyz/downloads/hn-digest",
    "agentUrl": "https://openagent3.xyz/skills/hn-digest/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hn-digest/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hn-digest/agent.md"
  }
}
```
## Documentation

### Command format

Interpret a user message that starts with hn as a request for a Hacker News front-page digest.

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

Parse n and topic from the user message.
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.


Send results as N individual messages in the required 3-line format.
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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cpojer
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T04:52:24.045Z
- Expires at: 2026-05-07T04:52:24.045Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/hn-digest)
- [Send to Agent page](https://openagent3.xyz/skills/hn-digest/agent)
- [JSON manifest](https://openagent3.xyz/skills/hn-digest/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/hn-digest/agent.md)
- [Download page](https://openagent3.xyz/downloads/hn-digest)