TokenCap
FeaturesDocsCLIPricingAbout
Demo CLI
TokenCap emblem

TokenCap

Coding context at the speed of thought.
Built for the LLM era.

Product

  • Features
  • Docs
  • Changelog

Resources

  • Terms
  • Privacy
  • Security

Community

  • •GitHub
  • •Discord
© 2026 TokenCap. Built for developers.
terminal

Documentation

v2.4.0
rocket_launchGetting StartedsettingsConfigurationsettings_input_componentContext Profilesaccount_treeKnowledge Graphinventory_2Memory Layerenhanced_encryptionSecret RedactionterminalCLI ReferenceextensionVS Code Extension
codeGitHubforumDiscord
DOCUMENTATION

Configuration

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

chevron_leftDocs OverviewCLI Referencechevron_right