← Reddit

Took apart Claude Code & Claude Desktop. Found >6 different system prompt variants.

Reddit · geeksg · June 15, 2026
The analysis of Claude Code and Claude Desktop applications revealed over six different system prompt variations across both platforms, along with an Anthropic feature called "heron_brook" that enables injection of arbitrary prompts into live installed client systems. Claude Desktop ships with more computer use and browser tools compared to Claude Code, while fast mode for Opus utilizes different decoding layers rather than a separate model. The investigation also identified recurring issues such as excessive bullet point usage and URL hallucination that require fixes within the prompt structure.

Detailed Analysis

A developer's weekend reverse-engineering effort on Anthropic's Claude Code (CC) and Claude Desktop (CD) products has surfaced a series of notable technical revelations about how the company constructs, manages, and maintains its deployed AI systems. Using Claude Code itself as a tool to disassemble the CLI application (built on Bun, compiled as a Mach-O binary) and the desktop application (built on Electron and Vite), the researcher identified more than six distinct system prompt variants operating across the two products, suggesting a substantially more complex prompt architecture than most users or even developers would assume from outward-facing documentation.

Among the most significant findings is the existence of a mechanism Anthropic internally labels `heron_brook`, which appears to function as a live prompt injection channel — allowing Anthropic to push arbitrary prompt modifications into already-installed client instances without requiring a software update. This kind of remote prompt management infrastructure reveals that Anthropic maintains ongoing runtime influence over deployed model behavior, a capability that carries meaningful implications for enterprise users and security researchers alike. It suggests Anthropic has engineered a way to rapidly patch behavioral issues — such as the prompt-level fixes the researcher found addressing excessive bullet point usage and URL hallucination — without waiting for full client release cycles.

The finding that "fast mode" for Claude Opus does not invoke a separate, lighter model but instead operates through a different decoding layer is technically consequential. It indicates Anthropic is experimenting with inference-time efficiency strategies — such as speculative decoding or modified sampling parameters — rather than deploying entirely distinct model weights for speed tiers. This approach would allow Anthropic to offer latency improvements while maintaining the same underlying model capabilities, a tradeoff that has implications for how the company positions its product tiers and manages compute costs at scale.

The divergence between Claude Code and Claude Desktop in terms of available tooling also reflects a deliberate product stratification strategy. Claude Desktop ships with a broader suite of computer use and browser use tools, while Claude Code is more narrowly scoped to CLI and development workflows. This bifurcation suggests Anthropic is tailoring agentic capability exposure based on deployment context and anticipated user risk profiles, rather than shipping uniform tool access across surfaces. The fact that known behavioral issues like hallucinated URLs are being addressed at the prompt level rather than the model level further illustrates the practical reality of production AI deployment: fine-tuning and prompt engineering remain primary levers for behavioral correction even in sophisticated commercial systems.

This reverse-engineering disclosure fits within a growing pattern of community-driven transparency efforts around frontier AI products, where developers probe deployed systems to surface details that companies do not publicly document. For Anthropic specifically, the findings underscore the operational complexity behind what appears to users as a unified conversational interface — a multi-layered system of versioned prompts, remote update mechanisms, and tool configurations that evolve continuously. As agentic AI products become more deeply integrated into developer and enterprise workflows, the architecture of how companies like Anthropic control and update model behavior in production will become an increasingly important area of scrutiny for both technical users and policymakers.

Read original article →