One read of Claude Code CLIclaude-code-20261019T213701Z
3 pages moved out of 228 read.
Pages moved
3
significant first
Pages read
228
in this capture
Captured
21:37 UTC
Corpus hash
9d285b0ae103
corpus-hash
What this read moved
1-3 of 3claude-directory Changed · +6 / -3 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 |
claude-tag Changed · +1 / -1 lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
Nothing in the body moved in this read. What changed is above.
monitoring-usage Changed · +1 / -1 lines
from line 1034
10341034* `event.sequence`: per-process counter for ordering events, described under [Event correlation attributes](#event-correlation-attributes)
10351035* `from_mode`: The previous permission mode, for example `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, or `"bypassPermissions"`
10361036* `to_mode`: The new permission mode
1037* `trigger`: What caused the change. One of `"shift_tab"`, `"exit_plan_mode"`, `"auto_gate_denied"`, or `"auto_opt_in"`. Absent for some changes, such as when the SDK sets the permission mode through [`setPermissionMode()`](/docs/en/agent-sdk/typescript#query-object)
1037* `trigger`: What caused the change, for example `"shift_tab"`, `"exit_plan_mode"`, or `"auto_gate_denied"`. Absent for some changes, such as when the SDK sets the permission mode through [`setPermissionMode()`](/docs/en/agent-sdk/typescript#query-object)
10381038
10391039#### Auth event
10401040