# markdown-fast: Faster marked.parse(), Same HTML

> A ~2.5x faster drop-in for marked.parse(), with a script that proves byte-identical HTML first.

markdown-fast: Faster marked.parse(), Same HTML is a free AI agent skill on Agensi by Firt, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Firt](https://www.agensi.io/creators/firt)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/markdown-fast-faster-marked-parse-same-html
- Tags: web-design, testing, code-review

## About this skill

If your docs build, static site or SSR spends time in marked.parse(), this skill makes rendering faster without changing a single byte of HTML, and proves it on your own files before you switch.

What you get: one dependency-free file (parse.js, MIT) that returns the same HTML string as marked 18.1.3 with default options (GFM on), plus two scripts:
- verify.mjs: renders your real Markdown with both marked and markdown-fast and prints every difference. No differences, no switch.
- bench.mjs: alternates marked and markdown-fast after warmup, 3 rounds, and prints the speedup range on your corpus.

Measured on Node 24 (1.5 vCPU) against marked 18.1.3:
- 720 test cases (680 CommonMark/GFM spec examples + 40 long README-style docs): 720/720 identical, about 2.2–2.7x faster.
- 38 real README/docs files: 38/38 identical, 2.5–3.3x faster.
- 24,000 generated realistic documents: 99.96% identical. That is why verify is a required step, not optional.

Your agent will:
1. Check fit: only plain marked.parse(str) / marked(str) with default options. It leaves alone anything using options, marked.use() extensions, renderers, tokens/lexer, parseInline, async or another marked version.
2. Vendor parse.js plus its MIT LICENSE (no new npm dependency).
3. Run verify on your docs. Any difference means that call site stays on marked.
4. Switch only the call sites that passed, then run your tests.
5. Benchmark honestly and tell you if the gain is too small to matter (e.g. a tiny docs folder dominated by startup).
6. Report the fit decision, verify result, speedup range and how to revert.

Honest limits: it follows marked 18.1.3 exactly. Newer marked (18.2.x) differs in some list cases. Odd or malformed user-typed Markdown is where differences remain. It does not sanitize HTML (neither does marked), so keep your sanitizer.

Works with Claude Code, Cursor, Codex and any SKILL.md agent.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the markdown-fast: Faster marked.parse(), Same HTML skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does markdown-fast: Faster marked.parse(), Same HTML do?

A ~2.5x faster drop-in for marked.parse(), with a script that proves byte-identical HTML first.

### Which AI agents support markdown-fast: Faster marked.parse(), Same HTML?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use markdown-fast: Faster marked.parse(), Same HTML?

Connect your AI agent to Agensi through MCP, then ask it to use markdown-fast: Faster marked.parse(), Same HTML on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
