Skip to content

Command Reference

All commands live under the grok-utils CLI. Most have subcommands.

grok-utils --help
grok-utils <command> --help
grok-utils <command> <subcommand> --help

Every command that produces structured data supports --json (and the global --grok-home / -g).

Use the left navigation or the links below to jump to detailed docs for each command.

Top-level

  • doctor — Diagnose your Grok Build environment and grok-utils setup

Full command groups

  • sessions — Advanced session browser, search, stats, analyze, export, prune, resume
  • skills — Skill discovery, creation, validation, pack/unpack
  • backup — Industrial-strength, manifest-backed backup & restore
  • usage — Rich analytics, reports, timeline, models, cost estimates
  • mcp — MCP server inspection, testing, example injection
  • worktree — Git worktree + Grok session hygiene
  • memory — Cross-session memory explorer (experimental)
  • plugins — Plugin discovery, inventory and validation
  • hooks — Hooks listing, scaffolding and validation
  • config — Inspect config.toml, paths, settings and validation
  • logs — Quick log tailing and filtering

See Quick Start for common usage patterns and Examples & Tips for more.