Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xberg-io/html-to-markdown --skill crate-structuregit clone --depth 1 https://github.com/xberg-io/html-to-markdownWrote 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.
[](https://agentmods.dev/skills/xberg-io/html-to-markdown/crate-structure)<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/crate-structure"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/crate-structure/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.
<a href="https://agentmods.dev/skills/xberg-io/html-to-markdown/crate-structure"><img src="https://agentmods.dev/badge/skills/xberg-io/html-to-markdown/crate-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00091 | $0.00456 |
| Opus 5.5 | $0.00036 | $0.00182 |
| Sonnet 5.5 | $0.00018 | $0.00091 |
| Haiku 4.5 | $0.00009 | $0.00046 |
Grade A, and why
crate-structure 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 8d 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.
What it actually says
Crate & Package Structure
Workspace crates (crates/)
html-to-markdown— core library, primary Rust API,unsafe_code = "forbid"at workspace levelhtml-to-markdown-cli— CLI binary (clap)html-to-markdown-ffi— C FFI bridge, cbindgen headers, only crate that overrides unsafe_code linthtml-to-markdown-py— PyO3 Python bindinghtml-to-markdown-node— NAPI-RS Node/TypeScript bindinghtml-to-markdown-php— ext-php-rs PHP bindinghtml-to-markdown-wasm— wasm-bindgen WebAssembly binding
Out-of-workspace packages (packages/)
csharp/,elixir/,go/,java/,r/,ruby/— language-native packages wrapping the FFI cratephp/,python/,typescript/,wasm/— distribution packages
Primary API
convert(&str, Option<ConversionOptions>) -> Result<ConversionResult, ConversionError>ConversionResult:content,warnings, optionallymetadataandinline_images(feature-gated)- Feature flags:
inline-images,metadata,visitor(custom traversal),serde - Dual parser: html5ever (spec-compliance) and astral-tl (performance), selectable via
ConversionOptions
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago Changed · +6 lines · -4 tokens per session 6a8106e0bede
- 1mo ago First seen · 29 lines · 95 tokens per session scan A 448382b6f2f0
crate-structure is a skill published in the GitHub repository xberg-io/html-to-markdown (883 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 456 once invoked, about $0.0004 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.
Other skills, from other repositories
rig
Guide for building LLM clients in Rust with rig (rig-core) — AgentBuilder, providers, tools, extractors, RAG, and streaming. Use when writing Rust LLM clients with rig or rig-core, building multi-provider or hybrid clients that mix Anthropic, OpenAI, Gemini, or local models, integrating ollama, LM Studio, or an…
golem-add-llm-rust
Adds provider-backed AI capabilities to a Rust Golem agent. Use for LLMs, embeddings, search, vector or graph databases, speech, video, or code execution.
rust-patterns
Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.
update-v8-version
Update Codex's pinned v8 / rustyv8 versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update rustyv8 artifacts, prepare or validate a V8 release candidate, check v8-canary, or diagnose why a V8 version update no longer builds.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
omh-rust
This is an OMH rust workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).