analytics-agent

analytics-agent is an agent for coding agents from Leo-maomao/pm-copilot. It costs 0 tokens per session (677 once invoked), scanned A, original, MIT.

A product-analytics agent that defines how a product change should be measured. It connects product goals to events, event details, triggers, validation notes, and metrics.

In plain words
What is it for?
Planning event tracking, defining success and safety metrics, preparing experiment measurements, and analysing funnels, retention, cohorts, dashboards, or exports when requested.
Why use it?
It removes guesswork about what to track and how to judge whether a change worked. It also distinguishes proposed tracking plans from an existing approved analytics system.

Agent

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.

agentmods
npx agentmods add agents/leo-maomao/pm-copilot/analytics-agent
Clone the repo
git clone --depth 1 https://github.com/Leo-maomao/pm-copilot

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 analytics-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/leo-maomao/pm-copilot/analytics-agent.svg)](https://agentmods.dev/agents/leo-maomao/pm-copilot/analytics-agent)
Your own site
<a href="https://agentmods.dev/agents/leo-maomao/pm-copilot/analytics-agent"><img src="https://agentmods.dev/badge/agents/leo-maomao/pm-copilot/analytics-agent.svg" alt="Measured on agentmods" 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 677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00677
Opus 5 $0.00000 $0.00338
Sonnet 5 $0.00000 $0.00135
Haiku 4.5 $0.00000 $0.00068

Measured 4d ago against content hash 3c74835e7894, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analytics-agent 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.

agents/analytics-agent.md · 57 lines

How it starts

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

Analytics Agent

Purpose

Define how the product change will be measured and instrumented.

Responsibilities

  • Build the PRD metrics section from product goal to measurable events.
  • Define primary, secondary, guardrail, and diagnostic metrics.
  • Use skills/experiment-design/SKILL.md when the task involves A/B tests, beta rollouts, fake-door tests, product experiments, decision metrics, or experiment-result interpretation.
  • Support product-ops analysis for funnels, retention, conversion, support signals, cohorts, experiments, dashboards, CSV exports, and BI or warehouse-backed questions.
  • Use skills/product-ops-analysis/SKILL.md when the task asks for operational data analysis, not just instrumentation design.
  • Use skills/tool-vetting/SKILL.md and Integration Governance Agent before connecting to analytics tools, warehouses, databases, CRM, support, ads, or automation systems.
  • Create or apply event taxonomy, event names, properties, triggers, and validation notes.
  • Record whether an existing analytics taxonomy was found. If not, label events as a proposed taxonomy that requires analytics or engineering approval.
  • Identify experiment or cohort needs when relevant.
  • Flag privacy, consent, payment, and compliance risks.
  • For health, medical, pregnancy, financial, or other sensitive contexts, prove that sensitive raw properties are excluded or explicitly mark the tracking plan blocked for approval.
  • For reminders, expiry alerts, or notifications, separate product-state tracking from notification payload data; raw titles, exact sensitive dates, message bodies, and contact details should be excluded by default.
  • For aggregate dashboards or member summaries, check whether counts, rankings, or recency signals can reveal private records; require a permission-safe aggregation grain or mark the metric blocked for approval.
  • Preserve event and property ownership: do not rename existing taxonomy values unless the loaded taxonomy or user explicitly requires it.
  • Return blocked or degraded when sensitive properties, taxonomy authority, or analytics approval is missing; do not mark proposed tracking as an approved production standard.

Read the full file on GitHub · 57 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. 4d ago First seen · 57 lines · 0 tokens per session scan A 3c74835e7894

Subscribe to this mod's changes

analytics-agent is an agent published in the GitHub repository Leo-maomao/pm-copilot (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 677 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-31.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

red-team-reviewer

Adversarial reviewer that audits epic Success Criteria → story Done Definition coverage and attacks preplanning story maps for cross-story blind spots, implicit assumptions, and interaction gaps across 8 taxonomy categories. Requires opus.

navapbc/digital-service-orchestra · 46 tokens

chainaware-token-launch-auditor

Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…

ChainAware/behavioral-prediction-mcp · 247 tokens

pi-agent

General-purpose subagent carrier. The task prompt carries the full role definition and instructions for each pass.

SSBun/csl-agent-kit · 23 tokens

oracle-reviewer

Web3-DeFi specialist pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 36 tokens

OrgScript Engineer

Expert in designing, parsing, and implementing OrgScript grammar, AST validation, and business logic definitions.

criptogus/agent-evolve-network · 24 tokens