Skip to content

How to evaluate a candidate's Claude Code session in an interview

Score the decisions the candidate made around the agent, not the code the agent wrote: whether they read before writing, planned, gave specific prompts, pushed back, verified, recovered from wrong turns and managed context. Capture the transcript and final diff, score each behavior against observable evidence, and have every reviewer cite the moment in the session that justifies the tier.

Paarth Jamdagneya
hiringai-collaborationinterviewsclaude-code

Evaluate a candidate's Claude Code session by scoring the decisions they made around the agent, not the code the agent produced. Capture the full transcript and the final diff, then score eight behaviors (reading before writing, planning, prompt specificity, pushback, verification, recovery, context management and knowing when not to delegate) against evidence you can point to in the session.

The reason the output alone fails as a signal: with a capable agent, two candidates with very different judgment can submit near-identical diffs. One read the code, caught the agent deleting a null check and asked for a test. The other accepted the first answer and got lucky. The diff can't tell them apart; the session can. More on that shift in the code is no longer the signal.

What should you capture from the session?

You need three artifacts, and the first matters most.

  1. The session transcript: every prompt the candidate typed, every tool call the agent made (file reads, edits, shell commands) and every tool result. Claude Code already records this: per Anthropic's docs, each message, tool use and result is written to a plaintext JSONL file under ~/.claude/projects/. For Codex or any other agent, ask the candidate to send the session transcript with the submission, and tell them up front that you'll read it.
  2. The final diff against the starting commit.
  3. The last test run's output, run by you, not reported by the candidate or the agent.

A screen recording is a poor substitute: you can't search it for "every time the candidate ran the tests," and two reviewers will remember different moments. The transcript gives you timestamps and turn numbers, which is what makes scores citable.

What do good and weak sessions look like?

For each behavior, here is what you'd see in the transcript, and why it carries signal.

Reading before writing

Good: the first several turns are reads. The candidate opens the relevant module, the tests, maybe the README, or asks the agent to summarize how exports flow through the code before asking for a change. Weak: the ticket text is pasted into the first prompt with "implement this."

The mechanism: the agent will happily write code against a codebase it hasn't read, and it will invent conventions to fill the gap. A candidate who reads first is the only source of the real conventions in the session.

Plan before edit

Good: the candidate uses plan mode, or asks for a plan in plain text, then edits the plan ("skip the migration, we have a column for that") before approving it. Weak: edits start on turn one; the plan, if any, is approved unchanged.

Approving a plan unchanged in four seconds when it touches six files is the weak version.

Prompt specificity

Good: prompts name files, constraints and a definition of done. "Add the limit check in export_service.py before the job is enqueued, reuse the existing RateLimiter, and add a test for the org-at-limit case." Weak: "make it work," "fix it," "try again."

Specificity matters because it's the only channel through which the candidate's understanding reaches the agent. Vague prompts mean the agent is making the design decisions.

Pushing back on the first answer

Good: at least one moment where the candidate rejects or narrows what the agent proposed: "no, don't add a new dependency," "that changes the public API, keep the signature." Weak: every proposal accepted, including the scope creep.

This is the clearest judgment signal in a session, because the agent's first answer is plausible by construction. Pushing back requires the candidate to hold a model of the codebase that the agent doesn't have.

Verification

Good: the candidate runs the tests themselves, reads the diff before accepting it, and checks an edge case the agent didn't mention. Weak: the agent's summary ("all tests pass, the feature is complete") is treated as proof. Worse: a failing test gets "fixed" by loosening the assertion, and nobody notices.

Search the transcript for test commands and diff reads. An agent-initiated test run whose result nobody looked at doesn't count.

Know what the transcript can't show. A candidate who runs the tests in a second terminal, reads the diff in their editor's git panel, or fixes a line by hand outside the agent leaves no trace of it in the agent's log, and the final diff doesn't say when they checked anything. So a missing test command is a question, not a verdict: in the walkthrough, ask "how did you know this worked?" and let them show you. Score verification as weak only when the answer confirms they didn't check.

Recovering from a wrong turn

Good: when something breaks, the candidate forms a hypothesis ("the limiter keys on user, not org"), checks it, and redirects. Sometimes they revert and start the step over. Weak: three or more "still broken, fix it" prompts in a row, each giving the agent no new information.

The loop is the tell. If the prompt doesn't change, the agent's input doesn't change, and the candidate is waiting for luck.

Context management

Good: the candidate points the agent at the right files, starts a fresh context or compacts when a long debugging detour has filled the window, and restates constraints that matter. Weak: the session drags one context through an hour of unrelated exploration, and the agent forgets a rule set early on.

Claude Code compacts automatically when context fills, and Anthropic's docs note that detailed instructions from early in the conversation can be lost when it does. A candidate who knows this restates the constraint; one who doesn't is surprised when the agent violates it.

Knowing when not to delegate

Good: the candidate types a two-line fix themselves instead of describing it in a paragraph, or edits the agent's output by hand when that's faster. Weak: a five-turn negotiation to rename a variable.

Delegation has a cost (writing the prompt, reading the result), and strong candidates know when it exceeds the benefit.

A rubric with observable evidence per tier

Score each behavior separately; a single number hides a candidate who verifies well and scopes badly.

BehaviorWeakAdequateStrong
Reading before writingFirst prompt is the pasted ticketReads the main file, then promptsReads code and tests, or has the agent summarize, before any edit
Plan before editNo plan; edits from turn onePlan requested and approved as-isPlan revised by the candidate before approval
Prompt specificity"Fix it," "make it work"Names the task and roughly whereNames files, constraints, reuse targets and done criteria
PushbackAccepts every proposalRejects one obvious overreachNarrows scope or rejects a plausible-but-wrong approach, with a reason
VerificationTrusts the agent's summaryRuns the existing testsRuns tests, reads the diff, checks an untested edge case
RecoveryRepeats the same prompt after failureChanges approach after several triesStates a hypothesis, tests it, redirects or reverts
Context managementOne bloated context; agent driftsPoints at relevant filesRestates constraints, resets or compacts at sensible points
Delegation judgmentDelegates trivial edits at lengthMixedTypes small fixes, delegates coherent chunks

Two rules keep this honest. First, if the task never gave the candidate a chance to show a behavior (nothing ever broke, so there was nothing to recover from), mark it "not observed," not weak. Second, tie every tier to a turn number: "Turn 14: caught that the agent removed the null check." A score without a citation is an opinion.

Which red flags aren't actually red flags?

Several patterns that look bad on a recording are what good agentic work looks like.

  • Heavy pasting: Pasting error output, stack traces and test failures into the agent is correct use. The question is whether the candidate read what they pasted.
  • Fast, linear output: An engineer who plans well and delegates cleanly produces code in large, smooth chunks. Typing-cadence "suspicion" signals flag this person and a cheater identically, which is part of why we don't try to detect AI usage.
  • Few prompts: Six precise prompts beat forty vague ones.
  • Letting the agent run without interrupting: If the plan was good, intervening is micromanagement. Judge whether the candidate checked the result afterward.
  • Using the agent to read the codebase: "Summarize how rate limits are enforced here" is reading before writing, done efficiently.

The real red flags are the ones in the weak column: no verification, repeated identical prompts, a loosened assertion nobody questioned, and a final summary claiming more than the tests show.

How long does review take, and how do you keep it consistent?

For a 30-minute session, budget roughly 30 minutes the first few times you review one. Most of that time goes into finding the decision points: the plan, the first pushback, the first failed test, the final verification. Once you know to search the transcript for those moments, review gets faster.

To keep reviewers consistent:

  1. Use one rubric with evidence in every cell, like the table above. Adjectives ("good judgment") drift between reviewers; "ran the tests and read the diff" doesn't.
  2. Calibrate on shared sessions: Before scoring real candidates, have every reviewer score the same two or three recorded sessions independently, then compare. Most disagreements come from one reviewer missing a moment.
  3. Require citations: Every tier points to a turn or timestamp.
  4. Give everyone the same task, repo and agent settings, so differences in the session come from the candidate.
  5. Let a person make the call: The rubric organizes evidence; it shouldn't auto-reject.

How do you design the task so the session shows something?

A session only reveals judgment if the task demands some. A well-specified ticket on a toy repo gives the agent everything it needs, and every candidate's session looks the same.

Use an ordinary, incomplete ticket in a real-feeling repo: three vague acceptance criteria where the real work has six requirements. The missing requirements aren't in the prompt, so the agent can't supply them; only a candidate who reads the code, notices the gap and asks someone gets them. That gives you scoping and pushback evidence for free. Keep the scope to about 30 minutes, and make sure someone can answer the candidate's questions the same way for everyone. The sibling posts on running an async work trial and judging clarifying questions go deeper on both.

Follow the session with a short walkthrough without the agent: "What did the agent get wrong, and how did you notice?" A candidate who can't explain their own diff has told you something the transcript can't.

Doing this with a tool

Everything above works by hand with a JSONL file, a diff and a shared spreadsheet. The hard parts are capture, fair access to missing information, and finding decision points in a long transcript.

Promptster for Hiring is an asynchronous work trial built around that process. The candidate gets an ordinary, incomplete ticket in a prepared repo and works in their own editor with the agent they already use; Claude Code and Codex are fully supported, with prompts, tool calls and file diffs captured after an explicit consent screen. AI teammates hold what the ticket leaves out ("Dana / Product" owns scope, "Priya / Architecture" owns constraints), so every candidate has the same route to the missing requirements. There's no proctoring, lockdown, keystroke logging or webcam.

The reviewer gets a case-file timeline that marks decision points, self-corrections, scoping moves and AI over-delegation; per-change attribution (human, AI, or human-revised) recorded server-side between the agent and the model; and a frame-exact replay filterable by prompt, tool call or file touch, which is the "find turn 14" step done for you. The rubric is open source and tuned per team, with dimensions like task framing, direction quality, steering, verification loop and context management, scored in tiers with evidence. Nothing auto-rejects, and the rubric never sees a résumé, name or demographics.

Other vendors cover parts of this. CodeSignal's agentic assessments give reviewers an AI transcript and replay, Codility has a Claude Code and Codex preview, and CoderPad and Karat run live interviews. The difference in shape is the incomplete ticket with people who hold the missing context, run asynchronously. The first assessment is free, with no card, on your own Anthropic key. If you'd rather run it yourself, the rubric table above is enough to start.

Frequently asked questions

  • What should I collect from a candidate's Claude Code session?
    Collect the full session transcript (every prompt, tool call and tool result), the final diff, and the test output from the last run. Claude Code writes each session to a plaintext JSONL file under ~/.claude/projects/ on the candidate's machine, so ask for that file or a tool that captures the same events with consent. A screen recording alone is hard to search and hard to score consistently.
  • Should I penalize a candidate for letting the agent write most of the code?
    No. How much code the agent typed says nothing about the candidate's judgment. Score what they did with that code: whether they read the diff, ran the tests, caught the agent's mistakes and kept the change in scope. A candidate who delegated almost everything and verified all of it is stronger than one who typed half of it and checked nothing.
  • How long does it take to review a 30-minute Claude Code session?
    Budget about as long as the session itself for a careful first read, then less once your reviewers share a checklist. The time goes into finding decision points (the plan, the first pushback, the first failing test), so a timeline that marks those moments cuts review time sharply. Reading the transcript start to finish without a rubric is what makes review slow.
  • How do I make scores consistent across different reviewers?
    Give every reviewer the same rubric with observable evidence written into each tier, and require them to cite the moment in the transcript that justifies each score. Before using it on real candidates, have all reviewers score the same two or three recorded sessions and discuss where they disagreed. Mark behaviors the session never tested as not observed instead of scoring them low.
  • Does this work for Codex sessions too?
    Yes. The behaviors are the same regardless of agent: reading before writing, planning, prompt specificity, pushback, verification, recovery and context management. Only the capture step changes: ask for the session transcript from whichever agent the candidate used. The rubric in this article applies unchanged.
On the record · signed · replayable

Read the process,
not just the commit.

Twelve founding teams will ship this with us. A technical screen that can't tell paste from craft isn't neutral. It's a ~$200K coin-flip you won't catch for months. If you hire 5+ engineers a year, we should talk.