Create a .tokencap.json file in your project root to customize behavior:
json
{
"profile": "balanced",
"outputPath": "TOKENCAP.md",
"maxFiles": 90,
"maxSourceBytes": 220000,
"maxFileBytes": 14000,
"maxDiffBytes": 50000,
"includeGitDiff": true,
"includeFileContents": true,
"excludePatterns": ["node_modules/**", "dist/**", "build/**", "coverage/**"],
"redactSecrets": true
}Run tokencap init to auto-generate this file. Run tokencap config to see the fully resolved configuration including profile defaults.
Config resolution order: defaults → profile overrides → .tokencap.json → CLI flags