call-tracer

call-tracer is an agent for Claude Code from oliver-kriska/claude-elixir-phoenix. It costs 46 tokens per session (2,090 once invoked), scanned A, original, MIT.

An orchestrator that traces how calls travel through an Elixir/Phoenix codebase by assigning different entry-point types to separate sub-agents.

In plain words
What is it for?
Use it to trace controllers, LiveViews, workers, and GenServers, especially for nil values, incomplete stack traces, hard-to-reproduce issues, or signature changes.
Why use it?
It helps locate where an unexpected value comes from or find every caller when a function's arguments or signature change.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; names the NotebookEdit tool.

Part of the phx plugin — 50 skills, 26 agents, 8 hooks shipped together

Good fit Use it to trace controllers, LiveViews, workers, and GenServers, especially for nil values, incomplete stack traces, hard-to-reproduce issues, or signature changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oliver-kriska/claude-elixir-phoenix/call-tracer
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/oliver-kriska/claude-elixir-phoenix

Made for: Claude Code.

Or install phx, the plugin that ships this one along with the rest of its 50 skills, 26 agents, 8 hooks.

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 call-tracer

README.md
[![agentmods](https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/call-tracer/github.svg)](https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/call-tracer)
Your own site
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/call-tracer"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/call-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 call-tracer

Your own site · 80×15
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/call-tracer"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/call-tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 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,090 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.00046 $0.02090
Opus 5.5 $0.00018 $0.00836
Sonnet 5.5 $0.00009 $0.00418
Haiku 4.5 $0.00005 $0.00209

Measured 22d ago against content hash 8db022d41e46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

call-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 22d 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.

plugins/elixir-phoenix/agents/call-tracer.md · 283 lines

How it starts

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

Call Tracer Agent (Parallel Orchestrator)

You orchestrate parallel call tree tracing by spawning specialized subagents for each entry point category. Each subagent gets fresh context for deep, focused analysis.

Why Parallel Subagents

From Anthropic research:

  • 90% time reduction for complex queries
  • Fresh context per subagent (no degradation)
  • Compression benefit: subagent explores 50 files, returns 500 token summary

When to Use

Other agents should delegate here when:

  • Unexpected nil/value - Need to trace where the value originates
  • Cannot reproduce locally - Need to understand all entry points
  • Changing function signature - Need to find all callers and their argument patterns
  • Stack trace incomplete - Need full call path context
  • Complex tracing - Multiple entry point types likely

Orchestration Process

Phase 1: Initial Analysis

Before spawning:

  1. Parse the target MFA (Module.Function/Arity)
  2. Run mix xref callers for initial caller list
  3. Determine which entry point categories are relevant
  4. Plan subagent deployment
# Get all direct callers first
mix xref callers MyApp.Accounts.update_user/2

Phase 2: Spawn Parallel Subagents

Spawn subagents for each relevant entry point category in parallel:

Agent(subagent_type: "general-purpose", prompt: "...", run_in_background: true)

Scope each subagent prompt to its entry-point directories and the target MFA — an open-ended prompt like "trace the codebase" duplicates the other tracers' work.

If the caller provides an output_dir, instruct each subagent to write output there. Otherwise return inline.

Controller Tracer Subagent
Objective: Trace all controller entry points that lead to {target_mfa}
Scope: lib/*_web/controllers/**/*.ex
Focus: HTTP entry points, conn flow, plug pipelines
Output format:
- List of controller actions that call target (directly or indirectly)
- For each: file:line, action name, HTTP method, route, argument patterns
- Auth context (which plugs protect this route)

Read the full file on GitHub · 283 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. 22d ago Changed · -1 lines 8db022d41e46
  2. 24d ago Changed 8f1c34cc10a8
  3. 1mo ago First seen · 284 lines · 46 tokens per session scan A 41e600d402dc

Subscribe to this mod's changes

call-tracer is an agent published in the GitHub repository oliver-kriska/claude-elixir-phoenix (569 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 2,090 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

craft-site-builder

Builds Craft CMS site front ends — content models (sections, entry types, fields, Matrix), Twig templates, atomic components, layouts, and Vite buildchain — with layered build-verify gates. Use for multi-template site work or content architecture; not for plugin/module PHP.

michtio/craftcms-claude-skills · 61 tokens

bug-investigator

Use when a bug, regression, or unexpected behaviour needs its root cause traced to specific code before any fix is designed. Investigates only — never edits files. Returns a structured report citing file:line evidence.

kardebadas/claude-plugin · 46 tokens

genpage-customapi-builder

Owns ALL GenPage Dataverse Custom API (plug-in) work: it is the single owner of the custom-api feature-flag gate, discovers the Custom APIs a page can bind to (Global and entity-bound Actions/Functions) plus their declared request-parameter kinds, and produces the ## Custom API Bindings contract. Invoked only by the…

microsoft/power-platform-skills · 148 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

litestar-reviewer

Use when reviewing Litestar PRs/code for stack-aware DTOs, guards, DI, data services, pagination, settings, async I/O, plugins, and wire format. Not for non-Litestar reviews.

litestar-org/litestar-skills · 48 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 89 tokens