html-to-markdown: Skill for Claude Code

.agents/skills/cli/SKILL.md

cli is a skill for Claude Code, Codex from xberg-io/html-to-markdown. It costs 13 tokens per session (143 once invoked), scanned A, original, MIT.

Reference documentation for the html-to-markdown-rs command-line program. A command-line program is a tool run from a terminal using typed commands.

In plain words
What is it for?
Use it when invoking the converter from a terminal or when running it as an MCP server for an AI client.
Why use it?
It provides the documented commands for converting HTML and starting the converter as an MCP server.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is xberg-io/html-to-markdown's own configuration. It tells Claude Code and Codex how to work on html-to-markdown itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything html-to-markdown configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xberg-io/html-to-markdown. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xberg-io/html-to-markdown/main/.agents/skills/cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xberg-io/html-to-markdown

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/cli/github.svg)](https://agentmods.dev/skills/xberg-io/html-to-markdown/cli)
Your own site
<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/cli"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/cli"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00143
Opus 5.5 $0.00005 $0.00057
Sonnet 5.5 $0.00003 $0.00029
Haiku 4.5 $0.00001 $0.00014

Measured 25d ago against content hash b6fb8a84cdd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/cli/SKILL.md · 16 lines

What it actually says

html-to-markdown-rs CLI Reference

Use this skill when invoking, documenting, or changing the html-to-markdown-rs command-line interface.

  • html-to-markdown: Convert HTML to Markdown
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · -1 lines b6fb8a84cdd7
  2. 2mo ago First seen · 17 lines · 13 tokens per session scan A 614a42a7b9a0

Subscribe to this mod's changes

cli is a skill published in the GitHub repository xberg-io/html-to-markdown (886 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 143 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

xberg-chunking

Use when splitting extracted text into chunks for LLM context windows or RAG ingestion. Covers chunk size, overlap, markdown/yaml/semantic chunkers, tokenizer-based sizing, and the standalone chunk command.

xberg-io/xberg · 43 tokens

xberg-extracting-keywords

Use when extracting keywords (YAKE/RAKE) from documents — and, secondarily, when detecting document language or generating embeddings for RAG and search. Covers the keyword config (and its feature gating), --detect-language, and the standalone embed command with real flags.

xberg-io/xberg · 58 tokens

xberg-picking-a-format

Use when choosing an output format for extracted documents — plain text, markdown, djot, HTML, JSON, or DocTags. Maps consumer (LLM, parser, archive) to the right --format / --content-format pair.

xberg-io/xberg · 51 tokens

document-chunker

Split documents into overlapping token chunks for RAG pipelines and LLM context windows. Zero dependencies.

ellmos-ai/skills · 23 tokens

mem0-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens