Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supermodeltools.com/llms.txt

Use this file to discover all available pages before exploring further.

Archives the repository, uploads it to the Supermodel API, and runs call graph generation, dependency analysis, and domain classification. Results are cached locally by content hash. Subsequent commands (dead-code, blast-radius, graph) reuse the cache automatically. By default, .graph.* shard files are written next to each source file. Pass --no-shards to skip writing graph files.

Synopsis

supermodel analyze [path] [flags]

Flags

FlagDescription
--no-shardsSkip writing .graph.* shard files
--forceRe-analyze even if a cached result exists
-o, --outputOutput format: human | json
-h, --helpHelp for analyze

Examples

# Analyze the current directory
supermodel analyze

# Re-analyze without using the cache, output JSON
supermodel analyze --force -o json

# Run analysis without writing sidecar files
supermodel analyze --no-shards