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 skills/ai-analyst-lab/ai-analyst-plugin/causalnpx skills add ai-analyst-lab/ai-analyst-plugin --skill causalgit 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/skills/ai-analyst-lab/ai-analyst-plugin/causal)<a href="https://agentmods.dev/skills/ai-analyst-lab/ai-analyst-plugin/causal"><img src="https://agentmods.dev/badge/skills/ai-analyst-lab/ai-analyst-plugin/causal.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.1 | $0.00094 | $0.01914 |
| Opus 5 | $0.00047 | $0.00957 |
| Sonnet 5 | $0.00019 | $0.00383 |
| Haiku 4.5 | $0.00009 | $0.00191 |
Grade A, and why
causal 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 6d 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If the skill install path cannot be resolved (some sandboxed environments): read the script file(s) from this skill, write a copy into a scripts/ folder inside the working folder, and run from there. The scripts are self-contained.
Skill: /causal — OpenCausalInf Causal Inference Toolkit
Purpose
Multi-mode skill for causal inference when experiments aren't possible. Helps users estimate treatment effects from observational data with explicit assumption checking, sensitivity analysis, and mandatory caveats. Uses the coded estimator library bundled in this skill at scripts/causal_stats/.
Using the bundled library: add this skill's scripts/ directory to sys.path, then import, e.g.
import sys
sys.path.insert(0, "<path to this skill>/scripts") # the scripts/ dir next to this SKILL.md
from causal_stats import did_basic
Requires pandas, numpy, scipy, statsmodels, and scikit-learn (for propensity matching); install the last two in the sandbox if missing.
When to Use
Invoke as /causal [mode] or trigger on causal inference intents:
- "Did this feature actually cause the improvement?"
- "We can't run an experiment, but..."
- "Was this change responsible for the metric movement?"
- "Can we measure the impact retroactively?"
Modes
/causal select
Purpose: Walk the method selection decision tree and recommend a causal method.
Agent: the causal-method-selector plugin agent
Flow:
- Ask 4-6 diagnostic questions:
- Can you randomize? → Route to
/experiment design - Do you have a comparison group?
- Do you have pre-treatment data?
- Are there observable confounders you can measure?
- How many time periods do you have?
- Can you randomize? → Route to
- Recommend: Pre-Post, DiD, PSM, Regression Adjustment, or "not feasible"
- Output: recommended method + confidence level + rationale Checkpoint: Method confirmation (Type C — user must confirm before analysis)
/causal analyze
Purpose: Run the selected causal method on data.
Agent: the causal-analyzer plugin agent
Flow:
- Read selected method from previous step or user input
- Dispatch to the appropriate bundled estimator:
from causal_stats import ( pre_post_analysis, did_basic, propensity_match, regression_adjust, ) # Method routing: # "pre_post" → pre_post_analysis(pre, post, covariates) # "did" → did_basic(df, outcome, treat, post) # "psm" → propensity_match(df, treat, covariates, outcome) # "regression" → regression_adjust(df, outcome, treatment, covariates) - Generate charts (treatment effect, balance plots for PSM, event study for DiD)
- Output:
working/causal_analysis_results.json
What ships with it
8 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.
- scripts/causal_stats/__init__.py 1.5 KB runs code
- scripts/causal_stats/assumptions.py 5.6 KB runs code
- scripts/causal_stats/balance.py 5.3 KB runs code
- scripts/causal_stats/did.py 11 KB runs code
- scripts/causal_stats/matching.py 8.2 KB runs code
- scripts/causal_stats/pre_post.py 8.1 KB runs code
- scripts/causal_stats/regression.py 4.5 KB runs code
- scripts/causal_stats/sensitivity.py 7.8 KB runs code
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.
- 6d ago First seen · 176 lines · 94 tokens per session scan A 0b486e149705
causal is a skill published in the GitHub repository ai-analyst-lab/ai-analyst-plugin (32 stars, last pushed 9d ago), licensed MIT. It adds 94 tokens to every session and 1,914 once invoked, about $0.0005 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 skills, from other repositories
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
phylogenetics
Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.
exploratory-data-analysis
Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
mapping-to-snomed
Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…