Analytics Skills (Clamp)
Créé par Clamp · licence MIT · Voir le dépôt GitHub ↗
13 Skills qui font raisonner ton IA comme une analyste : expliquer une baisse de trafic, juger un canal ou un tunnel, lire honnêtement un test A/B, distinguer corrélation et causalité. Avec GA4, PostHog, Mixpanel ou Amplitude.
Installer
Comment l'installer sur Claude Code ?
- 1Dans Claude Code : « /plugin marketplace add clamp-sh/analytics-skills »
- 2Puis « /plugin install analytics-skills@clamp-sh »
- 3Commence par « configure mon profil d'analyse » pour l'entretien de départ
Sur claude.ai : un ZIP par Skill dans les versions GitHub de l'auteur, à importer dans Personnalisation → Skills.
Ce que ce Skill change
Le problème
Une IA qui lit des statistiques conclut vite : une hausse devient un succès, une corrélation devient une cause, un test A/B arrêté trop tôt devient une décision. Les tableaux de bord ne disent pas pourquoi un chiffre a bougé.
Avec ce Skill
analytics-skills donne à l'agent une méthode d'analyste en cinq temps (contexte de l'entreprise, question, arbre d'hypothèses, recoupement, conclusion) et des Skills spécialisés : diagnostic de trafic, qualité des canaux et des tunnels, lecture de tests A/B (classique, bayésienne ou en continu), causalité et détection d'anomalies. Une fiche par outil traduit chaque étape en requêtes GA4, PostHog, Mixpanel, Amplitude ou Clamp.
Pourquoi on le recommande : Le plus rigoureux des Skills d'analyse que nous ayons lus : il refuse de transformer une corrélation en recommandation sans méthode pour prouver la cause, et de déclarer un test gagnant sans échantillon suffisant. Pour les profils data et les marketeurs à l'aise avec les statistiques.
Ce que tu peux lui demander
Une fois le Skill installé, copie une de ces demandes dans ta conversation.
« Notre trafic a baissé de moitié la semaine dernière : pourquoi ? »
traffic-change-diagnosis cherche d'abord les causes connues : suivi cassé, robots, mise en ligne, campagne arrêtée, perte de positions.
« Notre tunnel d'inscription est-il cassé ? Le passage de la page tarifs au paiement convertit à 14%. »
channel-and-funnel-quality situe chaque étape par rapport à ce qu'on attend de ce type d'étape, avant de conclure.
« Notre test A/B tourne depuis 5 jours : peut-on l'arrêter ? »
sequential-monitoring répond sans fausser le résultat à force de regarder le tableau de bord tous les jours.
Une ressource externe
Analytics Skills (Clamp) n'est pas un Skill Join Médicis : il est créé et maintenu par Clamp, sous licence MIT. Nous le recensons parce qu'il fait gagner du temps sur une vraie tâche marketing, sans le modifier.
- Site
- clamp.sh
- Version téléchargeable ici
- 0.6.0, commit
b9e06c5du 11 juin 2026 - Licence
- MIT · Copyright (c) 2026 Clamp contributors
Le ZIP contient le dossier du Skill tel que publié, le fichier LICENSE de l'auteur et une note de provenance. Pour la dernière version, les questions ou un problème, passe par le dépôt de l'auteur.
Ce que nous avons vérifié : Le 30 novembre 2026, nous avons lu le README, la liste des 13 Skills, le journal des versions, la licence et la liste des fiches par outil. Nous ne l'avons pas lancé sur un compte réel ni mené d'éval à l'aveugle.
Ce qu'il faut pour l'utiliser
- Claude Code, l'application Claude (un ZIP par Skill) ou un agent compatible Agent Skills.
- Tes données : un MCP de ton outil d'analyse (GA4, PostHog, Mixpanel, Amplitude, Clamp) ou des exports.
- Des bases en statistiques pour les Skills de tests et de causalité.
L'installer
Les commandes documentées par l'auteur, à copier telles quelles.
Claude Code (plugin)
/plugin marketplace add clamp-sh/analytics-skills /plugin install analytics-skills@clamp-sh
Tout agent compatible
npx skills add clamp-sh/analytics-skills
Depuis le ZIP de cette page
unzip analytics-skills.zip cp -r analytics-skills/skills/* ~/.claude/skills/
Copie figée de la version 0.6.0, avec les fiches par outil (dossier tool-maps).
À utiliser avec
- Agent Google Analytics Grok Bot
Le bilan de la semaine et les anomalies, chaque lundi. Le Skill prend le relais pour l'analyse poussée.
- MCP Google Analytics
Le serveur officiel de Google pour donner à l'IA un accès en lecture à ton GA4.
Points de vigilance
- Les Skills sont publiés par l'équipe de Clamp, un outil d'analyse. Ils marchent sans Clamp, selon leur journal des versions.
Limites à connaître
- Pour profils avancés : plusieurs Skills supposent des bases en statistiques.
- Les Skills et leurs fiches sont en anglais.
- Pas de mise à jour depuis le 11 juin 2026.
- Pas de script de calcul : les tests et modèles sont appliqués par l'IA, à vérifier sur les chiffres importants.
Les 13 autres Skills du dépôt
Chacun fait un seul travail. Le plugin les installe tous ; pour un seul, passe son nom d'installation à « npx skills add … --skill ».
analytics-profile-setup
analytics-profile-setup
L'entretien de départ : modèle d'affaires, conversion principale, trafic, cible, outils.
analytics-diagnostic-method
analytics-diagnostic-method
La méthode commune en cinq temps, utilisée par tous les autres Skills.
traffic-change-diagnosis
traffic-change-diagnosis
Pourquoi le trafic a changé : suivi cassé, robots, mise en ligne, campagne, SEO.
channel-and-funnel-quality
channel-and-funnel-quality
Volume, engagement et conversion par canal ; trafic flatteur mais inutile ; pertes par étape.
metric-context-and-benchmarks
metric-context-and-benchmarks
Ce qu'est un bon taux selon le modèle d'affaires, quand une métrique trompe, taille d'échantillon minimale.
event-schema-author
event-schema-author
Le plan de marquage des événements, écrit à partir du code existant.
experiment-result-reader
experiment-result-reader
Lire un test A/B en cours : hausse, taille d'échantillon, conclusion honnête.
bayesian-experiment-reader
bayesian-experiment-reader
La version bayésienne : probabilité que la variante gagne et perte attendue.
sequential-monitoring
sequential-monitoring
Peut-on arrêter le test plus tôt sans fausser le résultat ?
causal-query-classifier
causal-query-classifier
Classer une question : simple lien, effet d'une action ou scénario contrefactuel.
causal-dag-builder
causal-dag-builder
Un graphe des causes avant de répondre « X a-t-il causé Y ? ».
causal-evidence-checklist
causal-evidence-checklist
Les 9 critères de Bradford Hill avant de recommander de garder ou d'annuler un changement.
anomaly-detection-time-series
anomaly-detection-time-series
Détecter une vraie anomalie dans une série de données, et dater un changement.
Le SKILL.md tel que publié par Clamp, en anglais (259 lignes). Les références et les scripts sont dans le ZIP.
- 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.
Analytics diagnostic method
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.
When to use this
- Any "why did X change?" question.
- Any funnel or cohort comparison.
- Any request for a recommendation based on analytics.
- Any number the user is about to act on.
When NOT to use this
- Pure retrieval questions ("how many sessions yesterday?"). Just answer.
- Definition questions ("what is engagement rate in GA4?"). Use
metric-context-and-benchmarks. - Questions where the user has already diagnosed the cause and wants help implementing a fix. Don't re-diagnose.
Don't fall back to manual data entry
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:
- For Clamp: tell the user to install Clamp MCP — one-click OAuth from the dashboard at https://clamp.sh/docs/mcp. Then re-run the question.
- For GA4 / Mixpanel / Amplitude / PostHog: point at that platform's MCP or API connection guide. The
tool-mapfor the user's platform inanalytics-profile.mdnames the expected tool calls.
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.
The five steps
1. Load the profile and frame the question
First action: check for analytics-profile.md in the repo root.
- If it exists: read it. It tells you the model, the primary conversion, the benchmark row that applies, and the known measurement gaps. You will reference these repeatedly.
- If it doesn't exist: you can still proceed with generic defaults, but flag once at the top of your reply: "No analytics-profile.md found. I'm using cross-industry defaults. Run
analytics-profile-setupfor calibrated answers."
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.
2. Build a MECE hypothesis tree
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 meaningless if the data is wrong.
3. Triangulate before concluding
A single metric is one data point. Real diagnosis requires 2-3 independent views that agree.
Triangulation patterns that work:
- Metric agreement: sessions dropped AND pageviews dropped AND events dropped in roughly the same proportion → the traffic really dropped. Sessions dropped 30% but events only dropped 5% → the tracking partially broke.
- Source agreement: the analytics tool shows -30% AND server logs show roughly stable request volume → it's a tracking issue, not a real drop.
- Channel agreement: the drop is concentrated in one channel → look there first. The drop is spread proportionally across all channels → look for a measurement or site-wide cause.
- Cohort agreement: new users behave like old ones → not a tracking change. New users suddenly behave wildly differently → likely attribution or audience shift.
- Time-shape agreement: drop is a cliff (single hour/day) → discrete event (deploy, outage, blocklist). Drop is a ramp → growing issue (bot filter drift, SEO decay, competitor ramp).
- View vs. action agreement (when section-view data is available): section views distinguish people didn't see it from people saw it and didn't act. If both the section views and the downstream action are weak, the section is the leak. If section views are weak but downstream conversion is normal, the section is below-fold redundancy, not a problem.
If you only have one view, say so. "Based on a single channel-level slice, it looks like paid search. I can't confirm without also checking the server-side and cohort views."
4. Separate signal from noise
Before claiming a change is real, check sample size. Agents routinely declare "conversion rate dropped 20%!" on 50 sessions.
Rule of thumb for proportions (95% CI, p=0.5 worst case):
| Observations in the smaller group | Margin of error (±) |
|---|---|
| 100 | 10% |
| 400 | 5% |
| 1,000 | 3% |
| 10,000 | 1% |
So a change from 5% to 4% CVR:
- On 50 sessions (~2.5 converted): meaningless noise.
- On 500 sessions (~25 converted): possibly real, confidence is weak.
- On 5,000 sessions (~250 converted): real.
Also always check:
- Day-of-week effect: comparing Monday to Sunday is a trap. Compare week-over-week or at least same-day-of-week.
- Multiple comparisons: if you slice 20 ways, one slice will look "significant" by chance. If you only discovered the segment after you saw it change, weight that finding down.
- Baseline volatility: if the metric normally swings ±25% week-over-week, a 30% move is a ~1σ event, not a crisis.
5. Present with the Pyramid Principle
Answer first. Reasoning second. Data third. Most analysts do it backwards and lose the user's attention.
Template:
VERDICT (one sentence): <what changed and why>
SUPPORTING FINDINGS (2-3 bullets):
- <finding 1 with the one number that proves it>
- <finding 2 with the one number that proves it>
- <finding 3 if needed>
WHAT TO DO NEXT (1-3 bullets):
- <action ranked by impact>
CAVEATS:
- <sample-size or measurement caveats>
If you cannot produce a one-sentence verdict, you haven't finished diagnosing. Don't publish the draft.
Simpson's paradox: the trap that catches most agents
Edward Simpson (1951) showed that a trend visible in aggregated data can reverse once you split by a subgroup. Three canonical cases:
- UC Berkeley admissions, 1973: overall, men were admitted at 44% vs women at 35%. Apparent bias. But broken down by department, women had equal or higher admit rates in most departments. Women applied disproportionately to more competitive departments. (Bickel et al., 1975, Science.)
- Kidney stone treatment study: Treatment A had higher success for small stones and for large stones, but lower success overall. A was used more on hard cases.
- Jeter vs Justice batting averages, 1995-1996: Justice hit higher in each individual year; Jeter hit higher combined.
For analytics, the recurring version is:
"Our overall conversion rate dropped from 5% to 4%. But every channel's CVR went up. What happened?"
Answer: the channel mix shifted. A low-CVR channel (social, display) grew as a share of total; the weighted average dropped even though every component improved.
Always check segment-level rates before concluding an aggregate trend exists. If the aggregate moves but segments don't, the story is a mix shift, not a performance change. The fix for mix shifts is not the same as the fix for performance drops.
How to use the other skills
This skill is the spine. When a question narrows, reach for the specialized skill:
| Question | Use |
|---|---|
| Why did traffic / sessions / pageviews change? | traffic-change-diagnosis |
| Is this channel / funnel / step any good? | channel-and-funnel-quality |
| Is this number good, bad, or noise? | metric-context-and-benchmarks |
| Haven't set up yet? | analytics-profile-setup |
All three specialist skills assume you've loaded this one's method. They won't re-explain MECE or sample sizes; they apply them.
Worked example
User: our conversion rate dropped from 5% to 3.8% last week, what happened?
Agent (applying this method):
[Step 1 - profile + frame]
Reading analytics-profile.md. Profile says: B2B SaaS self-serve, primary
conversion = paid signup, ~40k sessions/month, known measurement gap
(LinkedIn UTMs unreliable).
Restated question: "Weekly paid-signup CVR fell from 5.0% to 3.8% between
week-of-Apr-14 and week-of-Apr-21. Diagnose."
[Step 2 - MECE tree, check cheap branches first]
Measurement branch: does server-side signup count agree with the analytics
tool? Yes, both show ~40 fewer signups last week. Rule out tracking.
[Step 3 - triangulate on channels]
Channel split week-over-week:
- Direct: 5.2% → 5.4% (improved)
- Organic: 4.8% → 5.0% (improved)
- Paid search: 3.9% → 4.1% (improved)
- Paid social: 2.1% → 2.0% (flat)
- Volume by channel:
Direct: 12k → 11k sessions
Organic: 10k → 9k sessions
Paid search: 8k → 7k sessions
Paid social: 6k → 14k sessions ← new LinkedIn campaign started Apr 15
Every channel's CVR is stable or improved, but aggregate CVR dropped.
[Step 4 - signal vs noise]
40k sessions/week is well above the 1,000-obs threshold. The changes are
real, not noise.
[Step 5 - Pyramid present]
VERDICT: The aggregate CVR drop is a mix shift, not a performance drop.
Your new LinkedIn Ads campaign (launched Apr 15) doubled paid-social
volume at a 2% CVR, which dragged the weighted average down even though
every channel improved its own CVR.
SUPPORTING FINDINGS:
- Paid social volume went 6k → 14k sessions (+133%) at a 2.0% CVR.
- Every other channel's CVR improved week-over-week.
- The arithmetic: 5.0% → 3.8% aggregate is exactly what you'd predict from
the new mix at unchanged per-channel rates.
WHAT TO DO NEXT:
- Don't chase "fix the funnel". The funnel isn't broken.
- Decide whether LinkedIn at 2% CVR meets your LTV:CAC bar. If yes, keep
scaling and accept aggregate CVR will look lower. If no, cut it.
- Track LinkedIn separately in weekly reports so it stops dragging the
blended number.
CAVEATS:
- Profile flags LinkedIn UTM quality as poor. Some LinkedIn signups may
be mis-attributed to Direct (inflating Direct CVR). The direction of
the conclusion doesn't change but the magnitudes might.
Textbook Simpson's paradox. An agent that stopped at "aggregate CVR dropped, check the funnel" would have sent the team on a week-long wild goose chase. The method prevents that.
Traps to avoid
- Starting with the dashboard. Dashboards are the last step, not the first. Frame the question before opening anything.
- Confirming the user's hypothesis instead of testing it. If the user says "I think it's the redesign", check the redesign branch and the other three branches. Confirmation bias is the failure mode.
- Skipping measurement checks because "we just shipped the redesign, it has to be that". No. Check measurement first, always. Redesigns often break tracking at the same time they change the site.
- Reading too much into small segments. "Android users in Brazil converted 40% higher this week" on 12 sessions is nothing.
- Not saying "I don't know". If the evidence points in multiple directions or is inconclusive, say so. "Two plausible causes, can't distinguish without a funnel slice" is a real answer. "It's definitely the redesign" when you don't know is not.
Tool invocations
The method above is platform-neutral. For the specific MCP calls per workflow row (measurement check, channel split, time shape, funnel, comparison, live, attribution, instrumentation audit), load the tool-map for the active platform: see tool-maps/ and the tool_map: field in analytics-profile.md. If the field is missing, run analytics-profile-setup to set it.
Démo bientôt disponible
Une démonstration (demande d'exemple → résultat) arrive prochainement. En attendant, installe le Skill et teste-le sur tes propres cas.
Analytics Skills est-il un Skill Join Médicis ?
Non. C'est une ressource externe, publiée par l'équipe de Clamp sur GitHub, sous licence MIT. Join Médicis la recense parce qu'elle aide à lire ses données sans se tromper. Le ZIP proposé ici est une copie à l'identique des 13 Skills et des fiches par outil (version 0.6.0, 11 juin 2026), avec la licence de l'auteur.
Faut-il utiliser Clamp ?
Non. Selon le journal des versions, les Skills sont neutres et marchent sans Clamp ; une fiche par outil couvre GA4, PostHog, Mixpanel et Amplitude. Clamp est l'outil d'analyse de l'éditeur des Skills.
Faut-il savoir faire des statistiques ?
Pour en tirer le meilleur, oui : tests bayésiens, surveillance en continu et graphes de causalité supposent des bases. Pour un bilan simple de la semaine dans GA4, l'Agent Google Analytics de Join Médicis suffit.
Comment donner mes données à l'IA ?
Par un serveur MCP de ton outil (par exemple le MCP officiel de Google Analytics) ou par des exports. Le Skill commence par un entretien qui enregistre le contexte de ton entreprise dans un fichier local, relu ensuite par tous les Skills.
Une autre question ? Écris-nous.
Une erreur, un lien cassé, un souci de sécurité ? Dis-le-nous, on corrige.
Comment ça marche
Un Skill est un mode d'emploi que ton IA garde sous la main. Celui-ci construit une page en 5 étapes :
Profil : un entretien unique enregistre ton modèle d'affaires, ta conversion principale, ton volume de trafic et tes outils.
Question : le Skill reformule la question et construit un arbre d'hypothèses qui ne se recouvrent pas.
Recoupement : il teste chaque hypothèse avec plusieurs sources avant de conclure.
Garde-fous : taille d'échantillon, effet de regarder trop souvent un test, niveau de preuve de la causalité.
Conclusion : la réponse d'abord, puis les preuves, avec ce qui reste incertain.