metadata-extraction

Extract document metadata, headers, links, images, and structured data from HTML.

836|66|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill metadata-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metadata-extraction
Source: https://github.com/kreuzberg-dev/html-to-markdown/tree/main/.codex/skills/metadata-extraction
Command: npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill metadata-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the extraction of valuable metadata from HTML content, eliminating the need for manual parsing or multiple processing passes.

Core Features & Use Cases

  • Comprehensive Metadata Extraction: Gathers document details (title, description, author), headers (with hierarchy), links (classified), images (with attributes), and structured data (JSON-LD, Microdata, RDFa).
  • Single-Pass Efficiency: Extracts metadata during the HTML-to-Markdown conversion process, minimizing overhead.
  • Configurable: Allows selective extraction of metadata types to optimize performance.
  • Use Case: Automatically extract all article headers, links, and images from a blog post's HTML to generate a sitemap, analyze SEO, or build a content index.

Quick Start

Use the metadata-extraction skill to extract all document metadata, headers, links, and images from the provided HTML content.

Frequently Asked Questions about metadata-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured data from HTML for SEO analysis?

To extract structured data from HTML for SEO analysis, this Skill parses document information, headers, classified links, images, and structured data like JSON-LD, Microdata, and RDFa in a single pass.

What is the best way to parse HTML metadata without multiple processing passes?

The best way to parse HTML metadata without multiple passes is using a single-pass conversion process that gathers document titles, descriptions, headers, links, and images simultaneously during extraction.

Can I selectively extract only specific metadata types from HTML content?

Yes, you can selectively extract specific metadata types from HTML content. The extraction process is configurable, allowing you to choose specific granularities to optimize performance and output.

Does this HTML metadata extraction method support JSON-LD and Microdata?

Yes, this HTML metadata extraction method supports structured data formats including JSON-LD, Microdata, and RDFa, alongside document details, headers, links, and images for comprehensive content indexing.

How do I extract headers and links from HTML to generate a sitemap?

To extract headers and links from HTML for sitemap generation, the Skill classifies links and captures header hierarchies during a single-pass conversion, providing detailed document element breakdowns for analysis.