| name | hn-extract |
| description | Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input. |
| metadata | {"openclaw":{"always":false,"emoji":"🦞","homepage":"https://github.com/guoqiao/skills/blob/main/hn-extract/hn-extract/SKILL.md","os":["darwin","linux","win32"],"tags":["hn","hackernews","comments","extract","markdown","python","uv","scraper","rss","reader","summarize"],"requires":{"bins":["uv"]}}} |
HackerNews Extract
Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.
see Examples
Use this skill when the user types /hn-extract or asks to extract/summarize a HackerNews Post.
Triggers:
- "Extract HN Post ..."
- "/hn-extract <hn_id_or_url>"
- "Summarize this HN post ..."
What it does
- Accepts an HackerNews id or url
- Download the linked article HTML, extracts text, cleans and formats it.
- Fetches the Hacknews post metadata and comments.
- Outputs a readable combined markdown file with original article, threaded comments, and key metadata.
Requirements
uv installed and in PATH.
Install
No install beyond having uv.
Dependencies will be installed automatically by uv into to a dedicated venv when run this script.
Usage Workflow (Mandatory for Agents)
When an agent is asked to extract a HackerNews post:
- with an output path: .