Explore the .claude directory changedclaude-directory
Nearest release: v2.1.239, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−9removed
From line
1,541
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 1541, old and new numbered
/
from line 1541
15411541
15421542### Kept until you delete them
15431543
1544The following paths are not covered by automatic cleanup and persist indefinitely.
1544The retention cleanup sweep doesn't cover the following paths. Claude Code keeps them until you delete them, apart from the two caches whose rows say that logging out deletes them.
15451545
1546| Path under `~/.claude/` | Contents |
1547| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1548| `history.jsonl` | Every prompt you've typed, with timestamp and project path. Used for up-arrow recall. |
1549| `stats-cache.json` | Aggregated token and cost counts shown by `/usage` |
1550| `remote-settings.json` | Cached copy of [server-managed settings](/docs/en/server-managed-settings) for your organization, or `{}` when your organization has configured none. Only present when the session [fetches them](/docs/en/server-managed-settings#platform-availability). Claude Code checks for updates at startup and hourly during a session. |
1551| `cache/changelog.md` | Cached copy of the Claude Code changelog, used to show release notes after an update. Refreshed in the background. |
1552| `policy-limits.json` | Cached feature policy settings for your organization. Only present for some account types. Refreshed automatically. |
1546| Path under `~/.claude/` | Contents |
1547| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1548| `history.jsonl` | Every prompt you've typed, with timestamp and project path. Used for up-arrow recall. |
1549| `stats-cache.json` | Aggregated token and cost counts shown by `/usage` |
1550| `remote-settings.json` | Cached copy of [server-managed settings](/docs/en/server-managed-settings) for your organization, or `{}` when your organization has configured none. Only present when the session [fetches them](/docs/en/server-managed-settings#platform-availability). Claude Code checks for updates at startup and hourly during a session. Claude Code deletes it when you log out. |
1551| `cache/changelog.md` | Cached copy of the Claude Code changelog, used to show release notes after an update. Refreshed in the background. |
1552| `policy-limits.json` | Cached feature policy settings for your organization. Only present for some account types. Refreshed automatically. Claude Code deletes it when you log out. |
15531553
15541554Other small cache and lock files appear depending on which features you use and are safe to delete.
15551555
No line in this hunk matches that.