Claude Code
Claude Code writes every session to a JSONL file under the projects directory. Here is the exact path, the slug rule, and how to find a chat again.
Guides
Three coding agents, four questions each, answered from the behaviour rather than from the marketing. Every page here states what one engine actually does and puts it beside the other two.
Session storage
Claude Code writes every session to a JSONL file under the projects directory. Here is the exact path, the slug rule, and how to find a chat again.
Codex CLI writes rollout files into a dated directory tree and compresses the cold ones. Here is the exact layout and why paths resolve by id.
Grok CLI gives every session its own directory with a live summary index. Here is what each file holds and which one is the authority on the project path.
Permission modes
Plan, supervised, accept edits, auto and full access: what each Claude Code permission mode actually allows, and which one new sessions start in.
Codex pairs an approval policy with a sandbox level. Here is what read only, plan, auto and full access each permit, and why accept edits is missing.
Grok denies rather than asks in read only mode and has no plan mode of its own. Here is what each Grok permission mode really does before you rely on it.
Resuming a session
Resume picks up a Claude Code conversation that already exists on disk. Here is what it restores, what it does not, and how to find the session id.
Codex resumes a thread before every turn, so it always sees terminal edits. Here is what that costs on a long thread and why it needs the working directory.
Grok re-reads session state on every turn rather than resuming explicitly. Here is what that means for terminal work and for finding a session again.
Models and effort
Claude Code has a model, a reasoning effort and a separate thinking budget. Here is how the three interact and why the order they are set in matters.
Codex advertises a larger context window than you can use and lists effort levels per model. Here are the real numbers and where the levels come from.
Grok reports a 500,000 token window and compacts at 85 percent of it. Here is where the model list comes from and why the window needs no correction.
Claude Code, Codex and Grok in one browser console