New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@livewiki/cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livewiki/cli

livewiki command-line interface — living documentation anchored to code, verifiable against hallucination.

latest
Source
npmnpm
Version
0.3.4
Version published
Weekly downloads
7
-82.5%
Maintainers
1
Weekly downloads
 
Created
Source

@livewiki/cli

The livewiki command builds a Markdown wiki beside your code, detects when documentation becomes stale, and validates its references.

Full guide and dated benchmark archive: github.com/eduardoabreu81/livewiki

Install

Requires Node.js 24 or newer.

npm install -g @livewiki/cli

You can also prefix commands with npx @livewiki/cli.

Lifecycle

1. Initialize

livewiki init

This indexes the repository and creates the wiki skeleton without calling an LLM.

2. Bootstrap once

Connect livewiki to your coding agent:

livewiki install

Through the MCP server, the agent can call livewiki_next_task, read the returned source paths, and submit each page with livewiki_write_doc and the returned taskId. This uses the model from the agent's existing session and requires no provider, model, or API credential in livewiki. The queue owns priority, bounded attempts, checkpoints, validation, and resume.

For an unattended API-backed bootstrap, run the interactive wizard:

livewiki config

It writes provider settings to .livewiki/config.json and stores the API key separately at ~/.livewiki/credentials.json, without echoing the key during input. On POSIX the credentials file uses mode 0600; on Windows it inherits the user profile's ACL. Check presence and origin without printing the value:

livewiki config show

Environment variables take precedence and remain available for CI and other headless environments:

export ANTHROPIC_API_KEY=sk-ant-...
livewiki init --batch

In PowerShell, set the key with $env:ANTHROPIC_API_KEY = "sk-ant-...". For ollama and lmstudio the credential is optional: leave it empty for a local server, or supply one with a custom base URL to reach an authenticated remote endpoint.

3. Maintain incrementally

After the bootstrap, the active agent uses the same MCP connection and its existing session to inspect debt and update affected pages as code changes.

livewiki index     # detect changed, moved, and deleted symbols
livewiki status    # show open documentation debt

4. Verify and browse

livewiki verify    # validate references and wiki artifacts
livewiki view      # build the self-contained offline site

Bootstrap and maintenance are consecutive phases: create the initial corpus once, then keep it current incrementally.

  • @livewiki/mcp — MCP server for stdio-capable clients
  • @livewiki/core — the indexer, anchor ledger, batch pipeline, and verification library

License

MIT

Keywords

livewiki

FAQs

Package last updated on 05 Sep 2026

Related posts