# Bioresearch Causal Inference

> Run two-sample Mendelian randomization via the BioResearch Agent causal workflow (IVW estimation, leave-one-out sensitivity, scatter / funnel plots). Use when the user asks to test a causal effect between an exposure and an outcome (e.g., BMI → Type 2 Diabetes) using genetic instruments.

- **Type:** Skill
- **Install:** `agentstack add skill-alim430-bioresearch-agent-causal-inference`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Alim430](https://agentstack.voostack.com/s/alim430)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Alim430](https://github.com/Alim430)
- **Source:** https://github.com/Alim430/bioresearch-agent/tree/main/skills/biomedical/causal-inference

## Install

```sh
agentstack add skill-alim430-bioresearch-agent-causal-inference
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# BioResearch Agent — Causal Inference (MR) Skill

## Capability

Runs a reproducible two-sample Mendelian randomization: GWAS summary statistics (simulated by
default) → genome-wide significant SNP instruments → IVW causal estimate → leave-one-out
sensitivity → scatter / funnel plots. Returns a quantitative causal estimate, not a claim.

## Run

```bash
bioresearch run causal --exposure BMI --outcome "Type 2 Diabetes"
```

## Outputs (in `outputs/causal/`)

- `causal_ivw_results.csv` — IVW estimate, SE, p-value
- `causal_loo_results.csv` — leave-one-out sensitivity
- `causal_mr_scatter.png` — MR scatter plot (IVW slope labeled)
- `causal_mr_funnel.png` — funnel plot
- `causal_interpretation.txt` — interpretation notes

## Note

This skill dispatches to the framework's `causal` workflow. It adds **no analysis of its own**;
all MR statistics run in the workflow modules. By default uses simulated GWAS data (no external
credentials required).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Alim430](https://github.com/Alim430)
- **Source:** [Alim430/bioresearch-agent](https://github.com/Alim430/bioresearch-agent)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alim430-bioresearch-agent-causal-inference
- Seller: https://agentstack.voostack.com/s/alim430
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
