C Claude Code Internals
EN | ES

Sistema de Agentes

Claude Code tiene 6 tipos de agentes integrados. Cada uno está diseñado con un modelo, conjunto de herramientas y modo de permisos específicos. Los sub-agentes se lanzan automáticamente según la tarea.

6 tipos de agentes 3 modelos diferentes usados 34M+ lanzamientos/semana a escala
i Los agentes Explore y Plan omiten CLAUDE.md
Los agentes Explore y Plan omiten deliberadamente la carga de CLAUDE.md y el estado de git del contexto. Esto ahorra ~5-15 Gtok/semana con 34M+ lanzamientos. Si necesitas que estos agentes sigan las convenciones de tu proyecto, incluye las reglas relevantes directamente en tus prompts.
01

General-Purpose

The default workhorse

Model Inherits from parent
Tools All tools (*)
Use case

Complex research, multi-step search, tasks that require the full tool set

  • · No tool restrictions
  • · Model inherits from parent session
  • · Used when no specialized agent fits
02

Explore

Read-only codebase explorer

Model Haiku (external) / Inherits (internal)
Tools All except Agent, Edit, Write, ExitPlanMode, NotebookEdit
Use case

Codebase searches, quick lookups, exploring file structure

× Cannot modify files. Cannot spawn sub-agents.
  • · Uses cheaper Haiku model for external users
  • · Minimum 3 queries enforced before returning results
  • · Omits CLAUDE.md from context to save tokens
  • · Saves ~5–15 Gtok/week at 34M+ spawns
03

Plan

Architecture and strategy designer

Model Inherits from parent
Tools Read-only (no Edit, Write, Agent, ExitPlanMode)
Use case

Design implementation strategy, identify critical files, consider trade-offs

× Cannot modify files.
  • · Required output: list of 3–5 critical files for implementation
  • · Omits CLAUDE.md and git status from context
  • · Focuses purely on design decisions
04

Verification

Automated quality gate

Model Inherits from parent
Tools Read-only verification tools
Permission Mode Always runs in background
Use case

Verify implementations are correct after code changes

  • · Always runs in the background (non-blocking)
  • · Displays in red in the terminal to stand out
  • · Must end with one of: VERDICT: PASS, VERDICT: FAIL, or VERDICT: PARTIAL
  • · Useful as an automated quality gate in CI/CD
05

Claude Code Guide

Documentation assistant

Model Haiku
Tools Glob, Grep, Read, WebFetch, WebSearch
Permission Mode dontAsk (auto-denies prompts)
Use case

Answer questions about Claude Code features, API, CLI, MCP servers

  • · Uses cheaper Haiku model
  • · Auto-denies permission prompts (dontAsk mode)
  • · Sources: official Claude Code and Anthropic API docs
  • · Specialized for documentation lookups only
06

Status Line Setup

Config file editor

Model Sonnet
Tools Read and Edit only
Use case

Configure the Claude Code terminal status line setting

  • · Extremely restricted tool set: only Read + Edit
  • · Cannot run shell commands or access the web
  • · Focused single-purpose agent