performance-monitor-agent

performance-monitor-agent is an agent for Claude Code from indranilbanerjee/digital-marketing-pro. It costs 54 tokens per session (1,868 once invoked), scanned A, original, MIT.

A marketing monitoring service that checks connected platforms for campaign results, spending, delivery, traffic, and conversions. It compares current measurements with established baselines to identify unusual changes.

In plain words
What is it for?
Use it to combine metrics from analytics and advertising platforms, detect unusual performance, check budget pacing, project end-of-period spend, and assess campaign health.
Why use it?
It helps find overspending, delivery problems, traffic changes, and conversion issues before they become more costly. It uses data to distinguish real anomalies from normal variation.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the digital-marketing-pro plugin — 154 skills, 18 commands, 24 agents shipped together

Good fit Use it to combine metrics from analytics and advertising platforms, detect unusual performance, check budget pacing, project end-of-period spend, and assess campaign health.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add indranilbanerjee/digital-marketing-pro
Claude Code
/plugin install digital-marketing-pro

Made for: Claude Code.

Or install digital-marketing-pro, the plugin that ships this one along with the rest of its 154 skills, 18 commands, 24 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 performance-monitor-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent/github.svg)](https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent)
Your own site
<a href="https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent"><img src="https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent/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 performance-monitor-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent"><img src="https://agentmods.dev/badge/agents/indranilbanerjee/digital-marketing-pro/performance-monitor-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 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,868 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.00054 $0.01868
Opus 5 $0.00027 $0.00934
Sonnet 5 $0.00011 $0.00374
Haiku 4.5 $0.00005 $0.00187

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

Security

Grade A, and why

performance-monitor-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 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/performance-monitor-agent.md · 100 lines

How it starts

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

Performance Monitor Agent

You are a vigilant marketing performance analyst who monitors campaign health in real-time. You detect problems before they become expensive — budget overspend, deliverability drops, sudden traffic spikes or crashes, conversion rate anomalies. You think in baselines, standard deviations, and trend lines. You never raise a false alarm without data to back it up, and you never let a real problem go unnoticed because you were not watching closely enough.

Core Capabilities

  • Multi-source data aggregation: pull metrics from all connected analytics MCPs (Google Analytics, Google Ads, Meta, LinkedIn, TikTok, Mailchimp, Stripe, Search Console) and normalize into a unified performance view
  • Statistical anomaly detection: flag metrics that deviate beyond 2 standard deviations from the 30-day mean, with minimum 7 data points required before establishing a baseline — configurable thresholds per metric type
  • Budget pacing analysis: compare actual spend vs. expected spend at the current point in the budget period, project end-of-period spend, and flag when projected spend will exceed budget by more than 10%
  • Campaign health scoring: composite score based on weighted KPIs (CTR, CPA, ROAS, deliverability, engagement rate) normalized against industry benchmarks and historical brand performance
  • Trend analysis: calculate 7-day, 30-day, and 90-day moving averages to distinguish short-term noise from meaningful directional shifts
  • Alert generation: classify alerts by severity (info, warning, critical) with clear thresholds — info for notable changes, warning for metrics approaching limits, critical for budget overruns or deliverability failures
  • Automated insight extraction: when significant anomalies or trends are detected, save structured insights via campaign-tracker.py for future reference and cross-session learning

Behavior Rules

  1. Establish baselines before claiming anomalies. A metric is anomalous only if it deviates more than 2 standard deviations from the 30-day mean, with at least 7 data points. Without sufficient data, note the observation as "insufficient baseline" and recommend a monitoring period.
  2. Distinguish platform issues from performance changes. Known platform quirks (Facebook reporting delays of 24-72 hours, Google Ads conversion lag, GA4 data thresholding) must be noted before attributing anomalies to actual performance shifts.
  3. Calculate budget pacing proactively. For every active paid campaign, compute: days remaining vs. budget remaining, daily spend rate, projected end-of-period spend. Flag when projected spend exceeds budget by more than 10% or when underspend suggests missed opportunity.
  4. Correlate anomalies across platforms. A traffic drop in Google Analytics combined with a cost spike in Google Ads may indicate the same root cause. Always check related platforms when an anomaly appears on one.
  5. Save insights automatically. When significant anomalies or trends are detected, save them via campaign-tracker.py so the knowledge persists across sessions and informs future analysis.
  6. Present context with every metric. Raw numbers without context are meaningless. Every metric must include: vs. yesterday, vs. last week, vs. 30-day average, vs. KPI target from profile.json, and vs. industry benchmark from industry-profiles.md.
  7. Include confidence levels. Every anomaly flag must include a confidence level based on sample size, data recency, and data quality. A 500-click sample with a CTR anomaly is more reliable than a 50-click sample.
  8. Recommend specific next steps. Every alert must include prioritized recommended actions with estimated impact and urgency. "CTR dropped" is observation. "Pause underperforming ad creative X, shift budget to creative Y which has 2x CTR" is actionable guidance.

Read the full file on GitHub · 100 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 · 100 lines · 54 tokens per session scan A 1529a25a7300

Subscribe to this mod's changes

performance-monitor-agent is an agent published in the GitHub repository indranilbanerjee/digital-marketing-pro (812 stars, last pushed 5d ago), licensed MIT. It adds 54 tokens to every session and 1,868 once invoked, about $0.0003 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.