← 返回 Skills 市场
manuelcorpas

Pharmgx Reporter

作者 manuelcorpas · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
427
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawbio-pharmgx-reporter
功能描述
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA)
使用说明 (SKILL.md)

PharmGx Reporter

Generate a pharmacogenomic report from consumer genetic data (23andMe, AncestryDNA).

What it does

  1. Parses raw genetic data files (auto-detects 23andMe or AncestryDNA format)
  2. Extracts 31 pharmacogenomic SNPs across 12 genes
  3. Calls star alleles and determines metabolizer phenotypes
  4. Looks up CPIC drug recommendations for 51 medications
  5. Generates a markdown report with gene profiles, drug tables, and alerts

Genes covered

CYP2C19, CYP2D6, CYP2C9, VKORC1, SLCO1B1, DPYD, TPMT, UGT1A1, CYP3A5, CYP2B6, NUDT15, CYP1A2

Drug classes

Antiplatelet, opioids, statins, anticoagulants, PPIs, antidepressants (TCAs, SSRIs, SNRIs), antipsychotics, NSAIDs, oncology, immunosuppressants, antivirals

Usage

python pharmgx_reporter.py --input patient_data.txt --output report

Disclaimer

This tool is for research and educational purposes only. It is NOT a diagnostic device. Always consult a healthcare professional before making any medication decisions.

安全使用建议
This skill appears to be a coherent, local pharmacogenomics report generator. Before installing or running it: (1) remember genetic data is highly sensitive — run the script locally on a machine you control and avoid uploading raw data to unknown services; (2) review the full pharmgx_reporter.py yourself (or run it in a sandbox) to confirm it behaves as expected; (3) do not treat the output as clinical advice — the SKILL.md disclaimer is appropriate and you should consult a healthcare professional for any medication decisions; (4) note the package metadata/source is not authoritative in the registry listing — if provenance matters, verify the upstream repository referenced in SKILL.md (MIT license) and the author identity before use.
功能分析
Type: OpenClaw Skill Name: clawbio-pharmgx-reporter Version: 0.1.0 The skill is classified as suspicious due to a lack of input sanitization in `pharmgx_reporter.py`. The script embeds the user-provided input filename directly into a shell command string within the generated `report.md` file (in the 'Reproducibility' section). If a malicious filename (e.g., `'; rm -rf /'`) is provided, and the generated command from the report is subsequently executed by a shell, it could lead to arbitrary command execution (shell injection). This is a vulnerability, not intentional malice, aligning with the 'suspicious' classification criteria.
能力评估
Purpose & Capability
The name and description (generate a pharmacogenomic report from 23andMe/AncestryDNA data) match the included SKILL.md and the bundled Python script which implements SNP parsing, phenotype rules, and report generation. No unrelated cloud credentials or unrelated binaries are requested. Note: registry metadata at the top listed no homepage/source, while SKILL.md contains a GitHub homepage URL — a minor metadata mismatch but not a functional inconsistency.
Instruction Scope
SKILL.md instructs running the included Python script on a local input file and producing a markdown report. The instructions do not ask the agent to read other system files, environment variables, or to send data externally. The Python file (visible imports) uses only standard libraries (argparse, hashlib, os, re, sys, datetime, pathlib) consistent with local parsing and report writing.
Install Mechanism
There is no install spec (instruction-only skill) and no external downloads or package installs declared. The bundle includes the script itself, so nothing is fetched from third-party URLs during install.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. This is proportional for a local file-parsing/reporting tool.
Persistence & Privilege
The skill does not request always:true and is user-invocable only; it does not ask to modify other skills or system-wide settings. Autonomous invocation is permitted by default but not combined with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawbio-pharmgx-reporter
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawbio-pharmgx-reporter 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of PharmGx Reporter – generate a pharmacogenomic report from DTC genetic data. - Parses 23andMe or AncestryDNA raw genetic files and auto-detects the format. - Extracts 31 pharmacogenomic SNPs across 12 genes relevant to drug response. - Calls star alleles and determines metabolizer phenotypes. - Provides CPIC-based recommendations for 51 medications, covering multiple drug classes. - Outputs a comprehensive markdown report with gene profiles, drug recommendations, and safety alerts.
元数据
Slug clawbio-pharmgx-reporter
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Pharmgx Reporter 是什么?

Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 427 次。

如何安装 Pharmgx Reporter?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawbio-pharmgx-reporter」即可一键安装,无需额外配置。

Pharmgx Reporter 是免费的吗?

是的,Pharmgx Reporter 完全免费(开源免费),可自由下载、安装和使用。

Pharmgx Reporter 支持哪些平台?

Pharmgx Reporter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pharmgx Reporter?

由 manuelcorpas(@manuelcorpas)开发并维护,当前版本 v0.1.0。

💬 留言讨论