diagnosing-experiment-results

diagnosing-experiment-results is a skill for Claude Code from PostHog/ai-plugin. It costs 208 tokens per session (3,197 once invoked), scanned A, original, no licence file.

A troubleshooting guide for unusual or unreliable results in a PostHog experiment. An experiment compares different versions of a product to measure their effects.

In plain words
What is it for?
Use it to investigate empty experiments, sample ratio mismatch, identity fragmentation, multiple-variant exposure, peeking at results too early, A/A tests, and differences between PostHog and SQL results.
Why use it?
It helps detect issues such as missing exposure data, people being counted more than once, uneven groups, and misleading significance results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the posthog plugin — 164 skills, 3 commands, 1 agent, 2 hooks, 1 MCP server shipped together

Good fit Use it to investigate empty experiments, sample ratio mismatch, identity fragmentation, multiple-variant exposure, peeking at results too early, A/A tests, and differences between PostHog and SQL results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/ai-plugin/diagnosing-experiment-results
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.

Any agent
npx skills add PostHog/ai-plugin --skill diagnosing-experiment-results
Clone the repo
git clone --depth 1 https://github.com/PostHog/ai-plugin

Made for: Claude Code.

Or install posthog, the plugin that ships this one along with the rest of its 164 skills, 3 commands, 1 agent, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnosing-experiment-results

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/ai-plugin/diagnosing-experiment-results.svg)](https://agentmods.dev/skills/posthog/ai-plugin/diagnosing-experiment-results)
Your own site
<a href="https://agentmods.dev/skills/posthog/ai-plugin/diagnosing-experiment-results"><img src="https://agentmods.dev/badge/skills/posthog/ai-plugin/diagnosing-experiment-results.svg" alt="Measured on agentmods" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.1 $0.00208 $0.03197
Opus 5 $0.00104 $0.01598
Sonnet 5 $0.00042 $0.00639
Haiku 4.5 $0.00021 $0.00320

Measured 2d ago against content hash c5ae4b7bfe92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

diagnosing-experiment-results 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.

skills/diagnosing-experiment-results/SKILL.md · 202 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +28 lines · +2 tokens per session c5ae4b7bfe92
  2. 8d ago First seen · 174 lines · 206 tokens per session scan A 0914903c33eb

Subscribe to this mod's changes

diagnosing-experiment-results is a skill published in the GitHub repository PostHog/ai-plugin (80 stars, last pushed today), with no licence file. It adds 208 tokens to every session and 3,197 once invoked, about $0.0010 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-30.

Related

Other skills, from other repositories

postmortem

Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.

SethGammon/Citadel · 58 tokens

systematic-debugging

4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.

SethGammon/Citadel · 45 tokens

zapier-status

Check the health of your Zapier MCP setup. Three modes — health check (dashboard view), audit (find waste and duplicates), diagnose (systematic troubleshooting). Use when asking "is my MCP working?", "check my tools", "audit my setup", "what's broken?", or "zapier status".

zapier/zapier-mcp · 66 tokens

domscribe

Work with Domscribe — the pixel-to-code bridge. Use when setting up, initializing, or configuring Domscribe for a project, OR when editing or modifying UI components (React, Vue, Next.js, Nuxt), implementing features from captured UI annotations, querying runtime context for source locations, exploring component…

patchorbit/domscribe · 94 tokens

logic-review

Find logic bugs in a single file or function via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy). Trigger when a user shares code and suspects something is wrong without naming a concrete failure — phrases like "review this", "does this look right", "check this function", "audit this…

hyhmrright/logic-lens · 161 tokens

logic-fix-all

Autonomous repository-wide audit-and-fix pipeline: health → review → locate/explain → fix → diff-verify → iterate until clean. Starts with a mandatory consent prompt (token-intensive); after consent runs hands-free. Trigger when the user wants ALL logic issues found and fixed — "fix everything", "fix all logic…

hyhmrright/logic-lens · 211 tokens