Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.
Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input. see Examples
Accepts an HackerNews id or url Download the linked article HTML, 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.
uv installed and in PATH.
No install beyond having uv. Dependencies will be installed automatically by uv into to a dedicated venv when run this script.
When an agent is asked to extract a HackerNews post: Run the script with an output path: uv run --script ${baseDir}/hn-extract.py <input> -o /tmp/hn-<id>.md. Send ONE combined message: Upload the file and ask the question in the same tool call. Use the message tool (action=send, filePath="/tmp/hn-<id>.md", message="Extraction complete. Do you want me to summarize it?"). Do not output the full text or a summary directly in the chat unless specifically requested.
# run as uv script uv run --script ${baseDir}/hn-extract.py <hn-id|hn-url|path/to/item.json> [-o path/to/output.md] # Examples uv run --script ${baseDir}/hn-extract.py 46861313 -o /tmp/output.md uv run --script ${baseDir}/hn-extract.py "https://news.ycombinator.com/item?id=46861313" Omit -o to print to stdout. Directories for -o are created automatically.
Retries are enabled for HTTP fetches. Comments are indented by thread depth. Sites requires authentication or blocks scraping may still fail.
Writing, remixing, publishing, visual generation, and marketing content production.
Largest current source with strong distribution and engagement signals.