html-to-markdown: Skill for Claude Code

.agents/skills/api/SKILL.md

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

A reference guide for the html-to-markdown-rs programming interfaces across languages such as Python, TypeScript, Rust, and Go. An API is the set of functions, options, data types, and errors that code can use.

In plain words
What is it for?
Use it when implementing integrations, checking conversion options and result types, or handling documented errors in a supported language.
Why use it?
It gives an agent the documented details needed to use the library correctly instead of guessing function names or configuration.

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/api/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 api

README.md
[![agentmods](https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/api/github.svg)](https://agentmods.dev/skills/xberg-io/html-to-markdown/api)
Your own site
<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/api"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/api/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 api

Your own site · 80×15
<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/api"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/api.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 357 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.00357
Opus 5.5 $0.00005 $0.00143
Sonnet 5.5 $0.00003 $0.00071
Haiku 4.5 $0.00001 $0.00036

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

Security

Grade A, and why

api 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 2d 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • api — 91% identical, 16 lines differ
  • api — 88% identical, 12 lines differ
  • api — 88% identical, 12 lines differ
.agents/skills/api/SKILL.md · 35 lines

What it actually says

html-to-markdown-rs API Reference

Use this skill when working with html-to-markdown-rs generated language APIs, data types, configuration, or error surfaces.

Generated reference pages:

  • docs-site/src/content/docs/reference/api-python.md
  • docs-site/src/content/docs/reference/api-typescript.md
  • docs-site/src/content/docs/reference/api-ruby.md
  • docs-site/src/content/docs/reference/api-php.md
  • docs-site/src/content/docs/reference/api-c.md
  • docs-site/src/content/docs/reference/api-go.md
  • docs-site/src/content/docs/reference/api-java.md
  • docs-site/src/content/docs/reference/api-csharp.md
  • docs-site/src/content/docs/reference/api-elixir.md
  • docs-site/src/content/docs/reference/api-wasm.md
  • docs-site/src/content/docs/reference/api-r.md
  • docs-site/src/content/docs/reference/api-kotlin-android.md
  • docs-site/src/content/docs/reference/api-swift.md
  • docs-site/src/content/docs/reference/api-dart.md
  • docs-site/src/content/docs/reference/api-zig.md
  • docs-site/src/content/docs/reference/api-rust.md
  • docs-site/src/content/docs/reference/configuration.md
  • docs-site/src/content/docs/reference/types.md
  • docs-site/src/content/docs/reference/errors.md
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. 26d ago Changed · -1 lines 49b155b6f171
  2. 2mo ago First seen · 36 lines · 13 tokens per session scan A 0fc8e473bb4e

Subscribe to this mod's changes

api is a skill published in the GitHub repository xberg-io/html-to-markdown (885 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 357 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

scope-creep-detector

Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad pull requests, changes that grew beyond a fix, dependency additions, public API renames, config or CI edits, oversized hunks, and formatting-only files. Use when the user asks whether a change grew beyond the fix, a PR is too…

Shubhamsaboo/awesome-llm-apps · 98 tokens

mem0-status

Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, addmemory errors occur, or to verify the plugin is working correctly.

mem0ai/mem0 · 44 tokens

status

Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.

mem0ai/mem0 · 54 tokens

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens