Claude Code Extended Thinking: What the Output Shows

Updated
8 min read
Claude Code thinking summary beside a verifiable test result.
TL;DR

Use the thinking summary to follow a session. Use tool results, diffs, and tests to verify what the agent did.

Claude Code extended thinking can give you a readable sketch of how a session is going. If you are reviewing a patch, give that sketch the same weight you would give a coworker’s status update. It is a lead. The diff, the tool results, and the tests are the evidence.

In June 2026, Patrick McCanna reported finding a signature and no readable thinking text in a session he inspected. Anthropic’s current thinking documentation describes the readable text exposed by the API as a summary. It also describes response shapes with an empty visible text field. The client, model and configuration determine what you see.

Separate the summary from what the tool did

Say Claude Code is fixing a report whose totals changed after an import. Its thinking summary mentions timezone conversion. That can tell you what to inspect first. The record you want for the review is whether Claude opened the converter, changed a query or a test, and ran the fixture where the totals diverged.

Click any column to sort
4 rows
Thinking summaryFollow the proposed direction and notice assumptions worth checking.
Tool call and resultSee whether a command ran and what it returned.
Code diff and regression testVerify the behavior the patch actually changed.
Final explanationCheck the agent’s account of the change against the artifacts.

When your team needs an answer later, save the test command, its result, and the relevant diff alongside the work item. The AI agent TDD skill gives an example of carrying the failing test into review. If you export session events, review the collection and retention settings as part of your Claude Code data-flow inventory.

Change effort when the task warrants it

Anthropic’s guide to choosing model and effort in Claude Code explains the in-client effort control and how available levels vary. Give an ambiguous cross-module bug more room than a mechanical rename. Before changing effort, check that Claude has a way to reproduce the failure, access to the right files, and a clear definition of success. More work on the wrong task still leaves the bug open.

The Claude API has its own controls. Anthropic documents thinking configuration separately from the API effort parameter. If you maintain an API integration, use those docs for the model you call. For comparing two Claude Code sessions, record the model, effort, and starting commit so you know what changed.

Compare the result on one real task

Take a bug whose fix your team already understands. Run the same request from clean checkouts with two available effort settings. Compare which run passed the acceptance test, the time it took, and what the reviewer had to correct. The cost per accepted fix guide explains how to include failed runs and rework in that comparison.

Decide what belongs in a session record

An engineering record should let somebody else reconstruct the work from an issue to its verified result. The useful pieces are the instruction you gave, the starting code, the model and effort setting, the actions that took place, and the checks you can repeat. In the reporting example, that means identifying the dataset or synthetic fixture, the query or conversion code that changed, and the expected total. A paragraph about what the model considered can provide background if it points you to the right artifact.

Keep a short table in the issue or review when the work spans several sessions:

5 rows · Click column to sort
Starting commit or branchGives you the same application behavior to check again
Task and acceptance conditionExplains which total should change and what should stay the same
Edited files and important tool resultsShows where the behavior was changed and which commands ran
Test and known remaining gapLets another engineer decide whether the evidence is sufficient
Model, client, and effort levelMakes a later comparison possible if tools or settings change

A readable summary is a convenient place to find a lead. If it says the import uses local time, open the query and check which timezone is applied. If it mentions a passing test, inspect the runner output and the assertion. A summary can describe work in progress, while the artifacts establish the result you are about to rely on.

Make sense of a short or missing thinking block

A short summary can be perfectly compatible with a substantial run. An empty field can be a documented response shape. Start by checking what the model and client are expected to expose. Then ask what effect the missing text has on your workflow. For ordinary coding, the missing text may only change what you can see while the agent works. For an audit, you may need a record of observed tool actions that does not depend on that field.

Consider two examples. In the first, a task takes longer than usual and shows little thinking text, yet it creates the expected change and runs the relevant verification. You can open the diff and make a normal engineering decision. In the second, a task claims a fix and gives a lengthy explanation, but nothing in the output shows the test actually ran. Look for the tool result or run the check yourself. Those two cases illustrate why visible length is a weak measurement.

For a client built on the API, follow the provider’s contract for handling blocks in later turns. The thinking guide describes the summary and the associated signature for relevant response shapes. Where the API requires round-tripping blocks, preserve them in the supported conversation flow. Treat fields intended for the protocol separately from text intended for a human-facing log.

Compare model effort without changing the rest of the task

Pick a task whose outcome you can verify with repeatable checks. The reporting example is useful because you can prepare a small fixture where the previous result is wrong. Build a task brief with the expected behavior and existing test command. Then start from clean checkouts and vary one available setting. Use the same repository instructions, model, tool permissions and version for both trials.

Write down what you want to learn first. If you want faster turnaround on routine tickets, compare time to a verified result and the number of manual corrections. If you want to see whether a harder bug benefits from more effort, choose a case where the answer depends on tracing two modules or testing an uncertainty. Make the success conditions explicit. More tool calls or more text might accompany a useful change, but the acceptance test and review decide whether it is useful.

Record stopped or failed attempts alongside the successes. An experiment that discards every run that ran out of time can make a configuration look better than it is. If one trial was blocked by a setup error, fix the setup and repeat both from equivalent starting points. Our Codex model regression test guide walks through the same broad measurement problem with a different coding client.

Give reviewers evidence without collecting private content

A work item might need the tool name, the repository path within the project, the command result, and a small diff. It usually does not need the contents of every file the tool opened. If the codebase handles customer information, use synthetic fixtures where possible. Choose who can see your logs and what the retention period should be before copying an entire session into a shared location.

For an ordinary pull request, write three sentences. Say what was happening before. Say what changed. Then give the check that demonstrates the new behavior. If the work left an unresolved assumption, record it alongside the check rather than hiding it inside the discussion of settings. This gives the reviewer something they can confirm even if their client presents thinking output differently.

The goal of the record is shared understanding. A developer who opens the ticket tomorrow should be able to identify which test proved the totals were fixed. If somebody later asks whether increased effort helped, the clean checkout, settings and results give you a way to answer. The visible summary can help along the way. The test and the code tell the team's lasting story.

Handle a surprising explanation the same way you handle a surprising test

Suppose a summary says the time conversion failed because input timestamps were local, while the fixture shows they already carry a UTC offset. Record the mismatch and inspect the code path. Find where the parser converts the value and where the report groups it. If the offset is preserved until grouping, the useful fix may be in the grouping logic. A summary can help you find a file. It can also contain an assumption worth ruling out.

Ask the agent to point to the input and the observable result. It can show which row changed buckets, what the expected total is, and which check now covers it. If the answer still rests on a claim you cannot reproduce, keep investigating the fixture. A stronger review question is “Which value went into the grouping function?” That is something the code or test can answer directly.

Save the few lines of evidence in the work item and move on when the checks are adequate. This approach works whether the interface exposes a detailed summary, a short progress note, or no readable thinking text.

If the report totals are now correct and the fixture proves it, you have something worth keeping. The visible thinking text served its purpose once it helped you find the right question to ask.

Frequently Asked Questions

Is the Claude Code thinking text a full transcript?

Anthropic documents the readable thinking text it exposes as a summary. Whether a summary is shown depends on the model, client and configuration.

Does higher effort always produce a longer visible summary?

The effort setting affects how much work the model puts into a response. The client can display a short summary or omit it, so visible length alone is a poor measure of the work.

What should I keep for a coding-agent audit?

Keep the task, model and effort settings, tool actions and outcomes, code changes, and the tests that verified the result. Handle sensitive data under your log and retention policies.

#claude-code#reasoning-models#developer-tools#observability

One AI engineering post, weekly

LLM benchmarks, prompt techniques, and token-cost breakdowns, delivered to your inbox.

What should we test or explain next?

Comments

Have a question or something to add? Sign in to join the discussion.

Mahmudul Haque Qudrati — CEO & ML Engineer at Pristren

Mahmudul Haque Qudrati

CEO & ML Engineer

Software architect, full-stack engineer, and machine learning practitioner. Founder & CEO of Pristren, CTO at Venture Kick-backed PIN Sport Application GmbH (Basel, Switzerland), Software Development Lead at DailyFrame GmbH (building Dimetra patient transport software), and creator of Zlyqor. Focused on custom workflow automation, scalable web and mobile applications, and production AI/ML systems.