← Back to Skills Marketplace
PharmGx Reporter
by
manuelcorpas
· GitHub ↗
· v0.2.0
466
Downloads
0
Stars
7
Active Installs
2
Versions
Install in OpenClaw
/install pharmgx-reporter
Description
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA)
Usage Guidance
This package appears internally consistent and runs locally on a genotype text file to produce a research/educational PGx report. Before using: (1) do not treat output as clinical advice—follow the included disclaimer; (2) inspect pharmgx_reporter.py for any network calls or logging you don't want (the provided snippets show none, but review the whole file); (3) run the included tests in an isolated environment to confirm behavior; (4) avoid uploading real patient-identifiable data to untrusted systems—operate on de-identified files or in a secure local environment; (5) if you plan to use in a clinical context, consult qualified clinical genetics/pharmacology resources and validate against authoritative CPIC guidelines.
Capability Analysis
Type: OpenClaw Skill
Name: pharmgx-reporter
Version: 0.2.0
The `pharmgx_reporter.py` script is vulnerable to path traversal. It directly uses user-provided `--input` and `--output` file paths from command-line arguments without explicit sanitization. This allows a malicious actor to potentially read or write arbitrary files on the system (e.g., `--input ../../../etc/passwd` or `--output ../../../tmp/evil.md`) by crafting the input arguments. While the script's core functionality is benign and intended for pharmacogenomic reporting, this lack of input sanitization represents a significant vulnerability, classifying it as suspicious rather than benign or malicious.
Capability Assessment
Purpose & Capability
Name/description (PharmGx Reporter) match the included Python implementation and tests: the script parses 23andMe/Ancestry files, calls star alleles and phenotypes, and generates a markdown report. Minor metadata inconsistency: registry header lists no homepage/source while SKILL.md metadata references a ClawBio GitHub homepage — this is a bookkeeping mismatch but does not affect functionality.
Instruction Scope
SKILL.md and usage instruct running the local Python script with an input genotype file and output path. The instructions and included tests operate only on local files (demo_patient.txt) and the code's visible portions implement SNP/gene rule logic; there are no instructions to read unrelated system files, environment secrets, or to exfiltrate data.
Install Mechanism
No install spec is provided (instruction-only), which is low-risk. The skill nonetheless includes Python source and tests — expected for an instruction-driven script. There are no remote download URLs or package installs in the provided manifest.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The code and SKILL.md do not reference external API keys or tokens in the visible content.
Persistence & Privilege
Flags show always:false and default model invocation settings. The skill does not request persistent or elevated platform privileges and does not modify other skills or system-wide config in the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pharmgx-reporter - After installation, invoke the skill by name or use
/pharmgx-reporter - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.0
Add 24-test suite, migrate to ClawBio org, update URLs
v0.1.0
Initial release of the PharmGx Reporter skill.
- Generates pharmacogenomic reports from raw 23andMe or AncestryDNA data.
- Extracts 31 SNPs across 12 key pharmacogenes and determines metabolizer status.
- Provides CPIC-guided drug recommendations for 51 medications.
- Outputs comprehensive markdown reports with gene profiles, drug response tables, and clinical alerts.
- Designed for precision medicine research and education; not for clinical use.
Metadata
Frequently Asked Questions
What is PharmGx Reporter?
Pharmacogenomic report from DTC genetic data (23andMe/AncestryDNA). It is an AI Agent Skill for Claude Code / OpenClaw, with 466 downloads so far.
How do I install PharmGx Reporter?
Run "/install pharmgx-reporter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PharmGx Reporter free?
Yes, PharmGx Reporter is completely free (open-source). You can download, install and use it at no cost.
Which platforms does PharmGx Reporter support?
PharmGx Reporter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PharmGx Reporter?
It is built and maintained by manuelcorpas (@manuelcorpas); the current version is v0.2.0.
More Skills