Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

mrmrmrmrmrmr 搜索

Agent Skill

mrmrmr 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,493

周安装

193

GitHub Stars

公开资料未说明

下载量

1,575
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mrmrmr(mrmrmr 搜索)
来源仓库:https://github.com/rqth123/mrmrmr
安装命令:
openclaw skills install mrmrmr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mrmrmr

简介

mrmrmr 基于 LLM 实现孟德尔随机化自动化分析。

  • 适用于生物医学研究中的因果推断任务。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 在 OpenClaw 中可辅助生成统计模型与结果解读。
  • 需配合真实 GWAS 数据使用,不可替代专业分析。
  • mrmrmr 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

metadata
{"name": "mragent", "description": "LLM-powered automated Mendelian Randomization for causal discovery in biomedical research", "version": "0.2.5", "author": "MRAgent Team", "openclaw": {"requires": {"bins": ["python", "Rscript"], "env": ["OPENAI_API_KEY", "OPENGWAS_JWT"]}, "primaryEnv": "OPENAI_API_KEY", "category": "biomedical", "emoji": "🧬"}}

MRAgent - Automated Mendelian Randomization Analysis Agent

Description

MRAgent is an intelligent agent that automates the entire process of Mendelian randomization analysis for causal discovery in biomedical research. It:

  1. Knowledge Discovery Mode (KD): Given a disease (outcome), automatically scans PubMed literature to discover potential modifiable exposure (risk factor) that have correlation but no established causal inference, then performs comprehensive Mendelian randomization analysis using OpenGWAS data to identify novel causal relationships.
  1. Causal Validation Mode (CV): Directly test whether a user-specified exposure (e.g., "body mass index") has a causal effect on a specific outcome (e.g., "type 2 diabetes") using two-sample Mendelian randomization.

MRAgent handles all steps automatically:

  • PubMed literature crawling
  • LLM-based extraction of candidate exposure-outcome pairs
  • Check for existing MR studies via PubMed search
  • Optional STROBE-MR quality assessment of existing studies
  • UMLS medical synonym expansion
  • OpenGWAS database query for GWAS summary statistics
  • LLM selection of most appropriate GWAS datasets
  • Multiple MR methods: Inverse variance weighted, MR-Egger, weighted median, etc.
  • Heterogeneity analysis and pleiotropy sensitivity testing
  • MRlap correction for sample overlap
  • Automatic generation of publication-ready PDF reports with LLM-written interpretation

Requirements

  • Python packages (install via pip install -r {baseDir}/requirements.txt)
  • R language (>= 4.3.4) with the following packages installed:

- TwoSampleMR - core Mendelian randomization - ieugwasr - OpenGWAS interface - vcfR - required for MRlap (optional) - MRlap - sample overlap correction (optional) - jsonlite - JSON processing (required for MRlap)

  • OPENAI_API_KEY environment variable must be set (OpenAI API key)
  • OPENGWAS_JWT environment variable (optional, for OpenGWAS access token)

Usage

Knowledge Discovery Mode (recommended for novel discoveries)

Discover novel causal relationships starting from a disease:

python {baseDir}/run_mragent.py --mode KD --outcome "back pain" --num-pubmed 100 --bidirectional

Discover novel causal relationships starting from an exposure:

(Currently the CLI implements KD starting from outcome; for exposure-based discovery use the Python API directly)

Causal Validation Mode

Validate a specific hypothesis: does exposure causally affect outcome?

python {baseDir}/run_mragent.py --mode CV --exposure "body mass index" --outcome "type 2 diabetes"

Common Options

OptionDescriptionExample
`--mode KD\CV`Required. KD=knowledge discovery, CV=causal validation--mode CV
--outcome NAMERequired. Outcome (disease) to study--outcome "back pain"
--exposure NAMERequired in CV mode. Exposure factor to test--exposure "osteoporosis"
--num-pubmed NNumber of papers to fetch from PubMed (default: 100)--num-pubmed 50
`--model MR\MR_MOE`MR model type. MR=standard, MR_MOE=mixture of experts--model MR_MOE
--bidirectionalPerform bidirectional analysis (also test outcome → exposure)--bidirectional
--no-synonymsDisable synonym expansion (faster)--no-synonyms
--strobe-mrEnable STROBE-MR quality assessment of existing studies--strobe-mr
--mrlapEnable MRlap sample overlap correction--mrlap
--output-dir DIROutput directory (default: ./output)--output-dir /tmp/mragent-out
--steps 1,2,3Only run specific steps (for debugging/intervention)--steps 1,2

Environment Variables

VariableRequiredDescription
OPENAI_API_KEYYesOpenAI API key
OPENGWAS_JWTOptionalOpenGWAS JWT access token
LLM_MODELNoLLM model name (default: gpt-4o)
LLM_PROVIDERNoopenai or ollama (default: openai)
OPENAI_BASE_URLNoCustom base URL for OpenAI-compatible API
MRAGENT_SOURCE_PATHNoPath to original MRAgent source if not installed globally

Output

MRAgent outputs a JSON summary to stdout with:

  • success: boolean indicating success
  • output_directory: directory containing all results
  • discovered_pairs: number of candidate exposure-outcome pairs found
  • selected_for_mr: number of pairs selected for MR analysis
  • reports: list of paths to generated PDF files (Report.pdf, Introduction.pdf, Conclusion.pdf, etc.)

Example output:

{
  "success": true,
  "mode": "CV",
  "outcome": "back pain",
  "exposure": "osteoarthritis",
  "output_directory": "./output/osteoarthritis_back_pain_gpt-4o",
  "discovered_pairs": 1,
  "selected_for_mr": 1,
  "reports": [
    "./output/osteoarthritis_back_pain_gpt-4o/osteoarthritis_back_pain/Introduction.pdf",
    "./output/osteoarthritis_back_pain_gpt-4o/osteoarthritis_back_pain/osteoarthritis_back_pain/MR_ieu-a-2_ieu-a-1008/Report.pdf",
    "./output/osteoarthritis_back_pain_gpt-4o/osteoarthritis_back_pain/Conclusion.pdf"
  ]
}

Workflow Steps

When running all steps (default):

StepDescription
1Crawl PubMed, extract candidate exposure-outcome pairs
2Check if each pair already has MR studies in literature
3Extract unique terms, expand with medical synonyms
4Check which terms have available GWAS data in OpenGWAS
5LLM selects most appropriate GWAS IDs for each term
6Generate all combinations of exposure-outcome pairs
7Check new combinations for existing MR studies
8Select final set of novel pairs for analysis
9Run MR analysis, generate plots and LLM-interpreted PDF reports

Notes

  • This is a computationally intensive process. The full analysis can take tens of minutes to hours depending on the number of pairs.
  • All intermediate results are saved as CSV files in the output directory, allowing manual editing and intervention between steps.
  • MRAgent requires R to be installed with the necessary packages, because the actual MR analysis is performed by R's TwoSampleMR package.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.37%
按下载量换算1,518

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills