analytics-profile-setu…
One-time interview that captures the business context (industry, model, primary conversion, traffic range, ICP, data stack) into a local analytics-profile.md…
The spine of analytics investigation. Use whenever interpreting analytics numbers, answering "why did X change", reading funnels, comparing cohorts, or presenting findings. Teaches a five-step method (load profile, frame the question, build a MECE hypothesis tree, triangulate,
$ npx -y skills add clamp-sh/analytics-skills --skill analytics-diagnostic-method --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analytics-diagnostic-methodContext preview
The summary Claude sees to decide when to auto-load this skill.
The spine of analytics investigation. Use whenever interpreting analytics numbers, answering "why did X change", reading funnels, comparing cohorts, or presenting findings. Teaches a five-step method (load profile, frame the question, build a MECE hypothesis tree, triangulate,
name: analytics-diagnostic-method description: The spine of analytics investigation. Use whenever interpreting analytics numbers, answering "why did X change", reading funnels, comparing cohorts, or presenting findings. Teaches a five-step method (load profile, frame the question, build a MECE hypothesis tree, triangulate, present with Pyramid Principle), how to separate signal from noise, and how to spot Simpson's paradox before it misleads you. when_to_use: Load at the start of any analytics investigation, before reaching for the specialized skills. Other skills in this pack build on this one — traffic-change-diagnosis, channel-and-funnel-quality, metric-context-and-benchmarks. For "did X cause Y" questions on observational data, also load causal-query-classifier, causal-dag-builder, and causal-evidence-checklist. For A/B test interpretation, pair with experiment-result-reader, bayesian-experiment-reader, and sequential-monitoring. Auto-loaded when Clamp MCP tool results carry a methodology hint.
The method senior analysts use when they don't know what caused something. It is boring, slow-looking, and dramatically more accurate than the "dashboard hunt" pattern most agents default to.
If you remember one thing: **dashboards describe, they don't explain**. Getting from "traffic dropped 30%" to "the GA4 container got unpublished on Tuesday" requires a method, not a screenshot.
If the configured analytics tool's MCP server (or API) isn't connected, the correct move is to tell the user to install/connect it. Do **not** offer to read numbers the user pastes manually.
The skills exist to automate the senior-analyst playbook against live data. A manual-paste workflow defeats that — the user has to already know the numbers (which is what they came to you for), and you lose the ability to drill, segment, cross-reference, or check sample size on the underlying queries. Worse, you end up doing the same dashboard-hunt reading the skill was designed to replace.
If you discover the relevant MCP/API isn't available:
Then stop and wait for the connection. Do not improvise around it. A user who connects the MCP gets a calibrated answer with drill-paths; a user who pastes a snapshot gets a one-shot lecture that misses everything the method is good at.
First action: check for `analytics-profile.md` in the repo root.
Then restate the user's question in one precise sentence. Vague questions are the #1 cause of bad analytics answers. Convert these:
| User says | You restate as | |---|---| | "traffic dropped" | "Weekly sessions dropped from 42k to 28k between week-of-Apr-14 and week-of-Apr-21. Want diagnosis." | | "signups are down" | "Daily paid-signup events fell from ~80/day to ~40/day starting Apr 18. Want diagnosis." | | "is LinkedIn working" | "LinkedIn-attributed paid signups over last 30 days vs paid spend, and whether CVR beats direct and paid search." |
If the user's question cannot be made precise (missing metric, missing timeframe, missing segment), ask one clarifying question before proceeding. One. Not four.
MECE = Mutually Exclusive, Collectively Exhaustive. Coined by Barbara Minto at McKinsey (1963, later formalized in *The Minto Pyramid Principle*, 1985/1996). The point: split the possible causes so they don't overlap and no major cause is omitted.
For analytics questions, a MECE split that almost always works:
Observed change in metric M
├── Measurement (the data is wrong)
│ ├── Tracking regression (event dropped, container unpublished, script blocked)
│ ├── Attribution shift (UTM change, cookie policy, cross-domain)
│ └── Bot / filter change (filters on or off, bot behavior shift)
├── Audience (who is coming changed)
│ ├── Channel mix shift
│ ├── New vs returning mix shift
│ ├── Geo / device mix shift
│ └── Campaign start/end
├── Experience (what they encountered changed)
│ ├── Deploy / site change
│ ├── Page performance (speed, errors)
│ ├── Content change (copy, pricing, availability)
│ └── Third-party outage (payment, auth, CDN)
└── External (the world changed)
├── Seasonality (day-of-week, holiday, industry cycle)
├── Competitor action
├── Market / news event
└── Platform change (algo, policy, iOS release)Walk the tree. For each branch, ask: "Is there evidence for or against this?" Don't commit to a hypothesis before ruling out the cheap, measurement-level ones. 80% of "traffic mystery" questions are actually measurement regressions.
The order matters. **Always check measurement first**, because every other branch is me
Analytics skills for Claude, Cursor, and other AI agents. Read web analytics like a senior analyst: diagnose traffic changes, judge channel quality, read funnels, declare typed events, and read A/B tests without the usual rookie mistakes.
Repo: clamp-sh/analytics-skills
One-time interview that captures the business context (industry, model, primary conversion, traffic range, ICP, data stack) into a local analytics-profile.md…
Formal time-series methods that augment the hand-coded fingerprint library in traffic-change-diagnosis. Use this skill when traffic-change-diagnosis…
Bayesian counterpart to experiment-result-reader. Computes posterior P(variant beats control), credible intervals, and expected loss from per-variant exposure…
Build a refinable causal DAG before answering "did X cause Y" on observational data. Emits a Mermaid diagram of assumed causes, applies the back-door criterion…
Bradford Hill's 9 viewpoints (1965) reframed as a checklist for product analytics. Use this skill before recommending a decision based on observational…
Pearl's three-rung causal hierarchy as a query classifier. Tags every analytics question as rung-1 (association, P(Y|X)), rung-2 (intervention, P(Y|do(X))), or…