gh0st

CLI Reference

All 12 commands with flags, options, and examples.

gh0st chat

Start interactive chat session

Usage

gh0st chat [options]

Flags

--strict-m, --model <name>-a, --agent <name>

Examples

gh0st chat
gh0st chat --strict
gh0st chat -m grok-3-mini
gh0st ask

One-shot question

Usage

gh0st ask "question" [options]

Flags

-m, --model <name>-a, --agent <name>

Examples

gh0st ask "What is Rust?"
gh0st ask -m grok-3 "Explain async"
gh0st web

Start local browser UI server

Usage

gh0st web [options]

Flags

--port <number>--host <address>

Examples

gh0st web
gh0st web --port 3000
gh0st status

Show system status

Usage

gh0st status [options]

Flags

--json

Examples

gh0st status
gh0st status --json
gh0st zdr

Verify ZDR status

Usage

gh0st zdr [options]

Flags

--force

Examples

gh0st zdr
gh0st zdr --force
gh0st agents

Manage agents

Usage

gh0st agents [subcommand]

Flags

--create--list--delete <id>--show <id>

Examples

gh0st agents --list
gh0st agents --create
gh0st chats

List conversations

Usage

gh0st chats [options]

Flags

--all--search <query>

Examples

gh0st chats
gh0st chats --all
gh0st export

Export encrypted backup

Usage

gh0st export [options]

Flags

-o, --output <file>--plaintext

Examples

gh0st export -o backup.gh0st
gh0st export --plaintext -o backup.json
gh0st import

Import backup

Usage

gh0st import <file> [options]

Flags

--force

Examples

gh0st import backup.gh0st
gh0st lock

Lock vault

Usage

gh0st lock

Examples

gh0st lock
gh0st wipe

Secure delete all data

Usage

gh0st wipe [options]

Flags

--force

Examples

gh0st wipe --force
gh0st doctor

Diagnostics & setup

Usage

gh0st doctor [options]

Flags

--fix--setup

Examples

gh0st doctor
gh0st doctor --fix
gh0st doctor --setup