/devils-analyst:evidence-checkfrom devils-analyst
Checks statistical evidence before declaring a winner or making decisions from A/B tests, experiments, and business metrics. Evaluates sample ratio, significance, power, and common pitfalls like novelty effects and Simpson's paradox.
Ships in devils-analyst. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A correct number can still support the wrong decision. Before a verdict ("B won", "the rewrite worked", "double the budget", "cut YouTube", "SEO broke"), run the checks that apply. Compute each in code. Write the verdict as supported, not supported, or inconclusive, with the number that decides it.
Run these in order; stop at the first that fails.
sum((obs - exp)^2 / exp); above 10.8 means p < 0.001). A mismatch means
assignment or logging is broken: the result cannot be trusted, whatever its
p-value. Investigate before shipping.p = (x1 + x2) / (n1 + n2), se = sqrt(p(1-p)(1/n1 + 1/n2)),
z = (p2 - p1) / se, two-sided p-value = erfc(|z| / sqrt(2)). 95%
confidence interval for the difference: (p2 - p1) ± 1.96 * sqrt(p1(1-p1)/n1 + p2(1-p2)/n2). Report the lift with its p-value and its
interval, not the lift alone. Judge a finished test on these two numbers:
mde ≈ 2.8 * sqrt(2 p (1-p) / n) per arm (absolute). Users
needed per arm to detect an absolute lift d: n ≈ 16 p (1-p) / d^2. Use
it to say whether the test was big enough to find the effect that matters,
and, for an inconclusive test, how many users a real answer needs.A before/after difference is not an effect until a comparison rules out what would have happened anyway:
Platform ROAS counts people who would have bought anyway. When the data allows it, measure what spend added:
pricing-promotions skill.Verdict: [supported / not supported / inconclusive]: [claim]
Deciding number: [the check that decides it, e.g. "SRM chi-square 250, p < 0.001"]
What the naive read says and why it is wrong: [one line]
What to do: [action] · How to get a real answer: [test, sample size, data needed]
Keep the arithmetic in the report (a short table of the check), so the reader can redo it.
Every move above has a challenger. Run the attack, settle it with the check, and act on a failure before moving on.
| Move | Adversary asks | Check that settles it | If it fails |
|---|---|---|---|
| Call a test | "Is the split what was planned, is the lift beyond chance, and what does the interval rule out?" | SRM, p-value and confidence interval computed; MDE checked against the planned size | verdict inconclusive or untrustworthy; a significant lift below the planned MDE is reported with its interval and a caution |
| Credit a change | "What would have happened anyway?" | a control group, last year, or untouched equally extreme units | difference in differences, or no claim |
| Pick a winner | "Does it win inside each segment and at a common mix?" | per-segment and standardised rates | report the within-segment result |
| Credit spend | "Would these buyers have bought anyway?" | holdout, pause test or baseline | report incremental, not attributed |
| Cut a channel | "Does a second attribution model, or a holdout, agree?" | credit under two models | propose a holdout before cutting |
Score and probe before handing over. First the gate: every check in the table above passed; if one did not, fix it before scoring. Then score the draft 0-100 on four dimensions: clarity (unambiguous, easy to follow), relevance (answers the question asked, for this reader), depth (explains the why with numbers, not only the what) and insightfulness (says something the reader did not already know, and what to do about it). If any score is below 80, write the probe question that would raise it, answer it from the data, revise, and score again (two loops at most). The question and the decision belong to the person asking: when either is unclear, ask instead of assuming.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub c-kapsalis/devils-analyst --plugin devils-analyst16 skills in this plugin
/auditUse this skill when someone wants a whole marketing setup or account checked, not one report: "audit our Google Ads account", "audit my GA4 setup", "audit our tracking", "health check our email program", "what's broken in our setup", "where are we wasting money", "we just took over this account, what should we fix first", "is our Meta / Performance Max set up right", "check our UTMs", "audit our Search Console", "audit our CRM or lifecycle program", "check our Power BI model", "review this TMDL / semantic model", or an account, settings or model export with "what's wrong with it". It maps the setup, runs the checks for each area present (paid search, Performance Max, Meta, GA4 and UTMs, Search Console, email, CRM, revenue, experiments, attribution, dashboards, Power BI), estimates the money at stake, ranks findings Must fix, Should fix, Nice to have and ends "Fix N first". One report or deck: use review. Whether a single channel pays: use channel-audit./brand-healthUse this skill when the question is about the brand rather than one campaign: "is our brand getting stronger or weaker", "is our brand healthy", awareness, consideration or preference from a tracker or survey, brand search volume, direct traffic as a brand signal, share of voice or share of search, social mentions and sentiment, "are promotions hurting the brand", baseline sales, price premium or "can we raise prices", "should we cut brand ads and put it into performance", a flat brand score, NPS up but repeat purchase down, "should we launch [product] under our brand", line or category extension, sub-brand, repositioning, rebrand, "milk or kill this brand", brand valuation, and whether content is on-brand. It measures brand health from the data, separates short-term sales from long-term equity, checks per segment, and turns the result into a decision with a way to verify it.Other plugins' skills for the same job