@doquflow/cli
v0.5.6
Published
CLI for setting up Docuflow in your project
Downloads
1,849
Maintainers
Readme
@doquflow/cli
CLI for setting up Docuflow in your project. Registers the MCP server in Claude Desktop, scaffolds .docuflow/, generates CLAUDE.md, and gives domain-aware onboarding guidance.
Install
npm install -g @doquflow/cliOr use without installing:
npx @doquflow/cli initCommands
docuflow init
One command to:
- Create
.docuflow/directory structure (sources/, wiki/, specs/, schema.md, index.md, log.md) - Register the
@doquflow/serverMCP server in your Claude Desktop config - Generate
CLAUDE.mdat the project root so Claude auto-discovers all 15 tools
docuflow initdocuflow init --interactive
Interactive domain-aware setup:
- Choose your domain: Code/Architecture, Research, Business, or Personal
- Enter project name and description
- Auto-generates a domain-specific schema template
- Creates a planning template (PLAN.md)
- Generates CLAUDE.md
docuflow init --interactive
# or: docuflow init -idocuflow status
Shows current Docuflow state:
- Package version
- MCP server registration status
- CLAUDE.md presence
- Wiki page counts by category (entities, concepts, syntheses, timelines)
- Source file count
- Last ingest date
- Smart hints
docuflow statusdocuflow suggest
Domain-aware first-steps guidance. Reads your domain from .docuflow/schema.md, counts existing wiki pages and sources, then prints 5 prioritised suggestions with reasons and ready-to-paste Claude prompt starters.
docuflow suggestHow it works
After running init, open Claude Desktop (or any MCP-compatible agent) and start working:
Scan src/ with list_modules and write wiki pages for each major module.Claude will call Docuflow's 15 MCP tools to read files, build a wiki, and answer questions about your codebase — persisting knowledge that compounds over time.
Requirements
- Node.js 18+
- Claude Desktop, Cursor, Copilot, or any MCP-compatible agent
