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.svg" alt="Measured on agentmods" 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.00095 | $0.00424 |
| Opus 5 | $0.00048 | $0.00212 |
| Sonnet 5 | $0.00019 | $0.00085 |
| Haiku 4.5 | $0.00010 | $0.00042 |
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 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 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 (864 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 424 once invoked, about $0.0005 per session on Opus 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
Adding LLM and AI capabilities to a Rust Golem agent. Use when the user wants to add LLM chat, embeddings, web search, vector DB, graph DB, document search, video generation, speech-to-text, text-to-speech, or any AI provider integration.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
omh-rust
This is a Hermes-native rust workflow skill.
bevy-ecs
Structure a Bevy app around its Entity Component System: build the App with plugins, define Component/Resource types, write systems with Query/Res/Commands, filter and order systems, and use the Time resource for frame-rate-independent motion. Use when building or debugging a Bevy game in Rust — when the user mentions…
rust-project
Modern Rust project architecture guide for 2025. Use when creating Rust projects (CLI, web services, libraries). Covers workspace structure, error handling, async patterns, and idiomatic Rust best practices.