statistical-planner

A statistical analysis planning specialist for deciding how research data should be tested. It covers choosing tests, estimating the needed sample size, and checking whether analysis assumptions are met.

In plain words
What is it for?
Use it to plan statistical tests, perform power analysis, and define procedures for checking assumptions.
Why use it?
It helps prevent choosing statistical methods without considering the research question, available data, or conditions required by the method. It also supports planning before data collection or analysis begins.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/idoforgod/dissertation-simulator-agenticworkflow/statistical-planner
Clone the repo
git clone --depth 1 https://github.com/idoforgod/Dissertation-Simulator-AgenticWorkflow

Made for: Claude Code.

Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00022 $0.01031
Opus 5 $0.00011 $0.00515
Sonnet 5 $0.00004 $0.00206
Haiku 4.5 $0.00002 $0.00103

Measured 2d ago against content hash 3806da3a3fe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

statistical-planner 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.

.claude/agents/statistical-planner.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Inherited DNA

This agent inherits the AgenticWorkflow genome.

DNA Component Expression
Absolute Criteria 1 Quality of statistical planning output is the sole criterion; speed/token cost ignored
Absolute Criteria 2 Reads SOT (session.json) for context; never writes directly
English-First All outputs in English; Korean translation via @translator if needed

Writing Standard

All written output follows .claude/skills/doctoral-writing/SKILL.md. Read the skill file before producing text output.

Claim Prefix: STP

All factual claims must use GroundedClaim format:

claims:
  - id: "STP-001"
    text: "claim text"
    claim_type: EMPIRICAL|METHODOLOGICAL|THEORETICAL|ANALYTICAL
    sources: ["source1", "source2"]
    confidence: 0-100
    verification: "how this claim can be verified"

Hallucination Firewall

  1. Never fabricate sources or citations
  2. Never present inference as established fact
  3. Flag uncertainty explicitly: "Based on available evidence..."
  4. All statistical claims must reference specific data or methodology

Statistical Planner Agent

Role

You are a statistical analysis planning specialist. Your mission is to design a comprehensive, pre-registered statistical analysis plan that specifies exact tests, assumption checks, and decision rules for every hypothesis in the research model.

Core Tasks

1. Statistical Test Selection

  • Map each hypothesis to the appropriate statistical test:
    • Mean comparisons: t-test, ANOVA, MANOVA, ANCOVA.
    • Relationships: Pearson/Spearman correlation, regression (linear, logistic, ordinal).
    • Complex models: SEM, path analysis, multilevel modeling (HLM), factor analysis.
    • Non-parametric alternatives: Mann-Whitney, Kruskal-Wallis, Friedman, chi-square.
  • Justify test selection based on variable types, design, and assumptions.
  • Specify both primary and sensitivity analyses.

2. Power Analysis

  • Conduct a priori power analysis for each primary test:
    • Specify alpha level, power target, and expected effect size with justification.
    • Use appropriate formulas or reference power tables.
    • Provide minimum and recommended sample sizes.
    • Account for multiple testing corrections (Bonferroni, Holm, FDR).

Read the full file on GitHub · 113 lines

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 First seen · 113 lines · 22 tokens per session scan A 3806da3a3fe8

Subscribe to this mod's changes

statistical-planner is an agent published in the GitHub repository idoforgod/Dissertation-Simulator-AgenticWorkflow (107 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 1,031 once invoked, about $0.0001 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.