markdown-converter

markdown-converter is a skill for Claude Code, Codex from katalalab/katala-os. It costs 62 tokens per session (453 once invoked), scanned A, original, MIT.

A document conversion tool for changing files between Markdown, HTML, PDF, DOCX, and plain text. It can also remove menus, adverts, and other clutter from copied web pages.

In plain words
What is it for?
Converting Markdown to HTML, PDF, or DOCX; converting DOCX or HTML to Markdown; and turning a web page into clean Markdown.
Why use it?
It avoids manually reformatting documents or cleaning copied web content. It keeps the main readable material while changing its format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Converting Markdown to HTML, PDF, or DOCX; converting DOCX or HTML to Markdown; and turning a web page into clean Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/katalalab/katala-os/markdown-converter
Install

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.

Any agent
npx skills add katalalab/katala-os --skill markdown-converter
Clone the repo
git clone --depth 1 https://github.com/katalalab/katala-os

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 markdown-converter

README.md
[![agentmods](https://agentmods.dev/badge/skills/katalalab/katala-os/markdown-converter/github.svg)](https://agentmods.dev/skills/katalalab/katala-os/markdown-converter)
Your own site
<a href="https://agentmods.dev/skills/katalalab/katala-os/markdown-converter"><img src="https://agentmods.dev/badge/skills/katalalab/katala-os/markdown-converter/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 markdown-converter

Your own site · 80×15
<a href="https://agentmods.dev/skills/katalalab/katala-os/markdown-converter"><img src="https://agentmods.dev/badge/skills/katalalab/katala-os/markdown-converter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00062 $0.00453
Opus 5.5 $0.00025 $0.00181
Sonnet 5.5 $0.00012 $0.00091
Haiku 4.5 $0.00006 $0.00045

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

Security

Grade A, and why

markdown-converter scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Web URL → clean MD | `/defuddle` skill or `curl | pandoc` |
skills/markdown-converter/SKILL.md · 56 lines

What it actually says

markdown-converter — document format conversion

Converts documents using available local tools (pandoc, defuddle, python-markdown).

When to use

  • "このMarkdownをHTMLに変換して"
  • "PDFをMarkdownに変換して"
  • "このページのボイラープレートを取り除いてMarkdownにして"
  • "DOCXをMarkdownに変換して"

Do not use for:

  • Editing document content (use the appropriate editor)
  • Translating language (use a translation tool)

Tool selection

From → To Tool
HTML → MD defuddle or pandoc
MD → HTML pandoc or python-markdown
MD → PDF pandoc + wkhtmltopdf or weasyprint
MD → DOCX pandoc
DOCX → MD pandoc
Web URL → clean MD /defuddle skill or `curl

Common invocations

# Web page to clean Markdown
curl -s <url> | pandoc -f html -t markdown --no-highlight -o output.md

# Markdown to PDF (requires pandoc + wkhtmltopdf)
pandoc input.md -o output.pdf --pdf-engine=wkhtmltopdf

# Markdown to DOCX
pandoc input.md -o output.docx

# DOCX to Markdown
pandoc input.docx -o output.md --extract-media=./media

# Clean up web-clipped markdown with defuddle
# (use /defuddle skill for this)

Hard-rule reminders

  • Always check if source file exists before converting.
  • Office files (DOCX, XLSX, PPTX) must be copied before editing per the Editing Policy.
  • Confirm output path with operator if the target file already exists.
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. 2mo ago First seen · 56 lines · 62 tokens per session scan A 5be8b07e638b

Subscribe to this mod's changes

markdown-converter is a skill published in the GitHub repository katalalab/katala-os (2 stars, last pushed 9d ago), licensed MIT. It adds 62 tokens to every session and 453 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

meta-web-to-pdf-briefing

Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.

opensquilla/opensquilla · 45 tokens

paper-reader

A reading assistant for computer-vision and deep-learning research papers. It can work with PDF files, arXiv papers, and papers stored in Zotero, a reference-management app.

huangkiki/dailypaper-skills · 135 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens