Skip to content

Context strategies

SigMap supports three output strategies: full, per-module, and hot-cold. This page shows when to use each one, what token cost to expect, and how MCP changes the decision.

Quick comparison

StrategyAlways injectedContext lossMCP requiredBest fit
full~4,000 tokensNoNoDefault for all IDEs and onboarding
per-module~100–300 tokens overviewNoNoModule-based projects, focused work
hot-cold~200–800 hot setCold files unless fetchedYes for coldClaude Code / Cursor with MCP

Each strategy in detail

full

Single output file with all signatures. Best if you want complete context all the time and do not want to manage additional files.

json
{
  "strategy": "full",
  "maxTokens": 6000
}

No context loss. No MCP needed.

per-module

Writes one file per top-level module plus a tiny overview. You inject only the module you are currently working on.

json
{
  "srcDirs": ["server", "web", "desktop"],
  "strategy": "per-module"
}

No context loss. No MCP needed. Typically 70% fewer injected tokens than full.

hot-cold

Recently changed files stay "hot" and are auto-injected. Everything else goes to context-cold.md and should be pulled via MCP when needed.

json
{
  "strategy": "hot-cold",
  "hotCommits": 10,
  "diffPriority": true
}

Cold files require MCP. Achieves ~90% fewer always-on tokens when using Claude Code or Cursor with MCP enabled.

Real usage scenarios

Scenario A: Fix a login bug

You edited auth files in the last few commits and need fast iteration.

Winner: hot-cold. The hot set already contains the files you are editing.

Scenario B: Cross-module question

You need frontend + backend context in one answer. MCP may or may not be available.

Winner: per-module. Load both module files — no context loss and no MCP dependency.

Scenario C: Team with MCP enabled

Claude Code / Cursor is standard across the team and MCP is always available.

Winner: hot-cold. Keep always-on tiny and fetch cold context only when needed.

Scenario D: Onboarding new engineers

Need broad project understanding quickly, with minimal setup complexity.

Winner: full. One file, complete picture, no additional workflow steps.

Decision tree

  1. No MCP in your IDE: choose full or per-module.
  2. Module boundaries are clear: choose per-module.
  3. MCP always available and active area is small: choose hot-cold.
  4. Unsure: start with full, then move to per-module when output grows.

Further reading


Made in Amsterdam, Netherlands 🇳🇱

MIT License