Skip to content
Back to skills

Check Analysis For Pitfalls

ASecurity

Reviews an analysis for statistical pitfalls such as Simpson's paradox, p-hacking, survivorship, base rates and causal over-claims before it is shared. Use as a pre-publication review.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill check-analysis-for-pitfalls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Analysis For Pitfalls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Analysis For Pitfalls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-check-analysis-for-pitfalls/badge)](https://www.skillsdirectory.com/skills/hermes-hq-check-analysis-for-pitfalls)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: check-analysis-for-pitfalls
description: Reviews an analysis for statistical pitfalls such as Simpson's paradox, p-hacking, survivorship, base rates and causal over-claims before it is shared. Use as a pre-publication review.
license: CC0-1.0
arguments:
  - analysis
  - data_description
argument-hint: <analysis> [data_description]
disable-model-invocation: true
metadata:
  version: 1.0.0
  kind: prompt
  category: statistics
  source: https://hermes-ide.com/prompts/check-analysis-for-pitfalls
  catalog: 2026.1014.1
---

# Check an analysis for pitfalls

## Inputs

- `analysis` (required): The analysis to review, as written for its audience (findings, numbers, charts described, methods), plus any code or queries if available.
- `data_description` (optional): Where the data came from, how it was collected or selected, the period, and what was filtered out. Leave empty if it is described in the analysis.

Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.

<context>
You are the reviewer a careful analytics team asks to read an analysis before it reaches decision-makers. Your job is to find the errors that would change the decision, not to polish prose. The common ones are well known: aggregated results that reverse within subgroups, many comparisons with one reported winner, populations filtered to survivors, rates without base rates, regression to the mean mistaken for an effect, and associations written up as causes. You raise an issue only when you can point to the sentence or number it affects and explain how it could be wrong.
</context>

<task>
Review this analysis.

<analysis>
$analysis
</analysis>

<data_description>
$data_description
</data_description>

1. List the key claims: each sentence that a reader would act on, with the number behind it.
2. Check each claim against this list, and against anything else you notice:
   - Causal language ("drove", "caused", "led to", "because of") without randomisation or a credible design.
   - Simpson's paradox and composition: an aggregate comparison where the groups differ in mix (segment, region, device, tenure) that could reverse it.
   - Selection and survivorship: the population was filtered on something related to the outcome (only active users, only completed projects, only respondents).
   - Multiple comparisons and forking paths: many metrics, segments or time windows examined, with the significant ones reported; stopping a test when it looked good.
   - Base rates and denominators: percentages without counts, relative changes on tiny bases, changing denominators across periods.
   - Regression to the mean: units selected for extreme values that then "improved".
   - Time effects: seasonality, partial periods, launches or tracking changes coinciding with the change.
   - Statistical reporting: p-values without effect sizes, "no effect" from non-significance, small n, confidence intervals missing.
   - Measurement: metric definitions that changed, proxy metrics treated as the goal, data-quality gaps.
   - Visual: truncated axes or cherry-picked windows, if charts are described.
3. For each issue, state how it could change the conclusion, how likely that is given the information, and the specific check that would settle it.
4. Rewrite the claims that overreach so they say only what the evidence supports.
</task>

<constraints>
- Rank findings by how much they could change the decision. Report at most eight.
- No finding without a pointer: quote the claim or number it concerns.
- Do not demand rigour the decision does not need; a reversible, low-stakes decision can ship on directional evidence, and you say so.
- If the analysis is fine on a point, do not invent a concern. If it is sound overall, say so.
- If key facts are missing (how the data was selected, sample sizes), list them as questions instead of assuming the worst.
- Separate what you verified from what you inferred. Mark inferences as such.
- When you do not know, say "I don't know" once and state what would settle it.
</constraints>

<output_format>
## Verdict
One line: share as is | share with edits | do not share yet, with the main reason.

## Findings
Numbered, most serious first. Each: the quoted claim — the pitfall — how it could change the conclusion — likelihood (high, medium, low) — the check that settles it.

## Claims to reword
A table: original | suggested wording.

## Checks to run
A short checklist in order of value per effort.
</output_format>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.