agent-doc-discipline
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before…
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode
$ npx -y skills add Yeachan-Heo/oh-my-claudecode --skill trace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/traceContext preview
The summary Claude sees to decide when to auto-load this skill.
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode
name: trace description: Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode argument-hint: "<observation to trace>" agent: tracer level: 2
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.
Use `/oh-my-claudecode:trace` when the problem is:
Examples:
Always preserve these distinctions:
1. **Observation** -- what was actually observed 2. **Hypotheses** -- competing explanations 3. **Evidence For** -- what supports each explanation 4. **Evidence Against / Gaps** -- what contradicts it or is still missing 5. **Current Best Explanation** -- the leading explanation right now 6. **Critical Unknown** -- the missing fact keeping the top explanations apart 7. **Discriminating Probe** -- the highest-value next step to collapse uncertainty
Do **not** collapse into:
Treat evidence as ranked, not flat.
From strongest to weakest:
1. **Controlled reproductions / direct experiments / uniquely discriminating artifacts** 2. **Primary source artifacts with tight provenance** (trace events, logs, metrics, benchmark outputs, configs, git history, file:line behavior) 3. **Multiple independent sources converging on the same explanation** 4. **Single-source code-path or behavioral inference** 5. **Weak circumstantial clues** (timing, naming, stack order, resemblance to prior bugs) 6. **Intuition / analogy / speculation**
Explicitly down-rank hypotheses that depend mostly on lower tiers when stronger contradictory evidence exists.
Every serious `/trace` run must try to falsify its own favorite explanation.
For each top hypothesis:
Down-rank a hypothesis when:
Use **Claude built-in team mode** for `/trace`.
The lead should:
1. Restate the observed result or “why” question precisely 2. Extract the tracing target 3. Generate multiple deliberately different candidate hypotheses 4. Spawn **3 tracer lanes by default** in team mode 5. Assign one tracer worker per lane 6. Instruct each tracer worker to gather evidence **for** and **against** its lane 7. Run a **rebuttal round** between the leading hypothesis and the strongest remaining alternative 8. Detect whether the top lanes genuinely differ or actually converge on the same root cause 9. 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.
Unless the prompt strongly suggests a better partition, use these 3 default lanes:
1. **Code-path / implementation cause** 2. **Config / environment / orchestration cause** 3. **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 across runtimes without enumeration. This includes multi-entity premise/key-assumption mismatches.
For lane 3, cross-entity discrepancies need a premise audit before escalation: enumerate entity dimensions and check whether a zero-row or mismatch result came from applying one key across multiple entities rather than from a system defect; the result may be a verification-methodology defect.
These defaults are intentionally broad so the first slice works across bug, performance, architecture, and experiment tracing.
After the initial evidence pass, pressure-test the leaders with these lenses when relevant:
These lenses are not filler. Use them when they can surface a missed explanation, hidden dependency, or weak inference.
Each worker should be a **`tracer`** lane owner, not a generic executor.
Each worker must:
For Codex users: Check out oh-my-codex — the same orchestration experience for OpenAI Codex CLI. Liked OmC but found it a bit overkill? Try gajae-code.
Repo: Yeachan-Heo/oh-my-claudecode
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before…
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Shipyard's navigator — chart a foggy effort (destination unclear, questions not yet stateable) into a map of decision tickets on the repo's issue tracker, then…
Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly
Stateful single-mission improvement loop with strict evaluator contract, markdown decision logs, and max-runtime stop behavior