Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By epicsagasv0.4.6Apache-2.0In 2 marketplaces
Compresses Markdown, HTML and text files before Claude Code reads them, so more of each document fits in the context window. A PreToolUse hook applies this automatically to every Read of those files.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Token-optimized document transpiler for LLM pipelines
한국어 · 日本語 · 中文 · Español · Français · Deutsch · Português · Русский · العربية · हिन्दी
Raw documents (Markdown, HTML, plain text) → structured bridge format <D>?<H><B> — with adaptive compression that keeps you under token budget.
LLMs perform better when context is clean and dense. This library handles the mechanical work:
| Feature | Why it matters | |
|---|---|---|
| 🏗️ | Structural parsing | Markdown/HTML/plain text → typed IR nodes (headings, paragraphs, tables, lists, code blocks) |
| 📉 | Adaptive compression | Automatically escalates through 4 stages as token budget fills up |
| 🔣 | Symbol substitution | Repeated domain terms → Unicode PUA characters, decoded by <D> dictionary header |
| 📊 | Table linearization | Markdown tables → compact Key:Val (≤5 rows) or pipe-separated rows for larger tables |
| 🌊 | Streaming output | Tokio stream delivers the first chunk immediately, minimizing TTFT |
48 documents, 3 formats, 15 languages — Apple M-series, --release build. Numbers below are measured with the real cl100k BPE tokenizer (not the self-referential heuristic — see the analysis). Full methodology and token-honesty breakdown: docs/EVALUATION.md
| Format | Semantic reduction | Compressed reduction | Lossless word coverage | Throughput |
|---|---|---|---|---|
| Markdown | 27.4% | 69.4% | 99.0% | — |
| HTML | 98.7% | 99.3% | 99.0% | — |
| PlainText | −3.5% | 30.4% | 99.0% | — |
| Overall (BPE) | 81.5% | 91.8% | 99.0% | ~1,070 tok/ms |
⚠️ The overall figure is dominated by HTML markup stripping. Markdown 27.4% is the genuine compression rate. PlainText is net-negative in Semantic mode due to structural overhead. See
docs/EVALUATION.mdfor the per-format reality.
HTML reduction reflects markup overhead removal (nav, scripts, styles), not prose compression alone.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub epicsagas/llm-transpile --plugin llm-transpilePlugins from other owners that cover similar ground