instrumentation-reviewer

instrumentation-reviewer is an agent for Claude Code from nexus-labs-automation/mobile-observability. It costs 22 tokens per session (1,510 once invoked), scanned A, original, MIT.

A code-review agent focused on observability, meaning the logs, metrics, and traces used to understand running software.

In plain words
What is it for?
Reviewing files, pull requests, or features for issues such as personal data in telemetry, excessive tag values, unbounded payloads, and unclear log structure.
Why use it?
It helps catch telemetry that is misleading, too detailed, missing useful context, or unsafe to collect.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Launch the instrumentation-reviewer agent on ./src/checkout/PaymentViewModel.swift.

Part of the mobile-observability plugin — 8 skills, 2 commands, 2 agents shipped together

Good fit Reviewing files, pull requests, or features for issues such as personal data in telemetry, excessive tag values, unbounded payloads, and unclear log structure.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nexus-labs-automation/mobile-observability
agentmods
npx agentmods add agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer

Made for: Claude Code.

Or install mobile-observability, the plugin that ships this one along with the rest of its 8 skills, 2 commands, 2 agents.

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 instrumentation-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer/github.svg)](https://agentmods.dev/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer"><img src="https://agentmods.dev/badge/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer/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 instrumentation-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer"><img src="https://agentmods.dev/badge/agents/nexus-labs-automation/mobile-observability/instrumentation-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,510 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.00022 $0.01510
Opus 5 $0.00011 $0.00755
Sonnet 5 $0.00004 $0.00302
Haiku 4.5 $0.00002 $0.00151

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

Security

Grade A, and why

instrumentation-reviewer 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.

agents/instrumentation-reviewer.md · 224 lines

How it starts

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

Instrumentation Reviewer Agent

You are an Instrumentation Reviewer that evaluates code for observability best practices.

Primary Objective

Review code (a file, PR, or feature) and provide actionable feedback on:

  1. Anti-patterns that will cause problems
  2. Missing context that limits debuggability
  3. Naming and structure improvements
  4. What's done well (positive reinforcement)

When to Use This Agent

  • "Review this file for observability best practices"
  • "Check if I instrumented this feature correctly"
  • "Review my telemetry code before I merge"

Available Tools

  • Read - Examine the code to review
  • Glob - Find related files if needed
  • Grep - Search for patterns across the codebase

Review Checklist

1. Anti-Patterns (Critical)

Anti-Pattern What to Look For Why It's Bad
High cardinality User IDs, UUIDs, timestamps as tag values Explodes metric storage costs
PII in telemetry Email, phone, name, address in events Compliance risk, data breach
Unbounded payloads Entire objects, arrays, or state attached Hits size limits, costs
Unstructured logging String interpolation instead of key-value Can't query or aggregate
Sync telemetry Blocking calls on main thread UI freezes

Search patterns:

// High cardinality
tags: ["user_id": userId]  // BAD
tags: ["user_tier": tier]  // GOOD

// PII
properties: ["email": user.email]  // BAD
properties: ["has_email": user.email != nil]  // GOOD

// Unbounded
extras: ["state": entireAppState]  // BAD
extras: ["cart_item_count": cart.items.count]  // GOOD

2. Context Validation (Important)

Check that events include sufficient context:

Context Required For Example
job_name Business logic events "checkout", "onboarding"
job_step Multi-step flows "payment", "shipping"
screen All user-facing events "HomeScreen", "CartView"
session_id Cross-event correlation UUID from session start
app_version Release correlation "1.2.3"

Read the full file on GitHub · 224 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 · 224 lines · 22 tokens per session scan A c4315e9257f7

Subscribe to this mod's changes

instrumentation-reviewer is an agent published in the GitHub repository nexus-labs-automation/mobile-observability (116 stars, last pushed 19d ago), licensed MIT. It adds 22 tokens to every session and 1,510 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.

Related

Other agents, from other repositories

mobile-pr-bug-hunter

Use this agent to hunt for correctness bugs in a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) — forgotten call sites, unhandled unhappy paths, wrong logic, non-exhaustive branching, silent regressions, contract mismatches, resource-lifecycle leaks, and concurrency correctness. Feed it the PR intent, full diff…

Abdallah-Abdelazim/mobile-pr-review-plugin · 131 tokens

mobile-pr-code-quality-reviewer

Use this agent to review a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) for code smells, dead/unused code, duplication, and software-engineering excellence (SOLID, naming, PR scope, documentation) — plus the platform's architecture/framework checklist (Compose/SwiftUI, DI, security, performance, accessibility…

Abdallah-Abdelazim/mobile-pr-review-plugin · 134 tokens

mobile-pr-silent-failure-hunter

Use this agent to audit a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) for silent failures — swallowed exceptions, overly broad catches, unjustified fallbacks, and error handling that hides problems instead of surfacing them. Feed it the PR intent, full diff, changed-file list, and the path(s) to the relevant…

Abdallah-Abdelazim/mobile-pr-review-plugin · 99 tokens

mobile-pr-type-design-analyzer

Use this agent when a mobile PR diff adds or reshapes a type — a Kotlin data class, sealed class/interface, enum class, or a Swift struct/protocol/enum. It reviews the type's encapsulation, invariant expression, and usefulness of its design, including KMP expect/actual contracts. Feed it the full diff and changed-file…

Abdallah-Abdelazim/mobile-pr-review-plugin · 91 tokens

mobile-pr-comment-analyzer

Use this agent when a mobile PR diff adds or modifies comments, KDoc, or doc comments. It checks whether comments/docs are accurate, whether they explain why rather than restate what, and specifically catches "stranded artifacts" — comments left behind by an incomplete deletion elsewhere in the same diff. Feed it the…

Abdallah-Abdelazim/mobile-pr-review-plugin · 89 tokens

mobile-pr-deprecation-scanner

Use this agent to scan a mobile PR diff (Android/Kotlin or iOS/Swift) for newly-added usage of APIs deprecated, superseded, or removed as of 2026 (Android 16/17 — API 36/37, Swift 6, iOS 17-26). Feed it the diff, changed-file list, and the absolute path(s) to android.md and/or ios.md (whichever platform(s) the diff…

Abdallah-Abdelazim/mobile-pr-review-plugin · 134 tokens