@document360/lotus
v0.6.4
Published
Document360 Lotus: the documentation agent for your terminal. Reads your code, writes your docs, publishes to Document360.
Readme
Document360 Lotus
Standalone documentation agent CLI. Reads your code, writes your docs, dual-publishes to Document360.
Built atop Anthropic's Claude Agent SDK. Modeled after Claude Code's UX (REPL + slash commands + MCP) but specialized for technical writing.
Install
npm install -g @document360/lotusThe command is d360-lotus.
Setup
export ANTHROPIC_API_KEY=sk-ant-...
cd <your-repo>
d360-lotus /init/init writes the project config to .d360-lotus/config.json (D360 project ID, docsDir, captureDir, outputDir, terminology).
Use
d360-lotus # start interactive REPL
> analyze this repo and propose a docs structure
> write the install guide
> /publish 01-getting-started/01-install.md
> /audit
> /screenshot variables-page-with-profiles
> /save my-feature-docs
> /exitSlash commands
| Command | Description |
|---|---|
| /help | List available commands |
| /init | Scaffold .d360-lotus/config.json in the current repo |
| /mcp add <name> <transport> <command-or-url> | Register an MCP server (D360, Notion, GitHub, etc.) |
| /mcp list | Show registered MCP servers |
| /mcp remove <name> | Remove an MCP server |
| /publish <article-path> | Publish one article to Document360 |
| /audit | Diff code vs existing docs, flag gaps |
| /screenshot <id> | Emit a d360-lotus-capture-compatible spec |
| /save <name> | Checkpoint current session |
| /load <name> | Resume a saved session |
| /clear | Reset conversation |
| /exit | Quit |
Storage
<repo>/.d360-lotus/config.json— project config (committed)<repo>/.d360-lotus/— the tool's single repo footprint (docs tree, plan, roadmap, hints/messages, skill overrides)<repo>/.d360-lotus/category-map.json— D360 article ID + sync-base round-trip (committed)~/.d360-lotus/config.json— global preferences~/.d360-lotus/mcp.json— user-wide MCP server registrations~/.d360-lotus/sessions/<id>.jsonl— session history
License
Proprietary — © 2026 Kovai.co. All rights reserved. See LICENSE.
