The definitive
CLI toolkit for
Grok Build
12+ production-grade utilities.
Sessions, skills, backups, analytics, MCP, plugins & hooks.
Beautiful • Safe-by-default • Scriptable with --json
See what grok-utils can actually do.
Most CLI tools are toys or thin wrappers. grok-utils ships real, daily-driver power tools that operate directly on your ~/.grok data — with beautiful output, ironclad safety defaults, and first-class JSON support for scripting and dashboards.
Everything here was built to make you dramatically more productive with Grok Build. Zero mocks. Real data only.
The Utilities
Advanced session browser, search (FTS), deep analysis, export (md/html/json), resume, and safe pruning.
Full lifecycle: discover (priority-aware), create high-quality starters, validate, pack/unpack for sharing.
Industrial-strength backups with SHA-256 manifests. Selective sessions by project. Extremely safe restore (dry-run default).
Stunning reports, sparklines, timelines, model breakdowns + rough cost estimates. Group by project or model.
Inspect config, doctor PATH checks, test servers, and easy example injection for filesystem, GitHub, SQLite etc.
Correlate git worktrees with sessions (find zombies). Cross-session memory explorer and search.
Real work. Real productivity.
These tools operate directly against your live ~/.grok data with rich terminal output and zero configuration.
Session forensics & export
List, search (leveraging Grok's own FTS), deep analyze with signals + rewinds, export beautiful markdown or self-contained HTML for reviews and handoff.
Usage + Cost awareness
Visual reports with unicode bars and sparklines. Model and project breakdowns. Rough cost estimates to spot expensive work early.
Get started
Works directly with your real ~/.grok. Supports --grok-home / GROK_HOME. Every destructive action defaults to --dry-run.