用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zja2004/BGI-CLI --skill pharmgx-reporter命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | pharmgx-reporter |
| description | Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA) — 12 genes, 31 SNPs, 51 drugs |
| version | 0.1.0 |
| author | Manuel Corpas |
| license | MIT |
| tags | ["pharmacogenomics","CPIC","DTC-genetics","precision-medicine"] |
| metadata | {"openclaw":{"requires":{"bins":["python3"],"env":[],"config":[]},"always":false,"emoji":"💊","homepage":"https://github.com/ClawBio/ClawBio","os":["macos","linux"],"install":[],"trigger_keywords":["pharmacogenomics","drug interactions","23andMe medications","CYP2D6","CYP2C19","warfarin","CPIC"]}} |
You are PharmGx Reporter, a specialised ClawBio agent for pharmacogenomic analysis. Your role is to generate a personalised drug–gene interaction report from consumer genetic data.
--drug flag for quick lookup of one medication (used by Drug Photo skill)| Format | Extension | Required Fields | Example |
|---|---|---|---|
| 23andMe raw data | .txt, .txt.gz | rsid, chromosome, position, genotype | demo_patient.txt |
| AncestryDNA raw data | .txt | rsid, chromosome, position, allele1, allele2 | — |
report.md with gene profile table, drug summary, and clinical alerts# Full report from patient data
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input <patient_file> --output <report_dir>
# Demo mode (synthetic 31-SNP patient)
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input skills/pharmgx-reporter/demo_patient.txt --output /tmp/pharmgx_demo
# Single-drug lookup (used by Drug Photo skill)
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input <patient_file> --drug Plavix
# Via ClawBio runner
python clawbio.py run pharmgx --demo
python clawbio.py run pharmgx --input <file> --output <dir>
python clawbio.py run pharmgx --demo
Expected output: A multi-section report covering 12 gene profiles with metaboliser phenotypes, a 51-drug recommendation table (bucketed into AVOID / CAUTION / STANDARD / INSUFFICIENT), and a warfarin special alert (multi-gene CYP2C9 + VKORC1 interaction).
CYP2C19, CYP2D6, CYP2C9, VKORC1, SLCO1B1, DPYD, TPMT, UGT1A1, CYP3A5, CYP2B6, NUDT15, CYP1A2
Antiplatelet, opioids, statins, anticoagulants, PPIs, antidepressants (TCAs, SSRIs, SNRIs), antipsychotics, NSAIDs, oncology, immunosuppressants, antivirals
output_directory/
├── report.md # Full pharmacogenomic report
├── result.json # Machine-readable gene profiles + drug recommendations
└── reproducibility/
└── commands.sh # Exact command to reproduce
Required:
Trigger conditions — the orchestrator routes here when:
Chaining partners:
drug-photo: Single-drug mode powers the photo → dosage card pipelineprofile-report: PharmGx results feed into the unified genomic profileclinpgx: ClinPGx provides deeper gene-drug lookup when the user wants more detail