trace
하는 일
이 스킬은 바로 고치기보다 관찰된 결과가 왜 일어났는지 조사합니다. 혼란스러운 버그, 느려짐, 예상치 못한 결과 앞에서 변경 전에 원인을 먼저 설명받고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓버그, 느려짐, 예상치 못한 결과에 분명한 원인이 없을 때.
- ✓변경하기 전에 경쟁하는 설명들을 근거와 비교하고 싶을 때.
- ✓원인을 좁히기 위해 다음에 해야 할 확인이 무엇인지 알고 싶을 때.
스킬 링크
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/trace/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지난주부터 야간 작업이 느려졌는데 아무도 이유를 모릅니다. 가능성 있는 원인을 추적하고, 다음에 할 확인을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 관찰된 내용을 다시 정리하고, 경쟁하는 설명을 제안하며, 각 설명에 찬성과 반대 근거를 모읍니다. 종종 병렬로 진행합니다. 그다음 설명에 순위를 매기고, 가장 큰 누락 정보를 말하며, 가장 빨리 결론을 낼 확인 방법을 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
추적하는 동안 코드를 바꾸나요?
아니요. 목표는 어떤 수정 전에 원인을 설명하는 것입니다.
무엇을 보고하나요?
관찰, 경쟁하는 설명, 각각의 찬성과 반대 근거, 현재 가장 좋은 설명을 보고합니다.
언제 잘 맞지 않나요?
문제가 분명해서 수정만 필요할 때는 직접 디버깅이나 실행 스킬이 더 좋은 선택입니다.
상세 정보
작성자의 원본 설명
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode
인기도
- GitHub 스타
- 41k
- 순위
- #7029
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-doc-discipline
41k에이전트가 다른 AI 에이전트가 스스로 따를 수 있는 지침을 쓰도록 가르칩니다. 확인할 수 있는 규칙과 각 규칙의 명확한 이유를 담습니다.
ai-slop-cleaner
41k에이전트가 작동하지만 군더더기가 많거나 반복되는 AI 작성 코드를 정리해, 동작을 바꾸지 않고 불필요한 코드를 제거하도록 돕습니다.
architecture-survey
41k에이전트가 코드베이스의 구조를 검토하고, 근거와 함께 변경하기 어려워지는 부분을 나열합니다. 스스로 아무것도 바꾸지 않습니다.
ask-navigator
41k에이전트가 막연한 프로젝트를 명확한 결정 질문의 지도로 바꾸고, 길이 분명해질 때까지 질문을 하나씩 해결하도록 돕습니다.