audit

audit is a command for Claude Code from nexus-labs-automation/mobile-observability. It costs 0 tokens per session (1,253 once invoked), scanned A, original, MIT.

A codebase command that checks whether an application has monitoring and diagnostic tracking in place. Observability means collecting information about crashes, errors, performance, and user context so problems can be investigated.

In plain words
What is it for?
Use it to inspect an iOS, Android, or React Native project for telemetry setup, crash reporting, user identification, symbol files, app-start tracking, and related instrumentation.
Why use it?
It shows what monitoring already exists and where important coverage is missing, reducing the chance that production problems go unexplained.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to inspect an iOS, Android, or React Native project for telemetry setup, crash reporting, user identification, symbol files, app-start tracking, and related instrumentation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nexus-labs-automation/mobile-observability/audit
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/nexus-labs-automation/mobile-observability

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 audit

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/nexus-labs-automation/mobile-observability/audit"><img src="https://agentmods.dev/badge/commands/nexus-labs-automation/mobile-observability/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,253 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.00000 $0.01253
Opus 5.5 $0.00000 $0.00501
Sonnet 5.5 $0.00000 $0.00251
Haiku 4.5 $0.00000 $0.00125

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

Security

Grade A, and why

audit 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 1mo 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.

commands/audit.md · 190 lines

How it starts

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

Audit Command

Scan a codebase for existing observability instrumentation and identify gaps.

Usage

/audit [path]

Arguments:

  • path: Optional. Directory to scan (defaults to current directory)
    • Non-existent path: Error with "Path not found: [path]"
    • Non-directory: Error with "Path must be a directory: [path]"

Examples:

/audit
/audit ./src
/audit ~/projects/my-app

Workflow

Step 1: Launch Codebase Analyzer

Invoke the codebase-analyzer agent to:

  1. Detect platform (iOS/Android/React Native)
  2. Identify architecture patterns
  3. Find existing telemetry SDKs
  4. Map instrumentation coverage

Step 2: Load Reference Context

Read:

  • references/instrumentation-patterns.md - Instrumentation checklist
  • references/platforms/*.md - Vendor-specific patterns

Step 3: Evaluate Coverage

Check each instrumentation area against the codebase:

Area What to Find Priority
SDK Init SDK setup in AppDelegate/Application P0
Crash Reporting Error capture, crash handlers P0
User Context setUser, user ID setting P0
Symbolication dSYM upload, ProGuard config P0
App Start Launch timing, startup spans P1
Screen Load TTI tracking, screen spans P1
Network Request interceptors, API tracing P1
Breadcrumbs Navigation/action logging P1
Database Query tracing P2
Custom Spans Business flow instrumentation P2

Step 4: Identify Anti-Patterns

Flag issues like:

  • PII in breadcrumbs/logs
  • Synchronous telemetry on main thread
  • Missing symbolication config
  • Over-instrumentation (battery impact)
  • Inconsistent span naming

Step 5: Generate Report

Output format:

## Telemetry Audit Report

### Platform
- **Type:** [iOS/Android/React Native]
- **Language:** [Swift/Kotlin/TypeScript]

### Existing SDKs

| SDK | Version | Location | Status |
|-----|---------|----------|--------|
| Sentry | 8.0.0 | Podfile:23 | Active |
| Firebase | 10.0.0 | Podfile:25 | Crashlytics only |

### Coverage Assessment

| Area | Status | Details |
|------|--------|---------|
| Crash Reporting | ✅ Covered | Sentry SDK initialized in AppDelegate |
| Error Tracking | ⚠️ Partial | Only in network layer |
| App Start | ❌ Missing | No launch timing |
| Screen Load | ⚠️ Partial | 3/12 screens tracked |
| Network | ✅ Covered | URLSession instrumented |
| Breadcrumbs | ❌ Missing | No breadcrumb logging |
| User Context | ✅ Covered | User ID set on login |
| Symbolication | ⚠️ Partial | dSYM upload configured, but not verified |

### Coverage Score: 62%

Foundation: ████████░░ 80% Performance: ████░░░░░░ 40% Context: ██░░░░░░░░ 20% Advanced: ░░░░░░░░░░ 0%


### Gaps Identified

| Gap | Priority | Impact | Effort |
|-----|----------|--------|--------|
| No app start tracking | P1 | Can't measure launch perf | Low |
| No screen load TTI | P1 | Can't identify slow screens | Medium |
| No breadcrumbs | P1 | Poor crash debugging | Low |
| Missing database spans | P2 | Can't trace slow queries | Medium |

### Anti-Patterns Found

1. **[Issue]** - [Location] - [Recommendation]

### Recommendations

#### Quick Wins (This Week)
1. [Low effort, high impact items]

#### Medium Term (This Month)
1. [Moderate effort items]

#### Nice to Have
1. [Lower priority items]

Read the full file on GitHub · 190 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. 1mo ago First seen · 190 lines · 0 tokens per session scan A 8e5bd1e78a76

Subscribe to this mod's changes

audit is a command published in the GitHub repository nexus-labs-automation/mobile-observability (116 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,253 tokens. 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 commands, from other repositories

feat

Kick off tasks creation for a new feature (4-item interview before invoking pm-agent; an epic-sized requirement routes to phased decomposition, a feature already built on one platform routes to cross-platform parity, a change that touches no endpoint routes to client-only).

bentleypark/claude-code-mobile-spine · 51 tokens

app-store-audit

Run an enterprise pre submission compliance audit on an iOS or Android app against Apple App Store and Google Play rejection rules. Pass a project path or run from the project root.

mjmirza/app-store-compliance · 35 tokens

feasibility

Pre-design feasibility review — check a planning document's (or HTML prototype's) platform premises against current OS docs and both repos, before design is settled.

bentleypark/claude-code-mobile-spine · 30 tokens

feature-learn

View and manage patterns learned from feature builds. Shows extracted instincts, confidence scores, and feature completeness history.

ahmed3elshaer/everything-claude-code-mobile · 21 tokens

feature-build

Build a complete mobile feature from description to running code with E2E tests. Orchestrates 6 phases - planning, implementation, testing, build-fix, quality gate, and verification. Auto-detects platform.

ahmed3elshaer/everything-claude-code-mobile · 45 tokens

feature-implement

Implement a planned mobile feature using parallel specialized agents for network, data, architecture, UI, and wiring layers. Requires an approved feature plan.

ahmed3elshaer/everything-claude-code-mobile · 28 tokens