markdown-html-orchestrator
What it does
This skill decides whether a markdown file is a document, a code review or a slide deck and sends it to the matching converter. It is for people who want markdown turned into shareable HTML pages.
When to use it
- βWhen you want a long markdown spec, report or explainer turned into a single HTML page.
- βWhen you have a code review in markdown and want it turned into a two-column HTML view.
- βWhen you want a markdown file turned into a slide deck in HTML.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/markdown-html/skills/markdown-html-orchestrator/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βTurn this long project spec markdown file into a single HTML page I can share.β
5 new skills a week. 1 minute to read.
How it works
It classifies the markdown file with a script, routes it to the document, review or slides converter and returns the path to the finished HTML file.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Markdown β HTML β Domain Orchestrator
Thariq Shihipar's argument (Claude Code HTML output essay, Medium 2026): markdown collapses past 100 lines for agent-generated artifacts. Long specs, code reviews, and architecture explainers lose density, hierarchy, and lightweight interaction the moment they exceed a screen of text. HTML restores all three β single-file, browser-native, shareable.
This orchestrator forks context, classifies the input markdown deterministically, routes to the right converter sub-skill, and returns a digest with the output path. Heavy intake (full markdown bodies, diffs, slide decks) stays in the forked context.
Domain status (complete): all five skills are live β orchestrator + design-system (onboarding + shared brand tokens) + the three converter sub-skills (md-document, md-review, md-slides). Always route conversions to the shipped converter's scripts; never hand-render HTML inline.
When to invoke
| Symptom | Sub-skill |
|---|---|
| "Convert this RFC / spec / report / explainer to HTML" β long-form doc | md-document |
| "Turn this PR writeup / code review into HTML" β markdown with diff blocks | md-review |
"Make a slide deck from this markdown" β --- boundaries or H1 cadence |
md-slides |
Pre-flight gates (hard refusals)
- Below the 100-line threshold. Markdown wins below 100 lines (Shihipar). The classifier prints
below_min_lines: trueandroute_explainer.pyrefuses. Tell the user to keep their input as markdown. - Design-system not onboarded. If
~/.config/markdown-html/design-system.jsondoesn't exist (or itssetup_completed_atis null), refuse. Point the user atpython3 markdown-html/skills/design-system/scripts/onboard.py(or--defaultsfor a zero-touch run). - Unwritable save location.
output_path_resolver.pyrefuses if the configureddefault_output_dir(or--outoverride) isn't writable.
Routing logic (deterministic)
Two-signal threshold pattern lifted from research-ops/skills/research-ops-skills/SKILL.md. Filename hint = 2 points; each content signal = 1 point. Silent-route allowed when winner β₯ 3 AND (runner-up = 0 OR winner β₯ 2Γ runner-up). Below threshold β one clarifying question with a recommended answer.
Signal table
| Signal class | Filename hints | Content signals | Sub-skill |
|---|---|---|---|
| DOCUMENT | report.md, *-doc.md, spec.md, rfc-*.md, *-analysis.md, *-explainer.md |
## Table of Contents (2), ^# , ^## , markdown table rows, > [!NOTE]/[!TIP]/[!IMPORTANT] callouts |
md-document |
| REVIEW | review.md, *-pr-*.md, *.diff.md, code-review*.md |
```diff (2), ^[-+]{3} (2), ^@@ (2), > [!BLOCKER]/[!MAJOR]/[!MINOR]/[!NIT] (2), LGTM/nit:/blocker: |
md-review |
| SLIDES | deck.md, slides.md, *-talk.md, presentation*.md |
^---$ β₯ 3 (2 + per-boundary), <!-- notes: (2), H1 count β₯ 5 with median gap β€ 12 lines (2) |
md-slides |
The pipeline:
python3 markdown-html/skills/markdown-html-orchestrator/scripts/doctype_classifier.py \
--input <path>.md --output json \
| python3 markdown-html/skills/markdown-html-orchestrator/scripts/route_explainer.py
route_explainer.py checks the design-system status, applies the < 100-line refusal, and prints one of: ROUTE_SILENTLY -> md-<type>, ASK_USER one question: ..., or REFUSE β fix the issues above.
Workflow
Step 1 β Confirm onboarding
If the user has never run onboarding, surface the one-time setup:
python3 markdown-html/skills/design-system/scripts/onboard.py
Ten questions, 1-2 minutes. Captures brand primary + accent + heading/body Google Fonts + design style (editorial/technical/minimal/playful) + default output dir + syntax theme + TOC behavior + optional logo/company. Stored at ~/.config/markdown-html/design-system.json. Re-runnable with --scope project for per-repo overrides.
Step 2 β Classify the input
Run doctype_classifier.py on the markdown. Inspect the verdict.
Step 3 β Route or ask
Pipe the classification into route_explainer.py. If it says ROUTE_SILENTLY, forward the original markdown + the design-system config into the named sub-skill's renderer in the forked context. If it says ASK_USER, ask ONE question with the recommended answer.
Step 4 β Resolve the output path
python3 markdown-html/skills/markdown-html-orchestrator/scripts/output_path_resolver.py \
--input <path>.md --doctype <document|
FAQ
Is there a minimum length?
Yes, files under about 100 lines are refused because plain markdown works better at that size.
What output does it make?
It makes one self-contained HTML file for each conversion.
Does it need brand settings first?
Yes, the design system needs to be set up before a conversion runs.
Details
Original description by the author
Use when the user wants a markdown file turned into a single-file interactive HTML page (document, code review or slide deck). Classifies it with doctype_classifier.py and routes to md-document, md-review or md-slides.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9626
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.