Site To Md — Documentation skill for Claude Code
A tool that extracts and combines text from HTML files into a single, streamlined markdown document.
How to install Site To Md
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tmaier/site-to-md and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Site To Md does
A tool that extracts and combines text from HTML files into a single, streamlined markdown document. It provides a command-line interface for easy usage, removes unnecessary HTML elements to reduce token usage, and creates an easily uploadable format for AI tools like Claude AI or ChatGPT.
Alternatives in Documentation
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
- Tentacle Update Tentacle — You are the maintainer for the {{tentacleId}} tentacle 1.4k ★
- CLAUDE.md - Contributor Guide — For End Users: See README.md for installation and usage 1.4k ★
README
site-to-md
[](https://badge.fury.io/rb/site-to-md) [](https://github.com/tmaier/site-to-md/actions/workflows/ci.yml?query=branch%3Amain) [](LICENSE.txt)
This command-line tool aggregates content from HTML pages into a single, streamlined markdown file. It removes unnecessary HTML elements to reduce token usage and provides an easily uploadable format for AI tools like Claude AI or ChatGPT.
This tool can also be used to create a [llms.txt or llms-full.txt](https://llmstxt.org/). For this use case, consider to add this tool to the build pipeline of your satic website.
Features
- Converts all HTML files in a directory (and subdirectories) to markdown
- Extracts content from
tag (falls back toif not found) - Preserves document structure with frontmatter metadata
- Maintains proper markdown formatting for:
- Headers
- Lists
- Tables
- Code blocks
- Links
- And more...
- Command-line interface for easy integration
Installation
gem install site-to-md
Or add to your Gemfile:
gem 'site-to-md'
Usage
Command Line
Basic usage:
site-to-md convert path/to/site
Specify output file:
site-to-md convert path/to/site -o output.md
Get help:
site-to-md help
Docker Image
You can use the [site-to-md tool via a Docker image](https://github.com/tmaier/site-to-md/pkgs/container/site-to-md), making it convenient to include in your build pipeline for static websites.
Example: GitLab CI
Here's an example GitLab CI configuration. This configuration includes a job `llms-full-txt` that uses the Docker image to convert HTML files in the public folder and generates the llms-full.txt file in the same folder. This
llms-full-txt:
image: ghcr.io/tmaier/site-to-m
Related Skills
Think Render
Render the most recent structured thought output (from /think) as a diagram or document. Usage: /think-render
Claude Session Publisher
Turn a Claude Code session into a self-contained HTML/text/Markdown/LaTeX/PDF document — with a fidelity repor
Skill Interface
Single-Cell Analysis Skills Interface Documentation
Pith Graph
Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]],
Fire Presentations
Claude Code skill: generate single-file HTML slide decks from markdown
HTML Effectiveness Skill
Claude Code skill: Generate interactive HTML instead of markdown walls of text. 9 output patterns, zero deps,
Related Agents
Parser Implementer
Implement a new site-specific Markdown parser for this Chrome extension. Use when adding support for a new sit
Tp Dep Health
PROACTIVELY use this when the user asks "which dependencies should I update", "any stale / risky packages", "a
Pike
SPECIALIST — Interface + simplicity gate. Reviews surface area, concurrency hazards, and API ergonomics. Vetoe