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

Secret Redaction

TokenCap automatically redacts secrets before writing any file content to disk. Redaction is enabled by default (redactSecrets: true).

Patterns detected and redacted:

  • OpenAI API keys: sk-... → [REDACTED_OPENAI_KEY]
  • GitHub PATs: ghp_..., github_pat_... → [REDACTED]
  • Slack tokens: xox... → [REDACTED]
  • AWS access keys: AKIA... → [REDACTED]
  • Google API keys: AIza... → [REDACTED]
  • Bearer tokens (≥20 chars)
  • Generic variable assignments: api_key=, token=, secret=, password=, passwd=, pwd=

To disable redaction (not recommended for shared snapshots):

json
{ "redactSecrets": false }
chevron_leftDocs OverviewCLI Referencechevron_right