trace
यह क्या करती है
यह स्किल देखे गए नतीजे का कारण खोजती है, बिना सीधे सुधार पर कूदे। यह उन लोगों के लिए है जो उलझाने वाले बग, धीमेपन या अनपेक्षित नतीजों का सामना कर रहे हैं और पहले कारण समझना चाहते हैं।
कब इस्तेमाल करें
- ✓जब कोई बग, धीमापन या अनपेक्षित नतीजा किसी स्पष्ट कारण के बिना हो।
- ✓जब आप किसी बदलाव से पहले कई स्पष्टीकरणों की तुलना सबूत से करवाना चाहें।
- ✓जब आप जानना चाहें कि कारण को सबसे जल्दी सीमित करने वाली अगली जाँच कौन-सी होगी।
Skill का लिंक
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/trace/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारा नाइटली जॉब पिछले हफ़्ते धीमा हो गया और किसी को कारण नहीं पता। संभावित कारणों का पता लगाइए और मुझे अगली जाँच बताइए।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-doc-discipline
41kयह आपके एजेंट को ऐसे निर्देश लिखना सिखाती है जिन्हें दूसरे AI एजेंट बिना अतिरिक्त समझ के फ़ॉलो कर सकें।
ai-slop-cleaner
41kयह आपके एजेंट को AI से लिखे गए ऐसे कोड को साफ़ करने में मदद करती है जो चलता है पर फूला हुआ या दोहराव वाला है, बिना उसका व्यवहार बदले।
architecture-survey
41kयह आपके एजेंट को कोडबेस की संरचना देखकर उन हिस्सों की सूची बनाने में मदद करती है जिन्हें बदलना कठिन होता जा रहा है, सबूत के साथ, बिना खुद कुछ बदले।
ask-navigator
41kयह आपके एजेंट को एक धुंधले प्रोजेक्ट को साफ़ फ़ैसले वाले सवालों के नक्शे में बदलने में मदद करती है, फिर उन्हें एक-एक करके हल करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।