← 返回 Skills 市场
159
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install mrmrmr
功能描述
LLM-powered automated Mendelian Randomization for causal discovery in biomedical research
安全使用建议
This package appears to implement what it claims, but review these points before use:
- Clarify OPENGWAS_JWT: the registry lists it as required but SKILL.md and the CLI treat it as optional. Only provide this token if you need OpenGWAS access.
- Inspect and control the LLM endpoint: OPENAI_BASE_URL or LLM_PROVIDER can redirect requests to nonstandard endpoints. Do not set OPENAI_BASE_URL to unknown domains (examples in demo code such as https://api.gpt.ge/v1/ are unexpected).
- Review the included source (especially mragent/mragent/LLM.py and agent_tool files) to confirm where data (paper abstracts, extracted pairs, GWAS IDs) are sent — this code will send text to whichever LLM provider you configure.
- Be cautious with sensitive or unpublished data: the agent will transmit extracted text and identifiers to external LLMs unless you run a local LLM (ollama) or an isolated proxy.
- External file downloads: optional features (MR_MOE model, MRlap supporting files) point to Dropbox/Box — validate those links before downloading and prefer official project releases.
- Run first in an isolated environment (container or VM), inspect network calls (or set OPENAI_BASE_URL to a controlled proxy) and verify R package requirements before running with real patient-level or sensitive data.
If these points are acceptable and you configure the LLM endpoint and tokens carefully (or use a local LLM), the skill's requirements are broadly proportionate to its purpose.
功能分析
Type: OpenClaw Skill
Name: mrmrmr
Version: 1.0.2
The skill bundle contains several high-risk security vulnerabilities that could lead to Remote Code Execution (RCE), though they appear to be unintentional design flaws rather than intentional malice. Specifically, 'mragent/agent_workflow.py' uses the 'eval()' function on GWAS IDs (which are processed from LLM outputs), and 'mragent/agent_tool.py' uses 'os.system()' to execute R scripts constructed via insecure string formatting. Additionally, 'web_demo.py' employs 'subprocess.Popen(shell=True)' and patches 'os.system' in a way that increases the attack surface for command injection. While these patterns are highly dangerous, they are consistent with the stated purpose of automating Mendelian Randomization analysis in a research context, and no evidence of intentional data exfiltration or backdoors was found.
能力评估
Purpose & Capability
The code, README, and CLI implement the described MR workflows (PubMed crawling, OpenGWAS queries, R-based MR analysis, LLM prompts). Requiring python and Rscript and an OpenAI API key is coherent. However, registry metadata marks OPENGWAS_JWT as required while SKILL.md and run_mragent treat it as optional — an inconsistency that should be clarified.
Instruction Scope
Runtime instructions and code perform web crawling (PubMed), call LLMs (openai/ollama), and query OpenGWAS — all expected for this tool. These actions will transmit extracted literature and GWAS identifiers to external LLM endpoints (OpenAI or custom base_url). A demo file hardcodes/uses a nonstandard base_url (https://api.gpt.ge/v1/) which is unexpected and should be treated as suspicious if used; otherwise behavior matches purpose.
Install Mechanism
No install spec in the registry (instruction-only), so nothing will be auto-downloaded by the skill installer. The bundle contains source files and a requirements.txt (pip). The README suggests additional external downloads for model/data (Dropbox, Box) for optional features (MR_MOE, MRlap), which are external and should be reviewed before fetching — this raises moderate supply-chain risk if users blindly follow those links.
Credentials
OPENAI_API_KEY as primaryEnv is appropriate. OPENGWAS_JWT is useful for OpenGWAS access but is marked required in registry metadata while SKILL.md and the CLI treat it as optional — inconsistent. Other optional env vars (OPENAI_BASE_URL, LLM_PROVIDER) are reasonable but permit redirecting LLM calls to arbitrary endpoints, which increases data-exposure risk if misconfigured.
Persistence & Privilege
The skill does not request always:true and does not ask to modify other skills or system-wide settings. It appears to run on demand (user-invocable) and only needs standard file outputs in an output directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mrmrmr - 安装完成后,直接呼叫该 Skill 的名称或使用
/mrmrmr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- No code or documentation changes were detected in this version.
- Functionality remains the same as the previous release.
v1.0.1
Initial release of the "mrmrmr" skill.
- Added core agent workflow and demonstration scripts.
- Introduced modular codebase, including LLM integration and Mendelian randomization functions.
- Included example test scripts for SimCSE, STROBE-MR assessment, and report generation.
- Provided configuration, documentation (README, LICENSE), and supporting data files.
- Integrated environment and dependency setup files for development and runtime.
v1.0.0
- Initial release of mragent skill for automated Mendelian Randomization analysis in biomedical research.
- Supports two main modes: Knowledge Discovery (KD) from diseases/exposures and Causal Validation (CV) of specified exposure-outcome pairs.
- Fully automates literature scanning, candidate pair extraction, MR study checking, synonym expansion, GWAS dataset selection, multiple MR methods, sensitivity testing, and publication-ready PDF report generation.
- Requires Python, R (>=4.3.4) with specific R packages, and API keys for OpenAI and optionally OpenGWAS.
- Outputs results and reports to specified directories, with support for stepping through and editing intermediate results.
元数据
常见问题
mrmrmr 是什么?
LLM-powered automated Mendelian Randomization for causal discovery in biomedical research. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 159 次。
如何安装 mrmrmr?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mrmrmr」即可一键安装,无需额外配置。
mrmrmr 是免费的吗?
是的,mrmrmr 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
mrmrmr 支持哪些平台?
mrmrmr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 mrmrmr?
由 rqth123(@rqth123)开发并维护,当前版本 v1.0.2。
推荐 Skills