Documentation
Quick Start
npm install -g notoken notoken # interactive mode notoken doctor # diagnose system notoken install claude # install tools notoken fix npm # fix issues
Subcommands
notokenInteractive chat mode (default)notoken doctorFull diagnostic + auto-fixnotoken install <tool>Install Claude, OpenClaw, Ollama, Docker...notoken fix <target>Fix npm, git, docker, permissions, PATH, DNSnotoken setup <env>Set up dev/server/docker/node environmentnotoken logs <service>Tail service logsnotoken heal:claudeClaude-powered auto-learningnotoken "<command>"One-shot NLP commandFlags
--dry-runParse but don't execute--verboseShow detailed restatement--explainShow full decision chain (why, alternatives, risks)--jsonOutput as JSON--yes, -ySkip confirmations--auto-learnLearn from failures via LLMInteractive Commands
<text>Execute natural language command<text> &Run in background:jobsBackground tasks:play <name> [env]Run a playbook:contextKnowledge tree:historyConversation log:platformOS/distro info:backupsAuto-backup list:auto-learnToggle auto-learning:explainToggle explain mode:helpFull command listCtrl+C twiceQuit and save conversationConfiguration
All config-driven. Add new commands by editing JSON — no code changes needed.
config/intents.json119 intent definitionsconfig/rules.jsonEnvironment + service aliasesconfig/hosts.jsonSSH targets per environmentconfig/file-hints.jsonKnown file locations by serviceconfig/playbooks.jsonMulti-step playbook recipesLLM Configuration
# Claude CLI (recommended) export MYCLI_LLM_CLI=claude # API endpoint (Claude or OpenAI) export MYCLI_LLM_ENDPOINT=https://api.anthropic.com/v1/messages export MYCLI_LLM_API_KEY=sk-ant-... # Ollama (auto-detected, no config needed) # Just run: ollama serve