html-to-text — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited html-to-text (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when you have HTML - a scraped page, a newsletter body, a feed entry's content - and you want clean, readable plain text without adding beautifulsoup4 or lxml. A small HTMLParser subclass removes <script>/<style>, converts block elements into newlines, and collapses whitespace, which is exactly the shape you want before sending content to an LLM (fewer tokens) or into a search index.
User input:
Turn this article HTML into plain text so I can summarize it with fewer tokens.Output:
# Copy assets/htmltext.py into your project, then:
from htmltext import html_to_text
text = html_to_text(article_html)
summary = call_llm(f"Summarize:\n{text}")<script> and <style> blocks are dropped entirely, block tags become line breaks, and runs of spaces/blank lines are collapsed, so the output reads like prose.
html.parser.HTMLParser with convert_charrefs=True so entities decode automatically.script/style/head so their text never leaks into the output.Reference: assets/htmltext.py.
Distilled from the author's scraping and digest pipelines. v1.0.0. See also: [[rss-feed-reader]], [[gemini-cost-tracker]], [[pipeline-orchestrator]].
→ Build the full runnable bot with Trawlkit.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.