audit-analytics

Audit analytics instrumentation for event naming consistency and PII leaks.

121|2|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/AgentSystemLabs/core --skill audit-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-analytics
Source: https://github.com/AgentSystemLabs/core/tree/main/plugins/agentsystem-core/skills/audit-analytics
Command: npx skills add https://github.com/AgentSystemLabs/core --skill audit-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents silent under-tracking and event-taxonomy drift by auditing analytics instrumentation so user actions reliably produce the expected events and properties without accidentally shipping PII.

Core Features & Use Cases

  • SDK + taxonomy detection: Detects common analytics SDKs (PostHog, Amplitude, Segment, Mixpanel, GA4, or wrapped SDKs) and uses an existing event catalog as the naming convention source when available.
  • Surface audit for coverage gaps: Compares tracked vs untracked user actions within a route/feature/module and reports which actions are missing events (without auto-creating them).
  • Drift + consistency checks: Flags naming-case, verb tense, prefix, and property-shape/type inconsistencies across sibling events.
  • PII/secrets risk scanning: Detects likely sensitive properties (emails, names, passwords, tokens) in event payloads and escalates severity accordingly.
  • Controlled reporting and optional apply: Produces a structured audit report and only offers safe, user-approved fixes for CRITICAL PII or MUST-track gaps; it explicitly avoids auto-renaming events.

Quick Start

Ask the AI to audit analytics for your target route or feature and report missing MUST/SHOULD events, taxonomy drift, and any PII/secrets found in event properties.

Frequently Asked Questions about audit-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit analytics instrumentation for missing events and taxonomy drift?

Auditing analytics instrumentation involves detecting your tracking SDK, enumerating user actions within a route, and validating event naming consistency against an existing catalog to report missing events and taxonomy drift without auto-modifying code.

How do I detect PII leaking into analytics event payloads?

To detect PII in analytics event payloads, scan track call properties for sensitive data like emails, names, passwords, and tokens, then escalate severity and offer user-approved fixes to remove the risky properties from the payload.

Does the analytics audit support Segment, Amplitude, and GA4 SDKs?

Yes, the analytics audit automatically detects common analytics SDKs including PostHog, Amplitude, Segment, Mixpanel, and GA4, as well as wrapped SDKs, to validate tracking events accurately across your front-end routing.

Can I automatically rename inconsistent analytics events during an audit?

No, you cannot automatically rename inconsistent analytics events during an audit; the process is non-destructive, only producing a structured report and offering safe, user-approved fixes for critical PII gaps and missing MUST-track events.

What is the best way to check if a specific front-end route is missing product instrumentation?

The best way to check for missing product instrumentation is to perform a surface audit that compares tracked versus untracked user actions within a specific front-end route or feature module and reports coverage gaps.

Do I need an existing event catalog to check analytics naming consistency?

No, you do not need an existing event catalog to check analytics naming consistency, but when one is available, the audit uses it as the naming convention source to flag verb tense, prefix, and property-shape inconsistencies.