← Claude Docs

Week 28 · July 6–10, 2026 - Claude Code Docs

Claude Docs · July 10, 2026
Claude Code on desktop now features a built-in sandboxed browser enabling the AI to access and interact with external sites, documentation, and web content. The /doctor command evolved from a diagnostic tool to one that automatically fixes issues including installation health checks, unused tool identification, and configuration deduplication, alongside multiple safety and performance enhancements across the platform.

Detailed Analysis

Anthropic's Claude Code shipped a substantial set of updates during the week of July 6–10, 2026, spanning versions 2.1.202 through 2.1.206, with the headline feature being a built-in browser for the desktop application. This browser allows Claude to navigate documentation, design files, or any external website, and to read, click, and interact with pages using the same mechanics it already applies to local development server previews. Anthropic built in several guardrails around this capability: the browser runs in a sandboxed environment, users control whether sessions persist across interactions, and safety classifiers actively review actions taken on external sites. This addition effectively extends Claude Code's reach beyond the codebase and local environment into the broader web, positioning it as a more autonomous research and integration tool rather than one confined strictly to files and terminals.

The second major change transforms the `/doctor` command (aliased as `/checkup`) from a passive diagnostic tool into an active remediation system. Previously limited to generating read-only reports, `/doctor` can now directly fix issues it identifies, including checking installation health, flagging unused skills, MCP servers, and plugins relative to their context-window cost, deduplicating local CLAUDE.md files against versions already checked into source control, suggesting trims to CLAUDE.md content that Claude could otherwise infer from the codebase, and identifying slow-running hooks. Notably, the tool still reports findings before acting and requires user confirmation prior to making changes, reflecting a broader design pattern Anthropic has leaned on throughout the update: expanding Claude's autonomy while preserving human-in-the-loop checkpoints for consequential actions.

That tension between increased autonomy and safety surfaces repeatedly in the smaller changes bundled into this release. Auto mode now blocks any tampering with session transcript files and pauses before executing `rm -rf` on variables it cannot resolve from context — a direct response to the kind of destructive-command risk that autonomous coding agents have long been criticized for. Similarly, background task notifications now explicitly state when no human input has occurred, a safeguard designed to prevent the agent from being tricked by fabricated "approvals" embedded in a transcript. This is a meaningful detail: as agents operate more independently in the background, the surface area for prompt-injection-style manipulation grows, and Anthropic appears to be hardening against scenarios where a malicious or corrupted transcript could impersonate legitimate user sign-off.

Several quality-of-life and infrastructure improvements round out the release. Background agents now upgrade to new versions immediately after a Claude Code update rather than forcing a slow upgrade when a stale session is reattached, and auto-update binaries now stream to disk instead of buffering fully in memory, trimming peak memory usage by roughly 400 MB. The agent view interface has also been refined, replacing raw tool-call text with colored state indicators and classifier-generated headlines, while linking sessions that touch existing pull requests directly in the Claude agents view. Additionally, `/code-review` findings quality has improved specifically on Opus 4.8 across all effort levels, suggesting continued fine-tuning of model behavior for code-review-specific tasks rather than uniform improvements across all Claude models.

Taken together, this week's changelog illustrates where Anthropic is investing in Claude Code's evolution: broadening the agent's operational surface (web browsing, git worktrees, push remotes beyond origin) while simultaneously tightening safety rails around destructive actions and social-engineering-style exploits within its own transcripts. This dual trajectory — more autonomy paired with more defensive engineering — mirrors a wider pattern across the AI coding-assistant industry, where tools like GitHub Copilot Workspace, Cursor, and Devin are similarly racing to grant agents greater independence in software engineering workflows while grappling with the safety implications of agents that can execute shell commands, modify repositories, and now, with Claude Code's new browser, interact with the open web on a user's behalf.

Read original article →