All 21 keys. Run sigmap --init to create a starter config with all options annotated.
Full example
Every available key shown with its default value. All fields are optional — omit any key to keep its default.
node gen-context.js --init to write a gen-context.config.json pre-filled with all defaults and inline comments. The command will not overwrite an existing file.Config reference
Grouped by function. Every key is optional — SigMap uses the default when the key is absent.
copilot → .github/copilot-instructions.md, claude → CLAUDE.md, cursor → .cursorrules, windsurf → .windsurfrules."cache" writes an additional Anthropic prompt-cache JSON file alongside the standard markdown. Feed the JSON directly to the Anthropic API to reduce repeated context costs by up to 90%.maxDepth. Full default list includes: components, pages, routes, controllers, models, utils, helpers, middleware, config, types, interfaces, schemas, stores, hooks..contextignore in the project root.--report --json flag exits 1 when over budget.full flattens everything into one file. per-module groups by top-level directory. hot-cold separates frequently-changed files from stable ones. See the Strategies page for trade-offs.hot-cold strategy. Files touched in any of the last N commits are placed in the hot section. Only relevant when strategy is "hot-cold".package.json, pyproject.toml, or go.mod. Each file is scoped to its own package tree.--watch mode. Increase if rapid successive saves cause unnecessary regenerations (e.g. editors that save multiple intermediate states). Decrease for faster response on slow machines..context/usage.ndjson on every run. Each record includes timestamp, token counts, file counts, and reduction percentage. Enables historical trend analysis via --report --history.changes is true. Increase for longer project histories; decrease to keep the output leaner.testCoverage is enabled. Add custom test directory names here if your project uses a non-standard layout such as e2e or integration..contextignore
Use gitignore syntax to exclude specific files and paths that the exclude array alone can't express.
.contextignore file in your project root. SigMap reads it automatically on every run — no config key needed. It is fully compatible with .repomixignore, so you can symlink the two files to share one exclusion list across both tools.ln -s .contextignore .repomixignore. See the Repomix integration guide for the two-layer caching strategy.What's next