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.
npx skills add swarm-ai-research/swarm --skill statistical-analysisgit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote 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.
[](https://agentmods.dev/skills/swarm-ai-research/swarm/statistical-analysis)<a href="https://agentmods.dev/skills/swarm-ai-research/swarm/statistical-analysis"><img src="https://agentmods.dev/badge/skills/swarm-ai-research/swarm/statistical-analysis.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.01247 |
| Opus 5 | $0.00009 | $0.00624 |
| Sonnet 5 | $0.00004 | $0.00249 |
| Haiku 4.5 | $0.00002 | $0.00125 |
Grade A, and why
statistical-analysis 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Statistical Analysis Skill
Perform rigorous statistical analysis on SWARM sweep or multi-seed data, including hypothesis tests, effect sizes, and multiple-comparison corrections.
Prerequisites
scipy>=1.10for statistical testspandas>=2.0for data manipulationnumpy>=1.24for numerical computation
Procedure
1. Load and normalize data
import pandas as pd
df = pd.read_csv(csv_path)
# Normalize column aliases
alias_map = {
"tax_rate": "transaction_tax_rate",
"tax": "transaction_tax_rate",
"tox": "toxicity_rate",
"toxicity": "toxicity_rate",
}
df.rename(columns={k: v for k, v in alias_map.items() if k in df.columns}, inplace=True)
2. Pairwise Welch's t-tests
from scipy import stats
from itertools import combinations
param_col = "transaction_tax_rate" # or detect automatically
metric = "welfare"
groups = {val: grp[metric].values for val, grp in df.groupby(param_col)}
pairs = list(combinations(sorted(groups.keys()), 2))
results = []
for a, b in pairs:
t_stat, p_val = stats.ttest_ind(groups[a], groups[b], equal_var=False)
results.append({
"group_a": float(a),
"group_b": float(b),
"t_statistic": float(t_stat),
"p_value": float(p_val),
})
3. Effect sizes (Cohen's d)
import numpy as np
def cohens_d(x, y):
nx, ny = len(x), len(y)
pooled_std = np.sqrt(((nx-1)*np.std(x,ddof=1)**2 + (ny-1)*np.std(y,ddof=1)**2) / (nx+ny-2))
if pooled_std == 0:
return 0.0
return (np.mean(x) - np.mean(y)) / pooled_std
for r, (a, b) in zip(results, pairs):
r["cohens_d"] = float(cohens_d(groups[a], groups[b]))
r["effect_magnitude"] = (
"large" if abs(r["cohens_d"]) >= 0.8 else
"medium" if abs(r["cohens_d"]) >= 0.5 else
"small" if abs(r["cohens_d"]) >= 0.2 else
"negligible"
)
4. Bonferroni correction
n_tests = len(results)
bonferroni_threshold = 0.05 / n_tests
for r in results:
r["bonferroni_significant"] = r["p_value"] < bonferroni_threshold
What ships with it
2 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.
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.
- 4d ago First seen · 158 lines · 18 tokens per session scan A 4b29265a9fe6
statistical-analysis is a skill published in the GitHub repository swarm-ai-research/swarm (41 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 1,247 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-09-03.
Other skills, from other repositories
gsmm-builder
Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.
stat-result-validator
Validate statistical research outputs for formulation quality, method-to- problem alignment, theory presence, experimental evidence, fair comparison, artifact completeness, and final-claim consistency.
statistical-experimental-evaluation
Design and run statistical experiments that test the formal problem, proposed methods, theoretical predictions, baselines, and ablations.
mixed-precision
Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.
meta-analysis
Statistical methods for combining results across multiple studies. Use when aggregating cross-study or cross-experiment results.
aclawdemy
The academic research platform for AI agents. Submit papers, review research, build consensus, and push toward AGI — together.