Case StudyPublished: April 202614 min read

How Anthropic Uses Claude Code Internally

Anthropic's internal teams use Claude Code across engineering, security, design, data science, marketing, and legal workflows. Key results include 3x faster production debugging, 80% reduction in research time, and hundreds of marketing ads generated in minutes instead of hours.

When a company builds a developer tool, the most revealing question you can ask is: do they actually use it themselves? In Anthropic's case, the answer is an emphatic yes. Claude Code is not just a product Anthropic ships to customers -- it is a tool that virtually every team inside the company relies on daily, from the engineers building Claude's core models to the marketing team generating advertising campaigns and the legal department prototyping internal applications.

What makes Anthropic's internal usage particularly instructive is the breadth of teams involved. This is not a story about software engineers using a coding tool for software engineering. It is a story about how an agentic AI development tool transforms workflows across an entire organization, including for people who have never written a line of production code in their lives.

The data comes directly from Anthropic's own published account of how their teams use Claude Code. The numbers are real. The workflows are battle-tested in production. And the lessons are directly applicable to any team considering adopting Claude Code or scaling their existing usage.

Let us walk through each department, examine their specific workflows, and extract the patterns that make Claude Code so effective across such different contexts.

Codebase Navigation and Onboarding

Every developer has experienced the disorientation of joining a new team or project. You open the repository, stare at hundreds of files organized in ways that made sense to someone else, and spend hours trying to understand which parts of the code are relevant to your task. At Anthropic, this problem is compounded by the complexity of their AI infrastructure -- the codebase spans model training pipelines, inference systems, API services, safety tooling, and internal applications.

Anthropic's Product Engineering team has turned Claude Code into their first stop for understanding unfamiliar parts of the codebase. Rather than spending 30 minutes tracing import chains and reading through file after file, engineers ask Claude Code to explain how a particular feature works, which files are involved, and how data flows through the system. Claude Code reads the relevant source files, understands the relationships between components, and provides a coherent explanation in seconds.

The Infrastructure team's data scientists take this a step further by maintaining comprehensive CLAUDE.mdfiles in their repositories. These files serve as structured onboarding documents that Claude Code reads automatically when you enter a project directory. They contain information about project conventions, architecture decisions, environment setup, common tasks, and team-specific patterns. When a new data scientist joins the team and opens the repository, Claude Code already understands the context and can answer questions like "how do I run the model evaluation pipeline?" or "where are the configuration files for the data processing jobs?" without anyone needing to schedule an onboarding session.

This pattern -- using CLAUDE.md as a living onboarding document -- has become one of the most widely replicated practices across the Claude Code community. It costs almost nothing to maintain (you update it as part of your normal development workflow) and dramatically reduces the time new team members need to become productive.

Testing and Code Review

Two teams at Anthropic have developed particularly sophisticated testing workflows with Claude Code: Product Design and Security Engineering.

Automated PR Comments via GitHub Actions

The Product Design team built a GitHub Actions integration where Claude Code automatically reviews every pull request and posts detailed comments. This is not a simple linting check -- Claude Code reads the full diff, understands the intent of the changes in context of the broader codebase, and provides substantive feedback on code quality, potential bugs, missing edge cases, and architectural concerns. The comments appear directly on the PR, making code review faster and more thorough without requiring a human reviewer to do the initial pass.

This workflow is particularly valuable for teams with limited senior reviewer bandwidth. Junior engineers get immediate, high-quality feedback on their changes while senior engineers can focus their review time on the architectural and strategic aspects that require human judgment.

Test-Driven Development Transformation

The Security Engineering team took a different approach. They transformed their entire development workflow to embrace test-driven development (TDD) with Claude Code as the implementation engine. The workflow looks like this: a security engineer writes a failing test that defines the expected behavior, then hands the test to Claude Code and asks it to write the implementation that makes the test pass.

This is a fundamentally different way of using an AI coding tool. Instead of asking Claude Code to write code from a natural language description (which can be ambiguous), the engineer expresses their intent in the most precise language available -- executable test cases. Claude Code then has an unambiguous success criterion: make the tests pass. The result is code that is correct by construction, well-tested from the start, and aligned with the engineer's exact intent.

The Security team reports that this workflow produces higher quality code with fewer bugs, catches regressions earlier, and has significantly improved their test coverage across the security infrastructure.

Production Debugging

Production incidents are high-pressure situations where speed matters. Every minute of downtime costs money, erodes user trust, and stresses the team. Two of Anthropic's most technically demanding teams have found that Claude Code dramatically accelerates their incident response.

Security Engineering: 3x Faster Stack Trace Resolution

When a production error occurs, the Security Engineering team feeds the stack trace directly to Claude Code. Claude Code reads the stack trace, locates the relevant source files in the codebase, traces the execution path that led to the error, identifies the root cause, and often suggests a fix -- all in a single interaction. What previously required an engineer to manually navigate through multiple files, read documentation, check recent changes, and piece together the causal chain now happens in a fraction of the time.

The team reports that this workflow resolves production issues approximately 3x faster than their previous manual debugging process. In the context of a production incident, this means the difference between a 30-minute outage and a 10-minute outage -- a meaningful improvement for both the team and their users.

Data Infrastructure: Diagnosing Kubernetes Issues from Screenshots

Perhaps the most impressive debugging story comes from the Data Infrastructure team. During a production outage, an engineer took a screenshot of a Kubernetes monitoring dashboard showing anomalous pod behavior and pasted it directly into Claude Code. Claude Code analyzed the visual information in the dashboard, identified the pattern as Kubernetes pod IP exhaustion, explained the root cause, and recommended specific remediation steps.

This single interaction saved the team approximately 20 minutesduring an active outage -- time that would have been spent manually querying Kubernetes APIs, checking IP allocation tables, and correlating logs. The ability to go from a dashboard screenshot to a diagnosed root cause in seconds demonstrates how Claude Code's multimodal capabilities (understanding both code and images) create workflows that were simply not possible with text-only tools.

Feature Development and Prototyping

Building new features is where Claude Code's agentic capabilities truly shine. Two use cases from Anthropic illustrate how the tool bridges the gap between design intent and working code, and between domain expertise and implementation capability.

From Figma to Code

The Product Design team feeds Figma design files directly to Claude Code and asks it to implement the designs as working frontend components. Claude Code analyzes the visual layout, typography, spacing, colors, and interactive elements in the design, then generates production-quality code that matches the design intent. This workflow eliminates the traditional back-and-forth between designers and frontend developers over pixel-level details and significantly accelerates the design-to-implementation pipeline.

Designers can iterate on their Figma files and re-generate the implementation in minutes rather than waiting for a developer to pick up the ticket, understand the design, implement it, request design review, and iterate. The feedback loop shrinks from days to minutes.

Data Scientists Building Full React Applications

One of the most striking examples of Claude Code's democratizing effect comes from Anthropic's data scientists. Team members who had never written TypeScript built full React applications for visualizing model performance metrics. These are not simple scripts or notebooks -- they are interactive web applications with charts, filters, real-time data updates, and polished user interfaces.

Previously, a data scientist who wanted a custom visualization tool had two options: build a basic Jupyter notebook (limited interactivity, hard to share) or file a ticket with the engineering team and wait weeks for it to be prioritized. With Claude Code, they describe what they want in terms of their domain expertise ("I need a dashboard that shows model accuracy over time, broken down by evaluation category, with the ability to compare different model versions") and Claude Code handles the TypeScript, React, charting library integration, and state management they do not know. The result is that domain experts can build the tools they need without learning an entirely new technology stack.

Documentation and Research

The Inference team at Anthropic works on some of the most technically complex systems in the company -- the infrastructure that serves Claude's responses to millions of users. Their work frequently requires deep research into specific technical topics: understanding a particular GPU optimization technique, evaluating a new quantization method, or investigating how a competitor's inference stack achieves certain performance characteristics.

Before Claude Code, this research process typically took about one hour per topic. An engineer would read academic papers, scan blog posts, search through internal documentation, and synthesize the information into a format useful for making engineering decisions.

With Claude Code, the same research process takes 10 to 20 minutes -- an 80% reduction. Engineers describe their research question to Claude Code, which draws on its training knowledge to provide a structured overview of the topic, summarize relevant approaches, identify key trade-offs, and point to specific implementation considerations. The engineer then uses this as a starting point for deeper investigation rather than starting from a blank page.

This pattern is not about replacing rigorous research. It is about accelerating the initial phase of gathering context and understanding the landscape, so the engineer can spend their time on the high-value work of evaluating, deciding, and implementing rather than the low-value work of finding and organizing information.

Marketing and Automation

Perhaps the most surprising Claude Code power user at Anthropic is the Growth Marketing team. This is a team of marketers, not engineers, and they have built one of the most sophisticated Claude Code workflows in the entire company.

The team created an agentic system that takes CSV files containing campaign parameters -- target audiences, value propositions, tone guidelines, channel specifications -- and generates hundreds of advertising variations automatically. Each ad variation is tailored to the specific audience segment, channel format, and messaging strategy defined in the input data.

Before this system, creating advertising variations was a manual process. A copywriter would write a handful of variations, the team would review them, request changes, and iterate. Producing 20 variations for a single campaign might take an entire day. The agentic system generates hundreds of variations in minutes, giving the team dramatically more creative options to test and optimize.

The key insight here is that the marketing team did not ask engineering to build this system for them. They built it themselves using Claude Code. The system involves reading CSV files, processing structured data, applying templates, generating text variations, and writing output files -- tasks that are fundamentally programming tasks, but expressed in terms the marketing team understands.

This is Claude Code's most underappreciated capability: it makes non-engineers productive with programming tasks by translating domain expertise into working code. The marketers did not need to learn Python or JavaScript. They needed to know what good advertising looks like, and Claude Code handled the rest.

Productivity Gains Overview

Here is a consolidated view of the measurable productivity improvements Anthropic has documented across their teams:

TeamUse CaseBefore Claude CodeAfter Claude CodeImprovement
Security EngineeringProduction debuggingManual stack trace analysisAutomated root cause identification3x faster resolution
InferenceTechnical research~1 hour per topic10-20 minutes per topic80% less time
Growth MarketingAd generationHours per campaignMinutes per campaignHours to minutes
Data InfrastructureK8s incident diagnosis20+ min manual investigationSeconds from screenshot~20 min saved per outage

These improvements are not theoretical. They come from daily usage by teams working on production systems at scale. The common thread is that Claude Code eliminates the low-value, time-consuming phases of each workflow (searching, reading, correlating, boilerplating) so that humans can focus on the high-value phases (deciding, designing, validating, and shipping).

The Key Lesson

"Claude Code works best when you focus on the human workflows it can augment."

The overarching lesson from Anthropic's internal adoption is not about any specific technical trick or configuration. It is about mindset. The teams that get the most value from Claude Code are not the ones that try to replace human work with AI work. They are the ones that identify the specific phases of their existing workflows where humans spend time on tasks that do not require human judgment, and then deploy Claude Code precisely there.

The Security team did not ask Claude Code to design their security architecture. They asked it to implement code that passes their carefully written tests. The Inference team did not ask Claude Code to make research decisions. They asked it to accelerate the information-gathering phase so they could make decisions faster. The Marketing team did not ask Claude Code to develop their brand strategy. They asked it to generate ad variations based on a strategy they had already defined.

In every case, the human remains the decision-maker, the quality controller, and the creative director. Claude Code handles the execution, the repetitive tasks, and the technical translation that previously created bottlenecks. This is what sustainable AI adoption looks like -- not replacement, but augmentation of human capabilities.

How to Apply These Patterns to Your Team

Based on Anthropic's experience, here are practical steps you can take to replicate their results:

  • 1.Start with CLAUDE.md files. Create a comprehensive CLAUDE.md in every repository. Include project architecture, conventions, common tasks, and team-specific patterns. This single step dramatically improves Claude Code's effectiveness and accelerates onboarding for both humans and AI.
  • 2.Adopt test-driven workflows. Write your tests first, then let Claude Code implement the code. This gives Claude Code an unambiguous success criterion and produces better code than natural language descriptions alone.
  • 3.Integrate into CI/CD. Set up Claude Code as an automated PR reviewer via GitHub Actions. This catches issues early and reduces the burden on senior engineers to do initial code review passes.
  • 4.Create incident response playbooks. Train your team to paste stack traces and dashboard screenshots into Claude Code during production incidents. The 3x speedup Anthropic achieved is directly replicable.
  • 5.Empower non-engineering teams. Identify marketing, legal, operations, or data teams that have repetitive workflows or need internal tools. Claude Code can help them build their own solutions without engineering tickets.
  • 6.Build agentic workflows for repetitive content. If your team generates variations of content (ads, emails, documentation, reports), build a Claude Code workflow that takes structured input and produces variations. The marketing team's CSV-to-ads pipeline is a pattern that generalizes to many content types.
  • 7.Measure before and after. Track time spent on specific tasks before and after Claude Code adoption. Concrete metrics like "debugging time reduced from 30 minutes to 10 minutes" build organizational confidence and justify broader adoption.

Frequently Asked Questions

How does Anthropic use Claude Code internally?

Anthropic uses Claude Code across nearly every department including engineering, security, product design, data science, marketing, inference, and legal. Teams use it for codebase navigation, test-driven development, production debugging, feature prototyping, documentation research, ad generation, and building internal tools. It has become a core part of daily workflows for both technical and non-technical staff.

How much faster is debugging with Claude Code?

Anthropic's Security Engineering team reports resolving production stack traces approximately 3x faster using Claude Code. The Data Infrastructure team also saved around 20 minutes per outage by using Claude Code to diagnose issues like Kubernetes pod IP exhaustion directly from dashboard screenshots. These improvements translate directly to reduced downtime and faster incident resolution.

Can non-engineers use Claude Code?

Yes. At Anthropic, non-engineers including marketers, legal professionals, and data scientists without frontend experience actively use Claude Code. Growth Marketing built agentic ad-generation systems, Legal prototyped phone tree applications, and data scientists without TypeScript knowledge built full React applications for visualizing model performance. Claude Code translates domain expertise into working code.

How does Claude Code help with onboarding?

Anthropic's Product Engineering team uses Claude Code as their first stop for understanding unfamiliar parts of the codebase. New team members use it to navigate complex codebases, understand which files to examine, and get up to speed faster. Infrastructure team data scientists rely on CLAUDE.md files to provide context about project conventions and architecture, making onboarding largely self-service.

What is Claude Code's test-driven development workflow?

Anthropic's Security Engineering team transformed their workflow to a test-driven development approach using Claude Code. They write failing tests first that define the expected behavior, then let Claude Code implement the code to make those tests pass. This ensures comprehensive test coverage, catches regressions early, and produces code that is correct by construction because the success criteria are unambiguous.

Can Claude Code generate marketing content?

Yes. Anthropic's Growth Marketing team created an agentic system using Claude Code that generates hundreds of advertising variations from CSV input files. What previously took hours of manual copywriting and iteration now completes in minutes, allowing the team to test far more creative variations across campaigns. The marketers built this system themselves without engineering support.

What is the most impactful Claude Code use case at Anthropic?

The most broadly impactful use case is codebase navigation and onboarding, as it benefits every team member regardless of role. However, the most dramatic single improvement is in production debugging, where the Security Engineering team achieved 3x faster resolution times, directly reducing downtime and customer impact during incidents.

Related Resources

Start building like Anthropic

Explore the tools, skills, and agents that power world-class Claude Code workflows.

Explore Claude4World