hn-extract

Community

Extract HN posts to Markdown

Authorguoqiao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of extracting the main article content and all comments from a HackerNews post, consolidating them into a single, clean Markdown file for easier reading or input into LLMs.

Core Features & Use Cases

  • Article Extraction: Downloads and cleans the HTML of the linked article, extracting only the main text.
  • Comment Threading: Fetches all comments associated with the HackerNews post and preserves their threaded structure.
  • Metadata Inclusion: Includes key metadata like title, author, URL, and points.
  • Use Case: When you find an interesting HackerNews post with many comments, use this Skill to get a consolidated, readable version of the article and discussion without navigating the website or dealing with ads.

Quick Start

Use the hn-extract skill to extract the HackerNews post with ID 46861313 into a Markdown file.

Dependency Matrix

Required Modules

requeststrafilaturaurllib3

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hn-extract
Download link: https://github.com/guoqiao/skills/archive/main.zip#hn-extract

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.