Logo von Experimentation

Experimentation

Community
nahid-sparktales
experimentation

Design an A/B test that can answer its question — hypothesis, randomization unit, power, duration, pre-registered analysis — and read the result honestly, including a null. Use when someone proposes testing a change, asks how long a test must run or whether a result is real, when a test is about to be stopped early, or when a flat result is being read as "no difference". Not for defining the metric itself (product-analytics), not for a change too small or too rare to power, and not for authorizing a rollout.

Übersicht

Herausgebernahid-sparktales
Repositoryagent-dispatcher
Skill-Nameexperimentation
Sterne
58
Forks
5
Mitgelieferte Dateien
1
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 1

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von nahid-sparktales auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Experimentation in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/product/experimentation
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/product/experimentation .claude/skills/experimentation
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Experimentation in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Experimentation automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Experimentation nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Experimentation

Most experiments fail before they launch: an unmeasurable hypothesis, a unit that leaks between arms, or a sample that was never going to detect the effect anyone cared about. Reading results is the short part. The design is where the answer is won or lost.

When this fires

A change is about to be tested, a running test is about to be read or stopped, or a result is being turned into a decision. It also fires as a refusal: when the traffic cannot support a test worth running, saying that early is the valuable output.

Five states, not one

  • Designed — hypothesis, unit, primary metric, power and duration written down.
  • Launched — assignment is live and exposures are being logged.
  • Read — analysed at the pre-registered time, after sanity checks pass.
  • Conclusive — the result distinguishes the hypothesis from its absence at the stated power.
  • Shipped — a human decided to roll it out. Never a consequence of the other four.

Procedure

  1. Write a falsifiable hypothesis with a direction and a size. "Moving the plan selector above the fold will increase trial starts by at least 5% relative, because users currently scroll past it." Without a size there is no power calculation, and without that there is no experiment — only a period of waiting.
  2. Choose one primary metric, before any data exists. One. Add guardrails (the metrics that must not degrade) and secondaries (interesting, never decisive). If the primary metric is not already defined to the standard of product-analytics, define it first — an experiment on a vague metric produces a vague result at full cost.
  3. Pick the randomization unit so that interference stays inside an arm. User or account for anything with memory across sessions; session-level assignment gives a user both arms and smears the effect. If users interact with each other or share a workspace, the unit is the group, not the person. State the unit and the reason.
  4. Make the analysis unit match the randomization unit. Randomize by user, analyse by user. Analysing per-event data from user-randomized arms understates the variance and manufactures significance.
  5. Compute the sample size from the baseline rate and the minimum effect worth acting on, using the standard two-proportion (or two-sample mean) sample-size calculation, per arm, at the significance and power you state — conventionally 5% and 80%, said out loud, not assumed. Then convert to duration with the real traffic reaching that surface, not total site traffic.
  6. Sanity-check the duration before committing. Run whole weeks, at least one full business cycle, so day-of-week mix is balanced. If the required duration is longer than anyone will wait, the honest moves are: raise the minimum detectable effect, pick a surface with more traffic, test a bolder version of the change, or decide without an experiment. Running it anyway underpowered is the one option that produces a confident wrong answer.
  7. Pre-register the analysis and write it down before launch: primary metric, guardrails, unit, arms and split, start and planned end date, the segments you are permitted to cut, and what each outcome means for the decision. This document is what makes a later null result credible.
  8. Before reading anything, run the sanity checks. Sample ratio mismatch — the observed split against the intended split, tested rather than eyeballed; a mismatch invalidates the comparison and is a bug, not a result. Then: exposures logged in both arms, no other experiment or launch overlapping the same surface, no outage or campaign inside the window.
  9. Read at the pre-registered time. Peeking and stopping on a good day inflates the false positive rate badly. If you need to look early, that decision belongs at step 7 as a sequential or group-sequential design with its own thresholds — not as an improvisation at step 9.
  10. Report the effect with its confidence interval, in both relative and absolute terms, plus the guardrails. A point estimate alone hides everything that matters about certainty.
  11. Be precise about a null. A flat result is not "no difference". It is: the data are consistent with effects between the interval's bounds, and the test was powered to detect an effect of at least the MDE. Say which. A wide interval means the experiment was uninformative — a different statement from "the change did nothing", and a more useful one.
  12. Treat post-hoc segments as hypothesis generation only. A subgroup that "won" in a test designed for the whole population is a candidate for the next experiment, never a conclusion, and never a reason to ship to that subgroup.
  13. Stop and ask before rolling out, ramping, or ending a test early. Producing the result is this procedure's job; changing what users get is a decision with an owner who is not you. Say what the data support and hand it over.

Checklist

  • Hypothesis states direction, size and mechanism
  • One primary metric, fixed before data; guardrails named
  • Randomization unit stated, with interference argued
  • Analysis unit matches the randomization unit
  • Sample size per arm computed from baseline, MDE, significance and power — all stated
  • Duration derived from real traffic, in whole weeks
  • Analysis pre-registered in writing before launch
  • Sample ratio checked; exposures present in both arms; no overlapping change in the window
  • Result read at the pre-registered time, with confidence intervals
  • A null result reported as "could not detect an effect larger than X", not "no difference"
  • Rollout proposed to a human, not performed

Failure handling

  • Sample ratio mismatch — stop analysing. Something in assignment, exposure logging or filtering is broken; any effect measured through it is uninterpretable. Report it as a bug.
  • A guardrail moved against you while the primary won — that is the result, both halves of it. Do not report the win alone.
  • A secondary metric moved and the primary did not — a new hypothesis, not a finding. Say so plainly; this is the most common way a dead experiment gets resurrected as a claim.
  • The test was stopped early — say when and why, and treat the p-value as optimistic. If the early stop was for harm, that decision stands; the statistics just do not transfer.
  • An overlapping launch, outage or campaign landed inside the window — name it, say which direction it plausibly biases, and do not quietly report the number as clean.
  • Traffic cannot power the test — return that as the answer, with the numbers: baseline rate, weekly eligible traffic, detectable effect at the maximum acceptable duration. A well-argued "this cannot be tested here, decide another way" is a complete deliverable.

Evidence to report

The pre-registration as written before launch. The power calculation with its inputs visible — baseline rate, MDE, significance, power, resulting sample per arm, traffic, duration. The sample ratio check as observed-versus-expected counts. The primary metric with its confidence interval, relative and absolute, and every guardrail. The exact window analysed and anything known to have happened inside it. And, for a null, the effect size the test could not have ruled out.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Experimentation?

Design an A/B test that can answer its question — hypothesis, randomization unit, power, duration, pre-registered analysis — and read the result honestly, including a null. Use when someone proposes testing a change, asks how long a test must run or whether a result is real, when a test is about to be stopped early, or when a flat result is being read as "no difference". Not for defining the metric itself (product-analytics), not for a change too small or too rare to power, and not for authorizing a rollout.

Warum Experimentation in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Experimentation besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Experimentation in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/product/experimentation ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Experimentation nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Experimentation verwenden?

So viele Sie möchten. In TypingMind können Sie Experimentation mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Experimentation kostenlos?

Ja. Der Skill wird von nahid-sparktales auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇