trace
Qué hace
Esta skill investiga por qué se produjo un resultado observado, en lugar de lanzarse directamente a una corrección. Está pensada para personas que se enfrentan a errores confusos, ralentizaciones o resultados inesperados y quieren que se explique primero la causa.
Cuándo usarla
- ✓Cuando un error, una ralentización o un resultado inesperado no tiene una causa evidente.
- ✓Cuando quieres comparar varias explicaciones con las pruebas antes de hacer cualquier cambio.
- ✓Cuando quieres saber cuál es la siguiente comprobación que mejor reduciría la búsqueda de la causa.
Link de la skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/trace/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Nuestro trabajo nocturno se ha vuelto más lento la semana pasada y nadie sabe por qué. Rastrea las causas probables y dime la siguiente comprobación que debo hacer.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente vuelve a enunciar lo observado, propone explicaciones en competencia y reúne pruebas a favor y en contra de cada una, a menudo en paralelo. Después ordena las explicaciones, señala el dato más importante que falta y sugiere la comprobación que lo resolvería más rápido.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Trace Skill
Use this skill for ambiguous, causal, evidence-heavy questions where the goal is to explain why an observed result happened, not to jump directly into fixing or rewriting code.
This is the orchestration layer on top of the built-in tracer agent. The goal is to make tracing feel like a reusable OMC operating lane: restate the observation, generate competing explanations, gather evidence in parallel, rank the explanations, and propose the next probe that would collapse uncertainty fastest.
Good entry cases
Use /oh-my-claudecode:trace when the problem is:
- ambiguous
- causal
- evidence-heavy
- best answered by exploring competing explanations in parallel
Examples:
- runtime bugs and regressions
- performance / latency / resource behavior
- architecture / premortem / postmortem analysis
- scientific or experimental result tracing
- config / routing / orchestration behavior explanation
- “given this output, trace back the likely causes”
Core tracing contract
Always preserve these distinctions:
- Observation -- what was actually observed
- Hypotheses -- competing explanations
- Evidence For -- what supports each explanation
- Evidence Against / Gaps -- what contradicts it or is still missing
- Current Best Explanation -- the leading explanation right now
- Critical Unknown -- the missing fact keeping the top explanations apart
- Discriminating Probe -- the highest-value next step to collapse uncertainty
Do not collapse into:
- a generic fix-it coding loop
- a generic debugger summary
- a raw dump of worker output
- fake certainty when evidence is incomplete
Evidence strength hierarchy
Treat evidence as ranked, not flat.
From strongest to weakest:
- Controlled reproductions / direct experiments / uniquely discriminating artifacts
- Primary source artifacts with tight provenance (trace events, logs, metrics, benchmark outputs, configs, git history, file:line behavior)
- Multiple independent sources converging on the same explanation
- Single-source code-path or behavioral inference
- Weak circumstantial clues (timing, naming, stack order, resemblance to prior bugs)
- Intuition / analogy / speculation
Explicitly down-rank hypotheses that depend mostly on lower tiers when stronger contradictory evidence exists.
Strong falsification / disconfirmation rules
Every serious /trace run must try to falsify its own favorite explanation.
For each top hypothesis:
- collect evidence for it
- collect evidence against it
- state what distinctive prediction it makes
- state what observation would be hard to reconcile with it
- identify the cheapest probe that would discriminate it from the next-best alternative
Down-rank a hypothesis when:
- direct evidence contradicts it
- it survives only by adding new unverified assumptions
- it makes no distinctive prediction compared with rivals
- a stronger alternative explains the same facts with fewer assumptions
- its support is mostly circumstantial while the rival has stronger evidence tiers
Team-mode orchestration shape
Use Claude built-in team mode for /trace.
The lead should:
- Restate the observed result or “why” question precisely
- Extract the tracing target
- Generate multiple deliberately different candidate hypotheses
- Spawn 3 tracer lanes by default in team mode
- Assign one tracer worker per lane
- Instruct each tracer worker to gather evidence for and against its lane
- Run a rebuttal round between the leading hypothesis and the strongest remaining alternative
- Detect whether the top lanes genuinely differ or actually converge on the same root cause
- Merge findings into a ranked synthesis with an explicit critical unknown and discriminating probe
Important: workers should pursue deliberately different explanations, not the same explanation in parallel.
Default hypothesis lanes for v1
Unless the prompt strongly suggests a better partition, use these 3 default lanes:
- Code-path / implementation cause
- Config / environment / orchestration cause
- Measurement / artifact / assumption mismatch cause — covers verification-method defects, not just system defects. Examples: the verification query reuses a single dimensional key across distinct entities, tenants, streams, or groups; the comparison filter shape does not match the schema grain; or the catalog or column name was assumed portable acros
Preguntas frecuentes
¿Cambia código mientras rastrea?
No. El objetivo es explicar la causa antes de hacer cualquier corrección.
¿Qué informa al final?
La observación, las explicaciones en competencia, las pruebas a favor y en contra de cada una, y la explicación actual más probable.
¿Cuándo no encaja bien?
Cuando el problema está claro y solo necesita una corrección, las skills de depuración directa o de ejecución son mejor opción.
Detalles
Descripción original del autor
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode
Popularidad
- Estrellas en GitHub
- 41 mil
- Posición en el ranking
- #7029
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-doc-discipline
41 milEnseña a tu agente a escribir instrucciones que otros agentes de IA puedan seguir por sí mismos, con reglas que se puedan comprobar y una razón clara detrás de cada una.
ai-slop-cleaner
41 milAyuda a tu agente a limpiar código escrito por IA que funciona pero está inflado o repetido, eliminando código sobrante sin cambiar lo que hace.
architecture-survey
41 milAyuda a tu agente a revisar la estructura de un código base y enumerar las partes que cada vez cuestan más de cambiar, con pruebas y sin modificar nada por sí mismo.
ask-navigator
41 milAyuda a tu agente a convertir un proyecto confuso en un mapa de preguntas de decisión claras, y luego a resolverlas una por una hasta que el camino esté claro.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.