mdzilla

Browse, search, and export documentation from any source using the mdzilla CLI. Use when Claude needs to: (1) Read or browse documentation for a library, framework, or project, (2) Fetch docs from GitHub repos, npm packages, or websites, (3) Export documentation to flat markdown files, (4) Look up API references, guides, or usage examples from doc sites. Triggers: user asks to "read the docs", "check the documentation", "browse docs for X", "fetch docs from", "export docs", or references a docs site URL, npm package docs, or GitHub repo docs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mdzilla" with this command: npx skills add pi0/mdzilla/pi0-mdzilla-mdzilla

mdzilla

Markdown documentation browser for terminal and agents. Fetches and renders docs from local dirs, GitHub, npm, HTTP, and llms.txt.

CLI

npx mdzilla <source> [options]

Sources

SourceSyntaxNotes
Local dirmdzilla ./docsScan local docs directory
Filemdzilla README.mdRender single markdown file
GitHubmdzilla gh:owner/repoLooks for docs/ in repo
npmmdzilla npm:package-nameDownloads package, reads docs
HTTPmdzilla https://example.comTries /llms.txt, then markdown negotiation, then HTML→markdown

Options

  • --export <dir> — Export docs to flat .md files
  • --page <path> / -p <path> — Print a single page by path and exit
  • --plain / --headless — Plain text output (no TUI); auto-enabled for AI agents or non-TTY stdout

Agent usage

Always use --plain when calling from scripts or agents:

npx mdzilla gh:unjs/h3 --plain
npx mdzilla gh:unjs/h3 --plain --page /guide/basics
npx mdzilla https://h3.unjs.io --plain
npx mdzilla npm:consola --plain

Export docs for offline processing:

npx mdzilla <source> --export ./fetched-docs

Then read the exported .md files as needed.

Programmatic API

import { DocsManager, DocsSourceFS, DocsSourceGit, DocsSourceHTTP, DocsSourceNpm } from "mdzilla";

// Local filesystem
const docs = new DocsManager(new DocsSourceFS("./docs"));

// GitHub repo
const docs = new DocsManager(new DocsSourceGit("unjs/h3"));

// npm package
const docs = new DocsManager(new DocsSourceNpm("h3"));

// HTTP (llms.txt → markdown negotiation → HTML→md fallback)
const docs = new DocsManager(new DocsSourceHTTP("https://h3.unjs.io"));

await docs.load();
console.log(docs.tree); // NavEntry[] navigation tree
console.log(docs.flat); // FlatEntry[] flat list

const content = await docs.getContent(docs.flat[0]);
const results = docs.filter("query"); // fuzzy search

Export API

import { DocsExporterFS } from "mdzilla";

const exporter = new DocsExporterFS("./output");
await exporter.export(docs.flat, docs);

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Seerr server manager

CLI for the Seerr media request management API. Search movies and TV shows, create and manage media requests, manage users, track issues, and administer a se...

Registry SourceRecently Updated
Coding

.Publish Temp

Install, configure, validate, and run the news-fetcher Python CLI for aggregating RSS/Atom and HTML news sources with deduplication, clustering, ranking, sou...

Registry SourceRecently Updated
Coding

Soul Sharing

Give AI agents persistent identity and shared memory across runtimes, devices, and sessions — Git-native, no database, no vendor lock-in.

Registry SourceRecently Updated
Coding

Code Searcher

A code-searching tool similar to ack, but faster. the silver searcher, c, ag, c, command-line-tool, pcre, search-in-text. Use when you need the silver search...

Registry SourceRecently Updated