analytics

A marketing-data analysis command that turns campaign and business numbers into explanations and next steps. It can also help define how new initiatives should be measured.

In plain words
What is it for?
Use it to investigate metric changes, interpret campaigns, plan dashboards, set up tracking and attribution, or calculate measures such as return on investment, customer lifetime value, and customer acquisition cost.
Why use it?
It reduces the guesswork involved in understanding changing metrics, campaign results, and marketing performance. It helps connect reported numbers with likely causes and decisions.

Command

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 commands/brainbytes-dev/everything-claude-marketing/analytics
Clone the repo
git clone --depth 1 https://github.com/brainbytes-dev/everything-claude-marketing
Per session 18 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,315 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.00018 $0.01315
Opus 5 $0.00009 $0.00658
Sonnet 5 $0.00004 $0.00263
Haiku 4.5 $0.00002 $0.00131

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

Security

Grade A, and why

analytics 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 2d 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/analytics.md · 141 lines

How it starts

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

/analytics

Interpret marketing data, diagnose performance changes, build reporting frameworks, and turn numbers into actionable insights that drive decisions.

What This Command Does

The /analytics command helps you make sense of marketing data. Whether you are investigating a sudden metric change, building a reporting dashboard, or designing a measurement framework from scratch, this command translates raw data into clear insights and concrete next steps. It goes beyond describing what happened to explain why it likely happened and what to do about it.

The command delegates to the analytics-interpreter agent, which applies statistical thinking, marketing attribution models, and diagnostic frameworks to analyze your data and produce actionable recommendations.

When to Use

  • A key metric changed significantly and you need to diagnose why
  • You want to build a marketing dashboard or reporting framework
  • You need to interpret campaign performance data and make optimization decisions
  • You are setting up tracking, attribution, or measurement for a new initiative
  • You want to calculate ROI, LTV, CAC, or other marketing economics metrics
  • You need to present marketing performance to leadership with clear narratives
  • You want to design experiments with proper measurement methodology

How It Works

  1. Data Assessment — Reviews the data you provide, identifies what is available and what is missing
  2. Diagnostic Analysis — Applies structured diagnostic frameworks to identify root causes of performance changes
  3. Contextual Interpretation — Considers external factors (seasonality, market changes, algorithm updates) alongside internal factors
  4. Insight Extraction — Identifies the most significant findings and their business implications
  5. Recommendation Development — Produces specific, prioritized actions based on the analysis
  6. Framework Design — When requested, builds measurement frameworks, KPI hierarchies, or reporting templates

Read the full file on GitHub · 141 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. 2d ago First seen · 141 lines · 18 tokens per session scan A 9d884f7be9cb

Subscribe to this mod's changes

analytics is a command published in the GitHub repository brainbytes-dev/everything-claude-marketing (5 stars, last pushed 5mo ago), licensed MIT. It adds 18 tokens to every session and 1,315 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-31.