Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Docsify CLI

$ docsify Official Low Risk
Docsify · Design & Docs · MIT · macos / linux / windows

Docsify CLI scaffolds zero-build Docsify sites (docsify init), generates _sidebar.md navigation (docsify generate), and runs a local live-reload preview server (docsify serve). Agents should reserve init/generate for explicit scaffolding and run serve only as a background preview process.

FCRS-1.0 Score
78 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g docsify-cli
CLI vs MCP Decision CLI Only

Local Markdown site scaffolding and live-reload preview belong directly in local CLI workflows rather than MCP.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

init and generate run headlessly, but serve is a blocking dev server (with --open browser launch option) and no subcommand outputs JSON.

  • docsify serve blocks until terminated
  • No --json diagnostics or dry-run mode
Trust & Safety 22 / 25

Local-only scaffolding; docsify generate avoids overwriting existing sidebars unless --overwrite is explicitly passed.

  • --overwrite is explicit opt-in on docsify generate
Setup & Portability 13 / 15

Cross-platform Node package via npm install -g docsify-cli or npx docsify-cli.

  • Standard npm / npx package
Utility & Efficiency 11 / 15

Convenient for quick zero-build Markdown doc previews and _sidebar.md generation, though modern static generators (mkdocs, mdbook) offer richer search/build checks.

  • Zero-build init, generate, and serve workflow
Maintenance & Lineage 8 / 10

Official Docsify repository (docsifyjs/docsify-cli) under MIT.

  • Official docsifyjs GitHub organization
Docs & Verifiability 8 / 10

Clear quickstart and CLI docs at docsify.js.org and GitHub README.

  • Official docs at docsify.js.org

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; reads/writes local Markdown documentation directories.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Docsify CLI Agent Rules
- Never run `docsify serve` in a foreground agent turn—it blocks indefinitely as a local dev server; pass `--no-open` if daemonized.
- Omit `--overwrite` (`-o`) on `docsify generate` unless regenerating an existing `_sidebar.md` is intended.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect Docsify CLI commands and flags
docsify --help

Displays init, serve, and generate options without scaffolding files or starting a server.

Controlled Writes & Previews

Scaffold a zero-build Docsify site in docs/
docsify init ./docs --local

Creates index.html, README.md, and .nojekyll inside ./docs with local Docsify assets.

Strengths for Agents

  • + docsify generate protects existing _sidebar.md files unless --overwrite is passed.
  • + docsify init --local scaffolds offline-capable documentation without CDN dependencies.
  • + Available via npx docsify-cli with zero setup.

Caveats & Pitfalls

  • ! docsify serve launches a persistent local HTTP server that blocks foreground turns.
  • ! No --json output or static link-checking build step (docs render client-side).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI