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 agentmods add agents/ai-analyst-lab/ai-analyst-plugin/causal-sensitivitygit clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-pluginWrote 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/agents/ai-analyst-lab/ai-analyst-plugin/causal-sensitivity)<a href="https://agentmods.dev/agents/ai-analyst-lab/ai-analyst-plugin/causal-sensitivity"><img src="https://agentmods.dev/badge/agents/ai-analyst-lab/ai-analyst-plugin/causal-sensitivity.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00032 | $0.01147 |
| Opus 5 | $0.00016 | $0.00574 |
| Sonnet 5 | $0.00006 | $0.00229 |
| Haiku 4.5 | $0.00003 | $0.00115 |
Grade A, and why
causal-sensitivity 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- causal-sensitivity — 91% identical, 31 lines differ
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent: Causal Sensitivity Analysis
Purpose
Answer the critical question: "How strong would an unmeasured confounder need to be to explain away this result?" Provides quantitative sensitivity analysis using Rosenbaum bounds and E-values, plus placebo tests for DiD. Translates technical results into plain language.
Inputs
- {{METHOD}}: The causal method used.
- {{ANALYSIS_RESULTS}}: Path to analysis results (for effect size, RR, etc.).
- {{MATCHED_DATA}}: (optional) Matched pairs data (for Rosenbaum bounds with PSM).
Sensitivity Tests by Method
For PSM: Rosenbaum Bounds
from causal_stats import rosenbaum_bounds
result = rosenbaum_bounds(
treated_outcomes=matched_treat_outcomes,
control_outcomes=matched_control_outcomes,
gammas=[1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0],
)
Interpretation guide:
- gamma = 1: No hidden bias (standard test)
- gamma = 2: Unobserved confounder doubles the odds of treatment
- gamma = 3: Triples the odds
- Critical gamma: Where the result first becomes non-significant
Plain language template:
"This result would be overturned if an unmeasured confounder changed the odds of treatment by a factor of [critical_gamma]x. For context, [comparison to known confounders in the domain]."
For All Methods: E-value
from causal_stats import e_value
# Convert effect to risk ratio scale if needed
result = e_value(risk_ratio=rr, ci_lower=rr_ci_lower)
Interpretation guide:
- E-value > 3: Relatively robust. An unobserved confounder would need to be very strong.
- E-value 2-3: Moderate robustness.
- E-value < 2: Fragile. A moderately strong confounder could explain the result.
Plain language template:
"An unmeasured confounder would need to be associated with both the treatment and the outcome by a factor of at least [E-value] — above and beyond all measured confounders — to fully explain away this result."
For DiD: Placebo Tests
Run DiD on a pre-treatment period where NO treatment occurred:
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 · 127 lines · 32 tokens per session scan A bce3283d51a9
causal-sensitivity is an agent published in the GitHub repository ai-analyst-lab/ai-analyst-plugin (32 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 1,147 once invoked, about $0.0002 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.
Other agents, from other repositories
algorithm-expert
RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.
mathodology-problem-analyst
Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.
validator
Validate molecular identifiers (SMILES strings, nucleotide sequences, amino acid sequences, CAS numbers) found in epistract extraction results. Uses RDKit for chemistry and Biopython for sequences. Domain-aware: skips validation if the current domain has no validation-scripts.
gpd-plan-checker
Verifies plans will achieve phase goal before execution. Goal-backward analysis of plan quality for physics research. Spawned by the plan-phase and verify-work workflows.
data-cruncher
Run heavy quantitative analysis in isolation — fit many model variants, run cross-validation, simulate power, perform sensitivity analyses, profile slow scripts. Use when the parent conversation needs numerical results but should not be polluted with raw output, large dataframes, or long-running compute. Returns a…
module-creator
Helps create new nf-core modules from scratch with proper structure, containers, tests, and documentation. Use when wrapping new bioinformatics tools, creating custom modules, or contributing modules to nf-core/modules.