Builds a high-level project summary (a “context bomb”) and writes it to stdout. Use it after Claude Code compacts its context window to re-establish understanding of your codebase structure, domains, and key files. With an API key configured (runDocumentation Index
Fetch the complete documentation index at: https://docs.supermodeltools.com/llms.txt
Use this file to discover all available pages before exploring further.
supermodel login), restore calls the Supermodel API for an AI-powered analysis including semantic domains, external dependencies, and critical file ranking.
Without an API key (or with --local), restore performs a local scan of the repository file tree and produces a simpler structural summary.
Synopsis
Flags
| Flag | Description |
|---|---|
--dir | Project directory (default: cwd) |
--local | Use local file scan instead of the Supermodel API |
--max-tokens | Maximum token budget for the output (default 2000) |
-h, --help | Help for restore |