Logo : Monitor Experiments

Monitor Experiments

Organisation
amplitude
monitor-experiments

Surveille toutes les expérimentations actives et récemment terminées dans les projets Amplitude, les hiérarchise par importance, puis réalise une analyse approfondie et un rapport sur les plus déterminantes. À utiliser lorsque l’utilisateur demande de « vérifier les expérimentations », leur « état », une « revue des expérimentations », « quelles expérimentations sont en cours » ou souhaite un rapport périodique sur leur état de santé.

Add to TypingMind

Présentation

Éditeuramplitude
Dépôtmcp-marketplace
Nom de la compétencemonitor-experiments
Étoiles
47
Forks
12
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par amplitude sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Monitor Experiments dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/monitor-experiments
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude/skills/monitor-experiments .claude/skills/monitor-experiments
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Monitor Experiments dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Monitor Experiments dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Monitor Experiments n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Experiment Monitor & Report Generator

Scan active and recently completed experiments, surface what needs attention, and report on the ones that matter.

This is a monitoring skill — keep output accessible to non-experts. Avoid statistical jargon (no p-values, no power analysis). For deep-dive analysis of a specific experiment, use the analyze-experiments skill instead.


CRITICAL: Managing Response Sizes

  1. get_experiments: 3-5 IDs max per call. Filter using search results BEFORE fetching.
  2. query_experiment responses are large. Extract only summary objects and validity flags. Ignore timeseries, xValues, bulk arrays.
  3. Metric name resolution: search does NOT match metric IDs in queries. Search with entityTypes: ["METRIC"], empty queries, limitPerQuery: 50, scoped to project. Match IDs from results.

Report Structure

The report has two parts:

  1. Summary & Actions (top) — One table + action items. Someone should be able to read just this and know the full picture.
  2. Details (bottom) — Deep-dives on experiments that need attention, briefs on recently decided, one-liners for monitoring experiments, and a needs-setup list.

Do NOT duplicate information between the summary table and the details. The summary table is the single source of truth for the portfolio state. Details expand on specific experiments.


Instructions

Step 1: Context & Discovery

  1. Call Amplitude:get_amplitude_context. If multiple projects, ask which to monitor.
  2. Search for experiments:
Amplitude:search({
  entityTypes: ["EXPERIMENT"],
  appIds: [projectId],
  queries: [],
  sortOrder: "lastModified",
  sortDirection: "DESC",
  limitPerQuery: 50
})
  1. Filtering rules — include experiments that are:
    • Running and not stale: Any experiment in a running state that is NOT marked as stale. Stale experiments have gone idle and should be excluded.
    • Potentially enabled but not started: Keep feature-experiment candidates marked enabled or "Active flag" even when they are not marked Running. If search omits enabled state or analysis dates, fetch their metadata before deciding whether to exclude them.
    • Recently decided: Completed experiments that have a decision recorded AND were modified within the last 14 days. These are worth reviewing to confirm the decision or share learnings.
  2. Exclude: Ordinary drafts, disabled experiments, and stale experiments. First check enabled feature experiments for an unset analysis start date; do not discard these as drafts, non-running, or stale. Standalone release flags and survey/nudge deployments do not require an experiment analysis start date.

Step 2: Fetch Metadata, Metric Names & Primary Results

  1. Call Amplitude:get_experiments in batches of 3-5 IDs (only the filtered set from Step 1).
  2. Extract: state, enabled, experimentStartDate, experimentEndDate, delivery method/type, variants, metric IDs (primary where recommendation=true), decision, owner. Derive duration from the verified analysis start date, never creation or flag-enable time.
  3. Apply the filtering rules from Step 1 again using the detailed metadata. For SDK/feature experiments:
    • Enabled with experimentStartDate: null: State Not started, verdict Needs start. Include under Needs setup with the experiment URL and owner (when available). Explain that flag enablement controls delivery but does not start analysis; direct the user to Start Experiment in the UI.
    • Start date absent or metadata read failed: Report Start unverified / Fix config; re-fetch or surface the read limitation rather than treating it as a running experiment.
    • Future start date: State Scheduled, verdict Monitor. Include under Keep watching with the scheduled date; do not analyze until it starts.
    • Do not infer start from enabled state or traffic, retry enablement to set a date, or invent lifecycle actions absent from the connected tool schema.
  4. Resolve metric names via Amplitude:search({ entityTypes: ["METRIC"], appIds: [projectId], queries: [], limitPerQuery: 50 }). Build { id: name } mapping.
  5. Only for running/recently completed feature experiments with a verified past analysis start date and metrics configured, call Amplitude:query_experiment({ id: "<id>" }) (no metricIds) to get primary metric results and data quality flags. This data feeds both the summary table and the deep-dives.

CRITICAL: Never show raw metric IDs to the user. If a metric name can't be resolved, describe it by its role (e.g., "primary metric", "guardrail metric") — do NOT display strings like "rrgtky08" or "Metric gvgb5efj". Metric IDs are internal identifiers that mean nothing to a human reader.


Step 3: Summary & Actions

This is the top of the report. It should be self-contained — someone reading only this section gets the full picture.

Summary table
## Experiment Monitor: [Project Name]
Date: [Today] | Project: [Name] ([ID])

| Experiment | State | Duration | Lift | Verdict |
|------------|-------|----------|------|---------|

Column definitions:

  • Experiment — Human-readable name (NOT a URL, NOT an ID)
  • State — Running, Completed, Not started, Start unverified, or Scheduled
  • Duration — Days since the verified analysis start; "—" when not started, unverified, or scheduled
  • Lift — Primary metric relative lift if available, "—" if no data or the experiment has not started/is unverified/scheduled. For multi-variant, show range (e.g., "-17% to -20%")
  • Verdict — What to do (see vocabulary below)

Verdict vocabulary:

VerdictWhen to use
ShipSignificant positive primary, guardrails clean, data quality good
IteratePositive signal but guardrail regression or quality concern
MonitorRunning, not yet significant, nothing to act on
AbandonSignificant negative primary, or critical data quality issues
Decided: ShipRecently completed, team decided to ship
Decided: Don't shipRecently completed, team decided not to ship
Fix configQuery error, broken exposure event, or severely imbalanced traffic
Needs startEnabled feature experiment with a null analysis start date — use Start Experiment in the UI
Needs metricsRunning without metrics — can't evaluate
N/ASurvey/nudge deployment, not a feature experiment
Action items (immediately after the table)
**Act now:**
- [Experiment] — [specific action with owner name]

**Keep watching:**
- [Experiment] — [brief status + when to check back]

**Needs setup:**
- [Experiment] — [what's missing + owner name]

Every experiment from the table should appear in exactly one action category. If there are no experiments in a category, omit that category.


Step 4: Details

Below the summary, provide additional detail organized into sections. Each experiment appears in exactly ONE section — no duplication.

4a: Deep-Dives (experiments needing attention)

Deep-dive on experiments with Ship, Iterate, or Abandon verdicts (up to 3). These have significant results worth examining.

For each, output the full report in a single pass:

---
## [Experiment Name]
[State] | [Duration]d | Control: [N] / Treatment: [N] | [Link to experiment]

Data Quality (first — before results):

Check data quality BEFORE reporting metric results. If there are critical issues, the reader needs that context before interpreting any numbers.

If everything passes, one line: "Data quality checks all pass." Then proceed to primary metric.

If issues found, report before the primary metric:

### Data Quality: [N issues found]

SRM (Sample Ratio Mismatch):

  • Use the srmDetected field from the API response
  • If srmDetected: true: always report first and prominently
  • Report: actual split vs. expected split with specific percentages

Traffic allocation changes:

  • Compare the current variant weights against the cumulative exposure distribution
  • If they don't match (e.g., current weights are 100/0/0 but cumulative is 15/70/15), the allocation was changed mid-experiment
  • Flag this prominently — it means some variants may no longer be receiving new traffic

Sample size:

  • <100 per variant: Flag as insufficient — too early for any conclusions
  • 100–1,000 per variant: Directional signals only, not enough for confident decisions
  • 1,000+: Adequate for analysis

Validity flags — only report failures:

FlagWhat it means when it failsSeverity
isVariancePositive = falseMetric data is invalid — statistical tests can't runCritical
isConfidenceIntervalNotFlipped = falseCalculation error in results — don't trust the numbersCritical
isMeanValid = falseMetric values are broken (NaN/infinite) — can't analyzeCritical
statsAssumptionsMetForWholeExperiment = falseStatistical assumptions aren't met — results may be unreliableHigh
hasSuspiciousUplift = trueUnusually large effect — may be a measurement error, not a real changeHigh
isPointEstimateInsideConfidenceInterval = falseInternal math inconsistency — results may be wrongHigh
isStandardErrorLargeEnough = falseToo much noise to get reliable estimatesMedium

If SRM is detected or a Critical flag fails:

⚠️ Results below should be interpreted with caution due to [issue].

Primary Metric:

### [Metric Name]: [Plain-language verdict]

| Variant | Value | Lift | 95% CI |
|---------|-------|------|--------|
| Control | [X] | — | — |
| Treatment | [Y] | [+Z%] | [A% to B%] |

[One sentence plain-language interpretation.]

Framing rules:

  • Do NOT include p-values. Non-experts don't know what they mean.
  • Use "not significant" instead of "no effect." There may be an effect — the experiment just can't detect it at this sample size.
  • Lead with what happened in plain language.

Verdict words:

  • Significant positive — CI entirely above zero, positive lift
  • Significant negative — CI entirely below zero, negative lift
  • Not significant — CI includes zero; we can't confidently say there's a real difference yet
  • Trending positive/negative — Directional signal but CI includes zero; worth watching

Add one sentence on practical significance only if lift is very small (<2%) or very large (>20%).

Guardrails & Secondary Metrics:

Call Amplitude:query_experiment({ id: "<id>", metricIds: [...] }).

Focus on catching regressions, not narrating every metric.

If no significant regressions: "All guardrails and secondary metrics are clean — no significant regressions detected."

If significant regressions found:

- **[Metric Name]:** Significant regression ([−X%], CI: [A% to B%]) — [one sentence on impact]

If large directional regressions (>20% relative lift) that aren't yet significant:

- **[Metric Name]:** Not significant, but directionally negative ([−X%]) — worth watching

Small directional changes that aren't significant should be omitted. If 5+ metrics, note that multiple comparisons increase the chance of false positives.

Feedback (only if primary is significant):

Call Amplitude:get_feedback_insights with experiment-related keywords. Report 2-3 themes in one line each. If no relevant feedback, skip the section.

Verdict:

### Verdict: [SHIP / ITERATE / MONITOR / ABANDON]
1. [Primary metric finding — one sentence]
2. [Quality / guardrail status — one sentence]
3. [What to do next — one sentence]

Decision matrix (internal reference, don't output):

SignalShipIterateMonitorAbandon
PrimarySignificant positive + practicalSignificant positive but guardrail regressionNot yet significant, still runningSignificant negative
QualityAll passMinor flagsAll pass or insufficient dataSRM or critical flags
GuardrailsClean1 regression needs fixingClean or not enough dataSignificant regression on critical metric
Experiment stateCompletedCompletedRunningCompleted or running
4b: Running or Scheduled Experiments (monitoring, no action needed)

For experiments with Monitor verdict, provide a one-line status each. For scheduled experiments, show the scheduled date and link instead of duration, sample sizes, or results.

---
### Running Experiments

**[Name]** — Running [X]d, Control: [N] / Treatment: [N]. [Primary metric status — e.g., "trending positive (+3.3%) but not yet significant"]. Data quality clean. [Link]

**[Name]** — Running [X]d, Control: [N] / Treatment: [N]. Too early for conclusions — [reason, e.g., "sample sizes are 100-1,000 range"]. [Link]

Keep these tight — one line per experiment. Include the link at the end for anyone who wants to check in Amplitude.

4c: Recently Decided (brief summaries)

For experiments with Decided: Ship or Decided: Don't ship verdict:

---
### Recently Decided

- **[Name]** — [Shipped/Rolled back] on [date] after [X] days. [One sentence on outcome or rationale]. [Link]

If the experiment was shipped without metrics or without statistical significance, note that briefly.

4d: Needs Setup

For experiments with Needs start, Fix config, Needs metrics, or N/A verdict:

---
### Needs Setup

- **[Name]** — [Issue description]. Owner: [owner].
- **[Name]** — Survey/nudge deployment, not a feature experiment. No analysis needed.

Each experiment appears in exactly one detail section. Do NOT list an experiment in both the summary table actions AND a detail section with the same information — the detail section expands on the action item, it doesn't repeat it.


Edge Cases

  • No experiments: Report clearly, suggest checking other projects
  • No data (<24hrs): Only say the experiment just started when its analysis start date confirms this. Enabled with a null start date is Needs start, not an experiment waiting to collect data.
  • SRM detected: Lead with this in data quality — it can invalidate everything else
  • 10+ experiments: Summary table for all, deep-dive top 3, offer to analyze more
  • Response too large / saved to disk: Extract summary + validity flags only
  • No metrics configured: List in "Needs Setup" section, don't deep-dive
  • All experiments are stale: Report that there are no active experiments to monitor
  • Query error from query_experiment: Report the error clearly with the experiment owner's name. Flag as "Fix config" in the summary. Common causes: broken exposure event property, misconfigured experiment key.
  • Traffic allocation changed mid-experiment: Flag in data quality. Compare current weights to cumulative exposure distribution. Note which variants are no longer receiving traffic.
  • Survey/nudge experiments (NPS, etc.): Note in summary as N/A. No analysis needed — skip deep-dive.
  • Severely imbalanced traffic (e.g., 5%/95% or 0%/100%): Flag as "Fix config" — can't run a valid experiment without a meaningful control group. Note in needs-setup with owner.

Foire aux questions

À quoi sert la compétence IA Monitor Experiments ?

Surveille toutes les expérimentations actives et récemment terminées dans les projets Amplitude, les hiérarchise par importance, puis réalise une analyse approfondie et un rapport sur les plus déterminantes. À utiliser lorsque l’utilisateur demande de « vérifier les expérimentations », leur « état », une « revue des expérimentations », « quelles expérimentations sont en cours » ou souhaite un rapport périodique sur leur état de santé.

Pourquoi utiliser Monitor Experiments sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Monitor Experiments se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Monitor Experiments dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/monitor-experiments. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Monitor Experiments ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Monitor Experiments ?

Autant que vous le souhaitez. Vous pouvez utiliser Monitor Experiments avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Monitor Experiments est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par amplitude sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇