Gene2AI — Genomic Data for AI Agents
You have access to the user's personal genomic data through the Gene2AI API. This data has been processed from raw genetic testing files (23andMe, AncestryDNA, etc.) into a structured, AI-readable JSON format covering health risks, drug responses, nutrition, traits, and ancestry.
When to Use This Skill
Use this skill whenever the user asks about:
- Their genetic health risks (e.g., "Am I at risk for type 2 diabetes?")
- Drug responses or pharmacogenomics (e.g., "How do I metabolize caffeine?", "Am I sensitive to warfarin?")
- Nutrition and nutrigenomics (e.g., "Do I need more vitamin D?", "Am I lactose intolerant?")
- Physical traits (e.g., "What does my DNA say about my muscle type?")
- Ancestry composition or haplogroups
- Personalized recommendations for health, fitness, diet, or wellness based on their genetics
- Anything involving their DNA, genes, SNPs, or genetic variants
How to Query the API
Make a GET request to the Gene2AI API:
curl -X GET "https://gene2.ai/api/v1/genomics/${GENE2AI_JOB_ID}" \
-H "Authorization: Bearer ${GENE2AI_API_KEY}"
The environment variables GENE2AI_API_KEY and GENE2AI_JOB_ID are provided by the user. If they are not set, ask the user to:
- Go to https://gene2.ai and upload their genetic data file
- After analysis completes, go to https://gene2.ai/api-keys to generate an API key
- Set the environment variables:
GENE2AI_API_KEY=<their API key>
GENE2AI_JOB_ID=<their job ID from the results page>
Response Format
The API returns a JSON object with the following top-level categories:
| Category |
Description |
Example Fields |
health_risks |
Disease risk assessments based on genetic variants |
condition, risk_level, rsid, genotype |
pharmacogenomics |
Drug response predictions and metabolizer status |
drug, gene, metabolizer_status, recommendation |
traits |
Physical and behavioral trait predictions |
trait, result, confidence, rsid |
nutrigenomics |
Nutrition-related genetic insights |
nutrient, gene, status |
ancestry |
Ancestry composition and haplogroup data |
region, percentage, haplogroup |
metadata |
Analysis metadata |
source, total_variants, analyzed_at |
Example Response Structure
{
"health_risks": [
{
"condition": "Type 2 Diabetes",
"risk_level": "elevated",
"rsid": "rs7903146",
"genotype": "CT"
}
],
"pharmacogenomics": [
{
"drug": "Caffeine",
"gene": "CYP1A2",
"metabolizer_status": "fast",
"recommendation": "Normal caffeine tolerance"
}
],
"traits": [
{
"trait": "Lactose Tolerance",
"result": "Likely tolerant",
"confidence": "high",
"rsid": "rs4988235"
}
],
"nutrigenomics": [
{
"nutrient": "Vitamin D",
"gene": "VDR",
"status": "May need supplementation"
}
],
"ancestry": [
{
"region": "East Asian",
"percentage": 45.2,
"haplogroup": "D4"
}
],
"metadata": {
"source": "23andme",
"total_variants": 650000,
"analyzed_at": "2026-03-01T12:00:00Z"
}
}
Error Handling
| HTTP Status |
Error Code |
Meaning |
| 401 |
missing_token |
No Authorization header — check GENE2AI_API_KEY is set |
| 401 |
invalid_token |
API key is malformed or invalid |
| 403 |
token_expired |
API key expired (30-day limit) — user needs to generate a new one at https://gene2.ai/api-keys |
| 403 |
key_revoked |
API key was manually revoked |
| 403 |
job_id_mismatch |
Key not authorized for this job ID |
| 404 |
job_not_found |
Job ID does not exist |
| 404 |
data_not_available |
Analysis not yet complete — tell user to wait and check status later |
If you receive a token_expired or key_revoked error, instruct the user to visit https://gene2.ai/api-keys to generate a fresh API key.
Guidelines for Presenting Genomic Data
When presenting genomic information to the user, follow these guidelines:
Always include disclaimers: Genetic data provides risk estimates, not diagnoses. Always remind users to consult healthcare professionals for medical decisions.
Explain risk levels clearly: "Elevated risk" does not mean certainty. Explain that genetics is one factor among many (lifestyle, environment, family history).
Be actionable: When sharing pharmacogenomics data, suggest the user discuss findings with their doctor before making medication changes.
Respect sensitivity: Ancestry and health risk data can be emotionally sensitive. Present findings with care and context.
Cross-reference categories: For holistic advice, combine insights across categories. For example, nutrigenomics data about vitamin D metabolism combined with health risk data can provide more complete recommendations.
Cite the specific variants: When discussing a finding, mention the rsID (e.g., rs7903146) so the user can verify or research further.
1---
2name: gene2ai
3description: Query your personal genomic data from Gene2AI. Get structured JSON insights about health risks, drug responses, nutrition, traits, and ancestry — ready for AI-powered personalization.
4version: 1.0.0
5metadata:
6 source: https://skillmd.com/skills/modbender/gene2ai
7 openclaw:
8 requires:
9 env:
10 - GENE2AI_API_KEY
11 - GENE2AI_JOB_ID
12 primaryEnv: GENE2AI_API_KEY
13 emoji: "🧬"
14 homepage: https://gene2.ai/guide
15---
16
17# Gene2AI — Genomic Data for AI Agents
18
19You have access to the user's personal genomic data through the Gene2AI API. This data has been processed from raw genetic testing files (23andMe, AncestryDNA, etc.) into a structured, AI-readable JSON format covering health risks, drug responses, nutrition, traits, and ancestry.
20
21## When to Use This Skill
22
23Use this skill whenever the user asks about:
24
25- Their **genetic health risks** (e.g., "Am I at risk for type 2 diabetes?")
26- **Drug responses** or pharmacogenomics (e.g., "How do I metabolize caffeine?", "Am I sensitive to warfarin?")
27- **Nutrition** and nutrigenomics (e.g., "Do I need more vitamin D?", "Am I lactose intolerant?")
28- **Physical traits** (e.g., "What does my DNA say about my muscle type?")
29- **Ancestry** composition or haplogroups
30- **Personalized recommendations** for health, fitness, diet, or wellness based on their genetics
31- Anything involving their **DNA**, **genes**, **SNPs**, or **genetic variants**
32
33## How to Query the API
34
35Make a GET request to the Gene2AI API:
36
37```bash
38curl -X GET "https://gene2.ai/api/v1/genomics/${GENE2AI_JOB_ID}" \
39 -H "Authorization: Bearer ${GENE2AI_API_KEY}"
40```
41
42The environment variables `GENE2AI_API_KEY` and `GENE2AI_JOB_ID` are provided by the user. If they are not set, ask the user to:
43
441. Go to https://gene2.ai and upload their genetic data file
452. After analysis completes, go to https://gene2.ai/api-keys to generate an API key
463. Set the environment variables:
47 ```
48 GENE2AI_API_KEY=<their API key>
49 GENE2AI_JOB_ID=<their job ID from the results page>
50 ```
51
52## Response Format
53
54The API returns a JSON object with the following top-level categories:
55
56| Category | Description | Example Fields |
57|---|---|---|
58| `health_risks` | Disease risk assessments based on genetic variants | condition, risk_level, rsid, genotype |
59| `pharmacogenomics` | Drug response predictions and metabolizer status | drug, gene, metabolizer_status, recommendation |
60| `traits` | Physical and behavioral trait predictions | trait, result, confidence, rsid |
61| `nutrigenomics` | Nutrition-related genetic insights | nutrient, gene, status |
62| `ancestry` | Ancestry composition and haplogroup data | region, percentage, haplogroup |
63| `metadata` | Analysis metadata | source, total_variants, analyzed_at |
64
65### Example Response Structure
66
67```json
68{
69 "health_risks": [
70 {
71 "condition": "Type 2 Diabetes",
72 "risk_level": "elevated",
73 "rsid": "rs7903146",
74 "genotype": "CT"
75 }
76 ],
77 "pharmacogenomics": [
78 {
79 "drug": "Caffeine",
80 "gene": "CYP1A2",
81 "metabolizer_status": "fast",
82 "recommendation": "Normal caffeine tolerance"
83 }
84 ],
85 "traits": [
86 {
87 "trait": "Lactose Tolerance",
88 "result": "Likely tolerant",
89 "confidence": "high",
90 "rsid": "rs4988235"
91 }
92 ],
93 "nutrigenomics": [
94 {
95 "nutrient": "Vitamin D",
96 "gene": "VDR",
97 "status": "May need supplementation"
98 }
99 ],
100 "ancestry": [
101 {
102 "region": "East Asian",
103 "percentage": 45.2,
104 "haplogroup": "D4"
105 }
106 ],
107 "metadata": {
108 "source": "23andme",
109 "total_variants": 650000,
110 "analyzed_at": "2026-03-01T12:00:00Z"
111 }
112}
113```
114
115## Error Handling
116
117| HTTP Status | Error Code | Meaning |
118|---|---|---|
119| 401 | `missing_token` | No Authorization header — check `GENE2AI_API_KEY` is set |
120| 401 | `invalid_token` | API key is malformed or invalid |
121| 403 | `token_expired` | API key expired (30-day limit) — user needs to generate a new one at https://gene2.ai/api-keys |
122| 403 | `key_revoked` | API key was manually revoked |
123| 403 | `job_id_mismatch` | Key not authorized for this job ID |
124| 404 | `job_not_found` | Job ID does not exist |
125| 404 | `data_not_available` | Analysis not yet complete — tell user to wait and check status later |
126
127If you receive a `token_expired` or `key_revoked` error, instruct the user to visit https://gene2.ai/api-keys to generate a fresh API key.
128
129## Guidelines for Presenting Genomic Data
130
131When presenting genomic information to the user, follow these guidelines:
132
1331. **Always include disclaimers**: Genetic data provides risk estimates, not diagnoses. Always remind users to consult healthcare professionals for medical decisions.
134
1352. **Explain risk levels clearly**: "Elevated risk" does not mean certainty. Explain that genetics is one factor among many (lifestyle, environment, family history).
136
1373. **Be actionable**: When sharing pharmacogenomics data, suggest the user discuss findings with their doctor before making medication changes.
138
1394. **Respect sensitivity**: Ancestry and health risk data can be emotionally sensitive. Present findings with care and context.
140
1415. **Cross-reference categories**: For holistic advice, combine insights across categories. For example, nutrigenomics data about vitamin D metabolism combined with health risk data can provide more complete recommendations.
142
1436. **Cite the specific variants**: When discussing a finding, mention the rsID (e.g., rs7903146) so the user can verify or research further.