tooluniverse-mendelian-randomization

tooluniverse-mendelian-randomization is a skill for Claude Code from mims-harvard/ToolUniverse. It costs 244 tokens per session (2,672 once invoked), scanned A, original, Apache-2.0.

A method for testing whether one biological factor may cause an outcome by using genetic variants as natural experiments. It is designed to separate causation from a simple association found in observational data.

In plain words
What is it for?
Use it to investigate whether a biomarker, exposure, or risk factor causally affects a disease or other outcome using published genetic data.
Why use it?
It helps address confounding and reverse causation, where another factor explains the link or the outcome influences the supposed cause.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the tooluniverse plugin — 162 skills, 8 commands, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Use it to investigate whether a biomarker, exposure, or risk factor causally affects a disease or other outcome using published genetic data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization
About the project

ToolUniverse is a collection of tools, interfaces, and supporting components for building AI systems that perform scientific work. It is for developers creating AI scientist agents that use APIs, databases, machine-learning tools, and domain-specific utilities. The catalogue includes skills, commands, an MCP server, an agent, and a hook for working with the ecosystem.

mims-harvard/ToolUniverse · 1,744 stars · on GitHub · aiscientist.tools

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.

Any agent
npx skills add mims-harvard/ToolUniverse --skill tooluniverse-mendelian-randomization
Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

Made for: Claude Code.

Or install tooluniverse, the plugin that ships this one along with the rest of its 162 skills, 8 commands, 1 agent, 1 hook, 1 MCP server.

Wrote 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.

agentmods badge for tooluniverse-mendelian-randomization

README.md
[![agentmods](https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization/github.svg)](https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization)
Your own site
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tooluniverse-mendelian-randomization

Your own site · 80×15
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-mendelian-randomization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 244 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.1 $0.00244 $0.02672
Opus 5.5 $0.00098 $0.01069
Sonnet 5.5 $0.00049 $0.00534
Haiku 4.5 $0.00024 $0.00267

Measured 10d ago against content hash 54982d3be8c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tooluniverse-mendelian-randomization 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 10d 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.

plugin/skills/tooluniverse-mendelian-randomization/SKILL.md · 122 lines

How it starts

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

Mendelian Randomization (Causal Inference from Genetic Instruments)

MR estimates the CAUSAL effect of an exposure on an outcome using genetic variants as instrumental variables. Because alleles are randomized at conception, MR is largely robust to the confounding and reverse causation that bias observational associations. It is not a free lunch: the causal claim rests on three assumptions, and violating them (especially horizontal pleiotropy) silently biases the estimate.

LOOK UP, DON'T GUESS: never assert a causal MR estimate from memory. Genetic-instrument results are updated as new GWAS are published — always retrieve current evidence with EpiGraphDB_get_mendelian_randomization. Do not invent beta/p-values.

Correlation ≠ causation, and genetic correlation ≠ causation. A high genetic correlation (rg) means two traits share heritability — it does NOT establish a causal direction. Only MR (with valid instruments) speaks to causality. Report them as different kinds of evidence.

The three instrumental-variable assumptions

Assumption Statement How it fails Check
Relevance Instrument is robustly associated with the exposure Weak instruments (low F-stat) → bias toward the confounded observational estimate MOE score; instruments selected at GWAS significance
Independence Instrument shares no common cause with the outcome Population stratification, assortative mating Ancestry-matched GWAS; report population
Exclusion restriction Instrument affects the outcome ONLY through the exposure Horizontal pleiotropy — the variant influences the outcome via another path MR-Egger intercept ≈ 0; agreement across methods

If you cannot speak to these, your causal claim is provisional. Say so.

When to use

  • "Does [exposure] causally affect [outcome/disease]?" — the core MR question.
  • Triangulating an observational/epidemiological association ("BMI correlates with depression — is it causal?").
  • Reverse-causation checks (bidirectional MR: does the outcome cause the exposure instead?).
  • Prioritising drug targets / risk factors with genetic causal support.
  • Distinguishing a causal driver from a shared-etiology bystander (MR vs genetic correlation).

Read the full file on GitHub · 122 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. 10d ago Changed · +1 lines 54982d3be8c3
  2. 1mo ago First seen · 121 lines · 244 tokens per session scan A 10684285d2b9

Subscribe to this mod's changes

tooluniverse-mendelian-randomization is a skill published in the GitHub repository mims-harvard/ToolUniverse (1,744 stars, last pushed yesterday), licensed Apache-2.0. It adds 244 tokens to every session and 2,672 once invoked, about $0.0010 per session on Opus 5.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.

Related

Other skills, from other repositories

ai-agent-tool-routing

Use when designing or reviewing an AI agent tool registry or MCP router: document parameter schemas, caller authorization, execution limits, replay-safe retries and verification evidence.

sickn33/agentic-awesome-skills · 36 tokens

nanoresearch-writing

Draft a LaTeX research paper from all previous stage outputs.

OpenRaiser/NanoResearch · 17 tokens

construct-toy-examples

Generate and analyze simpler examples that satisfy both the assumptions and the conclusion of a theorem statement or subgoal. Use when you are stuck in reasoning and need simpler examples to regain traction, or when you want to see where the assumptions take effect and gain intuition.

frenzymath/Danus · 57 tokens

obtain-immediate-conclusions

Derive immediate mathematical consequences from a theorem statement or subgoal. Use when starting a new problem, branch, or subgoal, or when cheap progress or a cleaner reformulation is needed before deeper proof search.

frenzymath/Danus · 49 tokens

clinical-research-analysis-framework

Guided workflow for statistical and ML analysis of clinical data. Use when planning or executing research analyses on MIMIC, eICU, or similar EHR data. Ensures methodological rigor through structured consultation, assumption checking, and stepwise execution with audit trails.

hannesill/m4 · 59 tokens

apache-iv-score

Calculate APACHE IV (Acute Physiology and Chronic Health Evaluation IV) score for ICU mortality prediction. Use for severity assessment, hospital mortality prediction, ICU benchmarking, or case-mix adjustment. eICU has pre-computed scores; MIMIC-IV requires custom implementation with diagnosis mapping challenges.

hannesill/m4 · 65 tokens