transcript high
One directory per project holding the verbatim JSONL history of your Claude Code sessions — every prompt, file read, command, and output — plus subagent and workflow logs.
Where it lives
- all
~/.claude/projects/*dir
What you can do
- Set cleanupPeriodDays in your Claude Code settings to limit local retention.
- Keep ~/.claude out of cloud-synced folders and git repositories.
Source: code.claude.com
config with secrets high
Claude Code configuration, which can include account and credential-adjacent material.
Where it lives
- all
~/.claude.json
What you can do
- Ensure this file is not world-readable.
- Keep it out of synced folders and repositories.
This describes where Claude Code stores data. Metadata only, never your content. Confidence: verified. Spot a mistake? Tell us.