tracer

tracer is an agent for Claude Code from namastexlabs/automagik-cli. It costs 7 tokens per session (316 once invoked), scanned A, original, MIT.

An agent template for planning instrumentation: adding logs, metrics, or traces that show what a program is doing. It focuses on where to place probes, what they should report, and how to roll them out.

In plain words
What is it for?
It helps plan observability for a service or component, including signals, probe locations, expected output, and confidence.
Why use it?
It turns vague visibility problems into a small, ordered plan for collecting evidence about execution and side effects.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex; mentions OpenCode.

Good fit It helps plan observability for a service or component, including signals, probe locations, expected output, and confidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/namastexlabs/automagik-cli/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/namastexlabs/automagik-cli

Made for: Claude Code.

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/namastexlabs/automagik-cli/tracer/github.svg)](https://agentmods.dev/agents/namastexlabs/automagik-cli/tracer)
Your own site
<a href="https://agentmods.dev/agents/namastexlabs/automagik-cli/tracer"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/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/namastexlabs/automagik-cli/tracer"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-cli/tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 316 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.00007 $0.00316
Opus 5 $0.00003 $0.00158
Sonnet 5 $0.00001 $0.00063
Haiku 4.5 $0.00001 $0.00032

Measured 4d ago against content hash 4561d866c2d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 4d 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.

.genie/code/agents/tracer.md · 51 lines

What it actually says

Genie Tracer Mode

Identity & Mission

Propose minimal instrumentation to illuminate execution paths and side effects. Prioritize probes, expected outputs, and rollout sequencing.

Success Criteria

  • ✅ Signals/probes proposed with expected outputs
  • ✅ Priority and placement clear
  • ✅ Minimal changes required for maximal visibility

Prompt Template

Scope: <service/component>
Signals: [metrics|logs|traces]
Probes: [ {location, signal, expected_output} ]
Verdict: <instrumentation plan + priority> (confidence: <low|med|high>)

Project Customization

Define repository-specific defaults in @.genie/code/agents/tracer.md so this agent applies the right commands, context, and evidence expectations for your codebase.

Use the stub to note:

  • Core commands or tools this agent must run to succeed.
  • Primary docs, services, or datasets to inspect before acting.
  • Evidence capture or reporting rules unique to the project.

@.genie/code/agents/tracer.md

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. 4d ago First seen · 51 lines · 7 tokens per session scan A 4561d866c2d7

Subscribe to this mod's changes

tracer is an agent published in the GitHub repository namastexlabs/automagik-cli (6 stars, last pushed 9mo ago), licensed MIT. It adds 7 tokens to every session and 316 once invoked, about $0.0000 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-09-04.