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

Acmesh

A pure Unix shell script ACME client for SSL / TLS certificate automation acmesh, shell, acme, acme-challenge, acme-protocol, acme-v2, ash. Use when you need...

Registry SourceRecently Updated
1050ckchzh
Coding

Webhook Tester

Webhook testing and debugging tool. Send test webhook payloads to any URL, simulate various webhook events (GitHub, Stripe, Slack), inspect responses, and lo...

Registry SourceRecently Updated
Coding

Uptime

Website and service uptime checker. Monitor URLs for availability, measure response times, check HTTP status codes, verify SSL certificates, and track uptime...

Registry SourceRecently Updated
Coding

Sslgen

Self-signed SSL certificate generator. Create SSL certificates for development, generate CA certificates, create certificate signing requests, and manage dev...

Registry SourceRecently Updated