Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Explore the .claude directory changedclaude-directory

Nearest release: v2.1.304, published an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 19 Oct 2026 21:28 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 19 Oct 2026 21:37 UTC.

Upstream edited
Recorded here
Lines+6added
Lines−3removed
From line 1,678 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits45to this page, all time

The whole hunk

from line 1678, old and new numbered
/
lines
from line 1678
16781678claude purge ~/work/my-repo --yes
16791679```
16801680 
1681Pass `--all` instead of a path to purge state for every project at once, which deletes `history.jsonl` outright rather than filtering it. Pass `-i` to step through the deletion plan one item at a time.
1681Other options:
16821682 
1683* Pass `--all` instead of a path to purge state for every project at once, which deletes `history.jsonl` outright rather than filtering it.
1684* Pass `-i` to step through the deletion plan one item at a time.
1685 
16831686The command leaves `shell-snapshots/` and `backups/` alone because those are not project-scoped, and warns about them in the plan output. If anyone ran [`/heapdump`](/docs/en/troubleshooting#high-cpu-or-memory-usage) on the machine, delete the `.heapsnapshot` files it wrote too. A heap snapshot contains the full conversation and any credentials the process held, and neither the retention sweep nor the purge touches it.
16841687 
1685You can also delete any of the application-data paths above by hand, apart from the [state files to keep](#state-files-to-keep). New sessions are unaffected. The table below shows what you lose for past sessions.
1688You can also delete any of the application-data paths above yourself, apart from the [state files to keep](#state-files-to-keep).
16861689 
16871690| Delete | You lose |
16881691| - | - |
from line 1701
16981701| `~/.claude/remote-settings.json` | Nothing. Re-fetched on next launch. |
16991702| `~/.claude/cache/changelog.md` | Nothing. Refreshed in the background. |
17001703| `~/.claude/policy-limits.json` | Nothing. Refreshed automatically. |
1701| `~/.claude/tasks/` | Task lists that a resumed session would pick up |
1704| `~/.claude/tasks/` | Your [task lists](/docs/en/interactive-mode#task-list), including any still in use |
17021705| `~/.claude/skills/.trash/`, `~/.claude/plugins/.trash/` | The chance to recover [synced skills](/docs/en/skills#how-synced-skills-behave) and [synced plugins](/docs/en/plugins/loading#synced-plugins) that Claude Code removed |
17031706| `~/.claude/plugins/installed_plugins.set-aside.<date>.<hash>.json`, `~/.claude/plugins/installed_plugins.unreadable.<date>.<hash>.kept` | The copies of plugin install records that Claude Code dropped or couldn't read. Nothing reads them back |
17041707| `~/.claude/debug/`, `~/.claude/plans/`, `~/.claude/session-env/`, `~/.claude/shell-snapshots/`, `~/.claude/backups/` | Nothing user-facing |
Feedback