Licence
SEE LICENSE IN LICENSE
Version
0.5.65
Deps
9
Size
299 kB
Vulns
0
Weekly
13.8K
document360-writer
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-writerAliases: the canonical binary is document360-writer; d360-writer is registered as a short alias.
Setup
export ANTHROPIC_API_KEY=sk-ant-...
cd <your-repo>
d360-writer /init/init writes a .d360-writer.json project config (D360 project ID, captureDir, outputDir, terminology) at the repo root.
Use
d360-writer # 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-writer.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 document360-capture-compatible spec |
/save <name> |
Checkpoint current session |
/load <name> |
Resume a saved session |
/clear |
Reset conversation |
/exit |
Quit |
Storage
<repo>/.d360-writer.json— project config (committed)<repo>/.d360-writer/— optional per-repo skill overrides<repo>/d360-category-map.json— D360 article ID round-trip (committed)~/.document360-writer/config.json— global preferences~/.document360-writer/mcp.json— user-wide MCP server registrations~/.document360-writer/sessions/<id>.jsonl— session history
License
Proprietary — 2026 Kovai.co. All rights reserved. See LICENSE.