Qué es Claude Code
La herramienta agéntica CLI/IDE explicada — el bucle de sesión, la instalación y dónde vive cada cosa.
Claude Code Cheat Sheet
One printable page of Claude Code flags, commands, shortcuts, permission modes and file locations — every line checked against the official docs on 2026-10-13.
La CLI claude: los flags que cambian el resultado
Un recorrido con criterio por la línea de comandos de Claude Code: el contrato de cinco flags para ejecuciones desatendidas, la trampa del prompt de sistema grabado y en qué se diferencian --bare, --safe-mode y --restricted.
CLAUDE.md y archivos de memoria
La personalización de Claude Code de mayor impacto: memoria persistente del proyecto.
AGENTS.md e interoperabilidad entre herramientas
El estándar abierto que lee todo agente de programación, y cómo mantenerlo sincronizado con tu CLAUDE.md.
Plan Mode
Investigar y proponer antes de que se ejecute cualquier edición: la forma más segura de abordar cambios grandes, y los bloqueos que no impone.
Integraciones con IDE
Extensiones de VS Code y JetBrains, diffs en línea y ajustes compartidos.
settings.json: El sistema de configuración
Niveles de archivos y precedencia, secciones clave y configuración de proyecto frente a personal.
Permisos y modos de permiso
Reglas allow/ask/deny y modos: menos confirmaciones sin perder seguridad.
Agent SDK Permissions: the Six-Step Order
Every permission bug in a headless agent is an order bug. The six steps the Agent SDK evaluates — which ones can only deny, which can only allow, and the five ways allowedTools silently does nothing.
Sandbox Credential Masking: keep tokens working, keep them secret
Mask environment variables, JWTs, AWS SigV4 pairs, and credential files so sandboxed commands authenticate without ever seeing the real secret. Config, gotchas, and OS matrix.
Comandos slash personalizados
Convierte un flujo de trabajo repetible en una sola palabra.
The /design Command: Artboards Before Code
Claude Code's /design skill drafts editable UI artboards before writing a line — how it works, when it wins, and the gotchas nobody documents.
Estilos de salida
Cambia el tono, el nivel de detalle y el comportamiento didáctico de Claude Code.
Personalización de la statusline
Muestra el modelo, el cwd, el presupuesto de contexto y el estado de git con un script personalizado.
Desarrollo guiado por especificaciones con Spec Kit
Deja de programar a ojo las funciones grandes. Convierte una especificación ejecutable en la fuente de verdad y deja que Claude Code construya a partir de ella — con Spec Kit de GitHub.
Gestión del contexto
/compact frente a /clear, compactación automática y cómo mantener la eficacia a medida que crecen las sesiones.
Context Budget Audit: /skill-doctor, Output Caps and the Six Numbers That Fill Your Window
A 20-minute audit for a Claude Code project that has grown slow, forgetful, or expensive. Measure with /context and /usage, prune the skill listing with /skill-doctor and skillOverrides, cap tool output with bashOutputMaxChars and taskOutputMaxChars, keep CLAUDE.md out of subagents with omitClaudeMd, and set the auto-compact window on purpose. Every number cited to the September 2026 Claude Code docs.
Checkpoints y Rewind
Deshaz las ediciones de Claude, revierte una sesión entera y comprime el contexto con /rewind — la red de seguridad para ejecuciones ambiciosas.
Hooks: automatización determinista
Ejecuta comandos en eventos del ciclo de vida para imponer formato, controles y seguridad.
Skills: Experiencia bajo demanda
SKILL.md, divulgación progresiva y Skill frente a comando frente a subagente frente a MCP.
Subagentes y agentes paralelos
Delega en agentes de contexto aislado con herramientas acotadas — y cuándo no hacerlo.
Subagent Fleet Limits: Concurrency Caps & Nested Depth
On July 21, 2026 Claude Code capped concurrent subagents at 20 and killed nested spawning. Three days later nesting came back at depth 3. Here are the four env vars, the error you'll hit, why the caps exist, and how to design fleets that survive them.
Flujos de trabajo dinámicos y ultracode
Orquesta de decenas a cientos de subagentes desde un script que Claude escribe, para auditorías de bases de código, grandes migraciones e investigación con verificación cruzada.
Cross-Session Messaging
Make two Claude Code sessions talk to each other — the native SendMessage / ListAgents tools shipped in Claude Code 2.1.224, the @mention syntax, the trust boundary, and when to use messaging vs. subagents vs. worktrees.
Projects: The Coordinator & Parallel Threads
On September 17, 2026 Claude Code Projects became an orchestration layer: a coordinator that scopes and delegates, and threads that are full cloud sessions, each on its own branch and repo copy. Here is the architecture, how it differs from subagents and worktrees, what it costs against your usage limits, and the eligibility rule that explains why you may not have it yet.
Servidores MCP en Claude Code
Conecta bases de datos, GitHub, navegadores y mucho más mediante el Model Context Protocol.
Tareas en segundo plano, /loop y programación
Comandos de larga duración, bucles recurrentes y agentes en la nube programados.
Auto-Commit Background Agents: Draft-PR Handoff
On July 1, 2026 Claude Code v2.1.198 let background agents commit, push, and open a draft PR on their own. Five weeks later v2.1.221 tuned the default. Here is what the flow actually does, the notification hook it fires, why the community wanted an off switch, and the propose-only pattern that still works.
Plugins y marketplaces
Agrupa skills, agentes, comandos, hooks y MCP en una sola unidad instalable.
Mods: In-Process Extensions
Mods are TypeScript middleware that runs inside Claude Code — rewrite tool calls, prompts, turns, and the interface itself.
Plugin Evals: prueba tu plugin con claude plugin eval
Demuestra que un plugin de Claude Code realmente ayuda: escribe casos de evaluación, califícalos con seis tipos de graders, lee el delta con/sin plugin, simula servidores MCP y bloquea el CI según la puntuación.
Git Worktrees y flujos de trabajo paralelos
Ejecuta varias sesiones de Claude aisladas sobre un mismo repo sin que colisionen entre sí.
Parallel Agents at Merge Time: Intent Conflicts and the CI Wall (2026)
Worktrees stop agents from overwriting each other's files. They don't stop two plans that can't both be true from merging cleanly. The coordination layer above Git (Foremerge's protocol, decoded) plus the CI surgery Linear did when agents started adding 2,000 tests a week — with every number.
Modo Headless y el Agent SDK
Ejecuta Claude Code en CI y crea agentes de producción sobre el mismo harness.
Cloud Sessions: the VM Claude Code runs in when it isn't your laptop
Practitioner guide to Claude Code cloud sessions and cloud environments — exactly what carries over from your machine and what silently doesn't, the four network access levels and the four paths that bypass them, network secrets, setup scripts vs SessionStart hooks, the ~5-minute cache rule, resource and time limits, and the --cloud/--teleport round trip.
Self-Hosted Environments: run cloud sessions on your own boxes
Practitioner guide to the claude self-hosted-runner beta (shipped Aug 7, 2026 in v2.1.224). Run Claude Code web, mobile and desktop cloud sessions on infrastructure you control — egress-only, no inbound holes, one-user-at-a-time isolation. Architecture, quickstart, runner lifecycle, git creds, autoscaling, and the six gotchas that catch every first fleet.
The MCP Token Tax
Why connecting MCP servers can burn 50k–150k tokens before your first request — and the three fixes: Tool Search, code execution, and knowing when a CLI call wins.
Accessibility
Screen reader mode, vim ergonomics, mouse and scroll controls, and high-contrast themes in Claude Code.
Troubleshooting Claude Code
Symptom-to-fix for hangs, high memory, broken search, compaction thrashing, and garbled terminals.
Feature Flags: Why Your Claude Code Isn't Mine
Claude Code switches features on with flags it fetches from Anthropic. Privacy env vars, Bedrock, gateways and fresh installs silently turn that fetch off — here's exactly what you lose and how to pin behavior instead.