一键导入
medication
Manage medication plans and track medication adherence with allergy checks, pregnancy safety warnings, and drug interaction detection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage medication plans and track medication adherence with allergy checks, pregnancy safety warnings, and drug interaction detection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI-driven health analysis system including comprehensive analysis, risk prediction, intelligent Q&A, and report generation.
Manage allergy records including drug, food, and environmental allergies with severity tracking and medical alert integration.
Track and assess child developmental milestones based on ASQ-3 and Denver II standards. Use when user mentions development, milestones, motor skills, language, social skills, or cognitive development.
Track child illness, symptoms, fever management, and medication records. Use when user mentions child sickness, fever, cough, cold, or disease.
Child mental health screening, mood tracking, behavior assessment, anxiety and ADHD screening. Use when user mentions child emotions, behavior, attention, mood swings, or mental concerns.
Track child diet, nutrition assessment, picky eating management, and dietary advice. Use when user mentions child eating, meals, nutrition, vitamins, or feeding issues.
| name | medication |
| description | Manage medication plans and track medication adherence with allergy checks, pregnancy safety warnings, and drug interaction detection. |
| argument-hint | <operation_type(add/log/list/history/status) medication_description_natural_language> |
| allowed-tools | Read, Write |
| schema | medication/schema.json |
Manage medications and medication plans, record daily medication intake, and track medication adherence.
User Input -> Parse Operation Type -> [add] Parse Medication Info -> Allergy Check -> Pregnancy Safety Check -> Drug Interaction Check -> Save
-> [log] Record Medication Status -> Save
-> [list] Display Medication List
-> [history] Display History
-> [status] Display Statistics
| Input Keywords | Operation |
|---|---|
| add | add |
| log | log |
| list | list |
| history | history |
| status | status |
Extract from natural language:
| User Input | Frequency Type | Schedule Record Count |
|---|---|---|
| 每天1次, 每日1次 | daily | 7 entries |
| 每天2次, 早晚各一次 | daily | 14 entries |
| 每天3次, 一日三次 | daily | 21 entries |
| 每周1次 | weekly | 1 entry |
| 隔天1次 | every_other_day | 4 entries |
| 按需 | as_needed | 0 entries |
| User Input | Standard Time |
|---|---|
| 早餐前 | 07:00 |
| 早餐后 | 08:00 |
| 午餐前 | 11:30 |
| 午餐后 | 12:30 |
| 晚餐前 | 17:30 |
| 晚餐后 | 18:30 |
| 睡前 | 21:00 |
| 早晚 | 08:00, 20:00 |
Check data/allergies.json for related allergies.
Common Drug Family Mapping:
| Drug Category | Includes Drugs |
|---|---|
| Penicillins | Penicillin, Amoxicillin, Ampicillin, Mezlocillin, etc. |
| Cephalosporins | Cefazolin, Cefixime, Ceftriaxone, etc. |
| Sulfonamides | Sulfamethoxazole, Sulfadiazine, etc. |
| NSAIDs | Aspirin, Ibuprofen, Diclofenac, etc. |
Check data/pregnancy-tracker.json and drug pregnancy categories.
| Pregnancy Category | Description | Risk |
|---|---|---|
| A | Safe | Lowest |
| B | Relatively Safe | Low |
| C | Use with Caution | Moderate |
| D | Contraindicated | High |
| X | Absolutely Contraindicated | Very High |
Check for interactions with current medications, classified by severity (A/B/C/D/X).
{
"id": "med_20251231123456789",
"name": "Aspirin",
"generic_name": "Aspirin",
"dosage": {
"value": 100,
"unit": "mg"
},
"frequency": {
"type": "daily",
"times_per_day": 1
},
"schedule": [
{
"weekday": 1,
"time": "08:00",
"timing_label": "After Breakfast",
"dose": {"value": 100, "unit": "mg"}
}
],
"instructions": "Take after breakfast",
"active": true
}
File path: data/medications/medications.json
| Taken Keywords | Missed Keywords |
|---|---|
| 已服用, 已服, 服了 | 忘记, 漏服, 未服 |
{
"date": "2025-12-31",
"logs": [
{
"id": "log_20251231080000001",
"medication_id": "med_xxx",
"medication_name": "Aspirin",
"scheduled_time": "08:00",
"actual_time": "2025-12-31T08:15:00",
"status": "taken",
"dose": {"value": 100, "unit": "mg"}
}
]
}
File path: data/medication-logs/YYYY-MM/YYYY-MM-DD.json
Adherence Percentage = (Actual Doses Taken / Planned Doses) x 100%
| Grade | Range |
|---|---|
| Excellent | >= 90% |
| Good | 70-89% |
| Needs Improvement | < 70% |
1. Parse operation type
2. [add] Parse medication info -> Safety checks -> Generate schedule -> Save
3. [log] Record medication status -> Save to log file
4. [list] Read medication list -> Format display
5. [history] Read log files -> Display by time
6. [status] Calculate adherence -> Display statistics
User: Aspirin 100mg once daily after breakfast
-> Allergy check -> Safety check -> Save
User: Already took Aspirin
-> Record status taken
User: Forgot to take Amlodipine
-> Record status missed, display make-up recommendation
User: View medication list
-> Display all active medications and schedules