#transcripts
1 articles
-
cleanupPeriodDays: Claude Code deletes transcripts after 30 days by default (minimum 1, 0 is rejected)
Set cleanupPeriodDays in settings.json to control how long plain-text transcripts stay under ~/.claude, what the sweep skips, and CLAUDE_CODE_SKIP_PROMPT_HISTORY=1 to stop writing.