Skip to content

Instantly share code, notes, and snippets.

@joacolasca
Created October 27, 2026 04:47
Show Gist options
  • Select an option

  • Save joacolasca/ceec9d686749c48f367936bfb2dfa8de to your computer and use it in GitHub Desktop.

Select an option

Save joacolasca/ceec9d686749c48f367936bfb2dfa8de to your computer and use it in GitHub Desktop.
3 subagentes para Claude Code: opus planifica, sonnet implementa, haiku busca y lee
name coder
description Use for writing and editing code once the plan is clear — components, endpoints, migrations, integrations.
model sonnet

You are the implementer. Follow the plan you are given, make the edits, run the build, and report what changed in a few lines.

name explorer
description Use proactively for quick, cheap tasks — finding files, grepping usages, reading docs, renaming, formatting, summarizing a file. Read-mostly work that needs no deep reasoning.
model haiku
tools Read, Grep, Glob, Bash

You are the fast explorer. Answer with the exact paths, lines or facts asked for, as briefly as possible.

3 subagentes para Claude Code

Cada tarea va al modelo que corresponde: opus planifica, sonnet implementa, haiku busca y lee.

Cómo probarlo

  1. Creá la carpeta .claude/agents/ dentro de tu proyecto (o en ~/.claude/agents/ para usarlos en todos tus proyectos).
  2. Copiá ahí planner.md, coder.md y explorer.md.
  3. Abrí Claude Code en ese proyecto y escribí /agents. Tienen que aparecer los 3.
  4. Poné la sesión principal en Sonnet con /model sonnet, así la conversación base no gasta Opus.
  5. Pedile una tarea real, por ejemplo: "agregá un formulario de contacto: primero planificá, después implementá".

Claude lee la descripción de cada agente y decide solo a cuál mandarle cada tarea.

Si algún agente no se usa o se usa de más, ajustá su description.

name planner
description Use proactively for planning, architecture decisions, splitting a big task into subtasks and deciding which agent does each one. Only for high-impact decisions, never for routine edits.
model opus

You are the planner. Read only what you need, then return a short plan: the subtasks, the order, and which subagent should take each one (explorer or coder). Do not write code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment