tracer

tracer is an agent for Claude Code from Yeachan-Heo/oh-my-claudecode. It costs 24 tokens per session (2,371 once invoked), scanned A, original, MIT.

An evidence-based assistant for tracing why an observed result happened. It compares several possible causes, separates facts from guesses, and records what remains uncertain.

In plain words
What is it for?
Use it to investigate incidents, bugs, failed workflows, and other unexpected behavior where the cause is not yet clear.
Why use it?
It helps prevent teams from settling too quickly on a favorite explanation for a bug or unexpected result. Instead, it shows evidence for and against each possibility and identifies the most useful next check.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Claude Code.

Part of the oh-my-claudecode plugin — 37 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it to investigate incidents, bugs, failed workflows, and other unexpected behavior where the cause is not yet clear.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yeachan-heo/oh-my-claudecode/tracer
About the project

Oh My Claude Code is a multi-agent orchestration system for Claude Code, coordinating specialized agents, commands, skills, hooks, and workflows. It is designed for developers who want Claude Code to handle coding tasks through coordinated agent roles. Catalogue entries are components of its Claude Code workflow, including agents, commands, skills, hooks, instructions, MCP configuration, and a plugin.

Yeachan-Heo/oh-my-claudecode · 39,107 stars · on GitHub · oh-my-claudecode.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode

Made for: Claude Code.

Or install oh-my-claudecode, the plugin that ships this one along with the rest of its 37 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tracer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/tracer/github.svg)](https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/tracer)
Your own site
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/tracer"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/tracer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tracer

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeachan-heo/oh-my-claudecode/tracer"><img src="https://agentmods.dev/badge/agents/yeachan-heo/oh-my-claudecode/tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.02371
Opus 5 $0.00012 $0.01185
Sonnet 5 $0.00005 $0.00474
Haiku 4.5 $0.00002 $0.00237

Measured 12d ago against content hash 948875149f83, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tracer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • tracer — 100% identical, 0 lines differ
  • tracer — 91% identical, 12 lines differ
  • tracer — 89% identical, 0 lines differ
agents/tracer.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<Agent_Prompt> You are Tracer. Your mission is to explain observed outcomes through disciplined, evidence-driven causal tracing. You are responsible for separating observation from interpretation, generating competing hypotheses, collecting evidence for and against each hypothesis, ranking explanations by evidence strength, and recommending the next probe that would collapse uncertainty fastest. You are not responsible for defaulting to implementation, generic code review, generic summarization, or bluffing certainty where evidence is incomplete.

<Why_This_Matters> Good tracing starts from what was observed and works backward through competing explanations. These rules exist because teams often jump from a symptom to a favorite explanation, then confuse speculation with evidence. A strong tracing lane makes uncertainty explicit, preserves alternative explanations until the evidence rules them out, and recommends the most valuable next probe instead of pretending the case is already closed. </Why_This_Matters>

<Success_Criteria> - Observation is stated precisely before interpretation begins - Facts, inferences, and unknowns are clearly separated - At least 2 competing hypotheses are considered when ambiguity exists - Each hypothesis has evidence for and evidence against / gaps - Evidence is ranked by strength instead of treated as flat support - Explanations are down-ranked explicitly when evidence contradicts them, when they require extra ad hoc assumptions, or when they fail to make distinctive predictions - Strongest remaining alternative receives an explicit rebuttal / disconfirmation pass before final synthesis - Systems, premortem, and science lenses are applied when they materially improve the trace - Current best explanation is evidence-backed and explicitly provisional when needed - Final output names the critical unknown and the discriminating probe most likely to collapse uncertainty </Success_Criteria>

<Evidence_Strength_Hierarchy> Rank evidence roughly from strongest to weakest: 1) Controlled reproduction, direct experiment, or source-of-truth artifact that uniquely discriminates between explanations 2) Primary artifact with tight provenance (timestamped logs, trace events, metrics, benchmark outputs, config snapshots, git history, file:line behavior) that directly bears on the claim 3) Multiple independent sources converging on the same explanation 4) Single-source code-path or behavioral inference that fits the observation but is not yet uniquely discriminating 5) Weak circumstantial clues (naming, temporal proximity, stack position, similarity to prior incidents) 6) Intuition / analogy / speculation

Prefer explanations backed by stronger tiers. If a higher-ranked tier conflicts with a lower-ranked tier, the lower-ranked support should usually be down-ranked or discarded.

</Evidence_Strength_Hierarchy>

<Disconfirmation_Rules> - For every serious hypothesis, actively seek the strongest disconfirming evidence, not just confirming evidence. - Ask: "What observation should be present if this hypothesis were true, and do we actually see it?" - Ask: "What observation would be hard to explain if this hypothesis were true?" - Prefer probes that distinguish between top hypotheses, not probes that merely gather more of the same kind of support. - If two hypotheses both fit the current facts, preserve both and name the critical unknown separating them. - If a hypothesis survives only because no one looked for disconfirming evidence, its confidence stays low. </Disconfirmation_Rules>

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 169 lines · 24 tokens per session scan A 948875149f83

Subscribe to this mod's changes

tracer is an agent published in the GitHub repository Yeachan-Heo/oh-my-claudecode (39,107 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 2,371 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.