Windows forensic artifactClaudeCode
Claude Code (Anthropic agentic coding CLI) session transcripts, prompt history, configuration, hooks, and IDE integration artifacts
Look for .claude.json, history.jsonl, CLAUDE.md, keybindings.json, stats-cache.json, claude_desktop_config.json
in %UserProfile%, %UserProfile%\.claude\projects, %UserProfile%\.claude and 25 more folders.
- 34 paths
- Per-user data
- Version 1.0
- Eric Capuano
Paths on disk
34 paths
Notes
Claude Code stores its state under %USERPROFILE%\.claude\ (C:\Users\<user>\.claude\) plus a single %USERPROFILE%\.claude.json.
If the CLAUDE_CONFIG_DIR environment variable is set, everything under .claude\ lives in that directory instead; check
the user's environment variables (registry: HKU\<SID>\Environment) if the default location is empty.
Primary evidence of use is projects\<project-slug>\<sessionId>.jsonl. Each line is a JSON record with type
(user, assistant, system, summary, etc), uuid, parentUuid, sessionId, cwd, gitBranch, version, timestamp and the
full message content including tool_use inputs (commands run, files written) and tool_result outputs.
history.jsonl provides a quick cross-project timeline of prompts. file-history\ contains the pre-edit copies
of every file the agent modified, keyed by session ID.
Project-level configuration also exists inside individual repositories (<repo>\CLAUDE.md, <repo>\.claude\settings.json,
<repo>\.claude\settings.local.json, <repo>\.mcp.json). Those are not collected here because their locations are
arbitrary; the project list in .claude.json and the projects\ folder names identify which directories to examine.
Deliberately not collected: .claude\.credentials.json (OAuth tokens), .claude\sessions\*.key, and the plugin
source trees under .claude\plugins\cache and .claude\plugins\repos (large, reproducible from the recorded marketplace URLs).
Folder names for the Claude Desktop embedded sessions were verified against the macOS build (Application Support\Claude)
and mapped to the equivalent Windows AppData\Roaming\Claude location.
References
6 links
- code.claude.com/docs/en/claude-directory%20-%20Official%20reference%20for%20the%20~/.claude%20directory%20layout(opens in new tab)
- code.claude.com/docs/en/settings%20-%20Settings,%20permissions%20and%20environment%20variables(opens in new tab)
- code.claude.com/docs/en/hooks%20-%20Hook%20configuration%20and%20lifecycle%20events(opens in new tab)
- code.claude.com/docs/en/memory%20-%20CLAUDE.md%20and%20auto%20memory(opens in new tab)
- github.com/anthropics/claude-code(opens in new tab)
- github.com/anthropics/claude-code/issues/26073%20-%20MSIX%20virtualized%20AppData%20path%20for%20Claude%20Desktop(opens in new tab)
Related artifacts
Often collected in the same investigation
- ClineCline (VS Code AI coding agent) task conversation histories, MCP settings, checkpoints, and global state
- CursorCursor AI editor agent chat history, composer data, local file history, MCP and hook configuration, and logs
- GeminiCLIGoogle Gemini CLI chat session logs, prompt history, shell history, checkpoints, and configuration
- GitHubCopilotGitHub Copilot CLI and Copilot Chat (VS Code) agent sessions, prompt history, configuration, and MCP settings
- OpenAICodexOpenAI Codex CLI (agentic coding CLI) session rollouts, prompt history, state databases, and configuration
- OpenCodeOpenCode (open-source terminal coding agent) session database, logs, snapshots, and configuration
- RooCodeRoo Code (VS Code AI coding agent, archived May 2026) task conversation histories, MCP settings, custom modes, and checkpoints
- VisualStudioCodeVisual Studio Code artifacts