{"id":"3ffa1459-d41a-4621-9e5e-4e84f4e7f3ed","entityType":"agent","slug":"clawhub-voronindenis5-medication-commander","name":"medication-commander","canonicalUrl":"https://www.xpersona.co/agent/clawhub-voronindenis5-medication-commander","canonicalPath":"/agent/clawhub-voronindenis5-medication-commander","generatedAt":"2026-10-09T20:36:30.698Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":null},"description":"Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list. Skill: medication-commander Owner: voronindenis5 Summary: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list. Tags: latest:0.1.1 Version history: v0.1.1 | 2026-08-11T11:58:33.268Z | auto - Removed the skill-card.md file. - No changes to code or primary documentation. - No impacts on fu","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17b6amkd3wzqgg640v03a9r1n83gxs1:medication-commander","sourceUrl":"https://clawhub.ai/voronindenis5/medication-commander","homepage":"https://clawhub.ai/voronindenis5/skills/medication-commander","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/voronindenis5/medication-commander","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/voronindenis5/skills/medication-commander","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":68,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklist"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":null},"stars":null,"forks":null,"downloads":2510,"packageName":null,"latestVersion":"0.1.1","tractionLabel":"2.5K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:07:21.678Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T14:07:21.679Z","lastCrawledAt":"2026-10-09T14:07:21.678Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T14:07:21.678Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.1","createdAt":"2026-08-11T11:58:33.268Z","changelog":"- Removed the skill-card.md file. - No changes to code or primary documentation. - No impacts on functionality or user experience.","fileCount":10,"zipByteSize":12683},{"version":"0.1.0","createdAt":"2026-08-05T19:49:20.614Z","changelog":"Medication Commander 1.0.0 — Initial Release - Generates safe, conflict-free daily medication schedules from user-provided medication lists. - Detects and warns about common drug-drug interactions, including severity and recommendations. - Tracks medication adherence by recording doses taken or missed and calculates adherence rates. - Issues refill reminders for medications running low (less than 7 days of supply left). - Creates printable daily medication checklists for ease of use. - Provides all features via simple command-line interface with structured JSON output.","fileCount":10,"zipByteSize":12757}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17b6amkd3wzqgg640v03a9r1n83gxs1:medication-commander","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T20:36:30.697Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-voronindenis5-medication-commander/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":null},"readme":"Skill: medication-commander\n\nOwner: voronindenis5\n\nSummary: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\n\nTags: latest:0.1.1\n\nVersion history:\n\nv0.1.1 | 2026-08-11T11:58:33.268Z | auto\n\n- Removed the skill-card.md file.  \n- No changes to code or primary documentation.  \n- No impacts on functionality or user experience.\n\nv0.1.0 | 2026-08-05T19:49:20.614Z | auto\n\nMedication Commander 1.0.0 — Initial Release\n\n- Generates safe, conflict-free daily medication schedules from user-provided medication lists.\n- Detects and warns about common drug-drug interactions, including severity and recommendations.\n- Tracks medication adherence by recording doses taken or missed and calculates adherence rates.\n- Issues refill reminders for medications running low (less than 7 days of supply left).\n- Creates printable daily medication checklists for ease of use.\n- Provides all features via simple command-line interface with structured JSON output.\n\nArchive index:\n\nArchive v0.1.1: 10 files, 12683 bytes\n\nFiles: LICENSE (1070b), README.md (2258b), references (0b), references/interactions.md (3728b), references/usage.md (3085b), scripts (0b), scripts/medication_commander.py (17053b), skill-card.md (2241b), SKILL.md (3127b), _meta.json (139b)\n\nFile v0.1.1:SKILL.md\n\n---\nname: medication-commander\ndescription: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\nversion: 1.0.0\nauthor: Denis Voronin\nlicense: MIT\ntags:\n  - health\n  - medication\n  - scheduling\n  - safety\n  - adherence\n---\n\n# Medication Commander\n\nA medication management agent skill that helps patients (especially elderly and chronic-disease patients) safely manage complex medication regimens.\n\n## What It Does\n\n- **Schedule generation** — takes a list of medications (name, dose, frequency, times) and produces a safe, conflict-free daily schedule.\n- **Drug interaction checking** — cross-references a built-in database of 30+ common drug-drug interactions and warns about severity (major / moderate / minor).\n- **Adherence tracking** — records doses taken / missed and calculates adherence percentage.\n- **Refill reminders** — calculates remaining days of supply based on pills remaining and daily usage, flagging refills needed within 7 days.\n- **Printable checklist** — outputs a plain-text daily checklist that can be printed or read aloud.\n\n## Quick Start\n\n```bash\n# Generate a schedule from a medication list (JSON)\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check interactions between medications\npython3 scripts/medication_commander.py interactions medications.json\n\n# Generate a printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Track adherence (mark a dose as taken)\npython3 scripts/medication_commander.py adhere --med \"Metformin\" --time \"08:00\" --taken\n\n# Check refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n## Input Format\n\n`medications.json`:\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  },\n  {\n    \"name\": \"Warfarin\",\n    \"dose\": \"5 mg\",\n    \"frequency\": \"once daily\",\n    \"times\": [\"09:00\"],\n    \"pills_remaining\": 10,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Output\n\nEach command produces structured JSON to stdout:\n\n- **schedule** — timeline of doses grouped by time slot, with spacing notes.\n- **interactions** — list of detected interaction pairs with severity, description, and recommendation.\n- **checklist** — plain-text, printable daily checklist.\n- **adhere** — updated adherence record (stored in `~/.medication_commander_adherence.json`).\n- **refills** — medications needing refill within 7 days, with days-of-supply remaining.\n\n## Reference Documentation\n\nSee [`references/interactions.md`](references/interactions.md) for the full interaction database reference, and [`references/usage.md`](references/usage.md) for detailed usage and output examples.\n\n## Safety Disclaimer\n\nThis tool is for informational and organizational purposes only. It is **not** a substitute for professional medical advice. Always consult a doctor or pharmacist about drug interactions, dosing changes, or adverse effects.\n\nFile v0.1.1:README.md\n\n# Medication Commander\n\nAn agent skill for managing medication schedules, detecting drug interactions, tracking adherence, and generating refill reminders.\n\n## Features\n\n- 🕐 **Safe Schedule Generation** — conflict-free daily medication timeline\n- ⚠️ **Drug Interaction Detection** — 30+ common drug pairs with severity ratings\n- ✅ **Adherence Tracking** — records taken/missed doses, calculates compliance %\n- 🔔 **Refill Reminders** — flags medications running low\n- 📋 **Printable Checklist** — daily checklist for print or screen reader\n\n## Installation\n\nCopy the skill folder into your agent's skills directory:\n\n```bash\ncp -r medication-commander /path/to/skills/\n```\n\n## Usage\n\n```bash\n# Generate a daily schedule\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check for drug interactions\npython3 scripts/medication_commander.py interactions medications.json\n\n# Printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n### Example medications.json\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Input Format\n\nEach medication entry:\n\n| Field | Type | Description |\n|---|---|---|\n| `name` | string | Medication name |\n| `dose` | string | Dosage (e.g., \"500 mg\") |\n| `frequency` | string | How often (e.g., \"once daily\", \"twice daily\") |\n| `times` | list | Times in 24h HH:MM format |\n| `pills_remaining` | int | Current supply count |\n| `pills_per_dose` | int | Pills taken per dose |\n\n## Output\n\nAll commands output JSON to stdout (except `checklist`, which outputs plain text).\n\n## Reference Documentation\n\n- [Interaction Database](references/interactions.md) — full list of 30+ monitored drug pairs\n- [Usage Guide](references/usage.md) — detailed command reference and output examples\n\n## Safety Disclaimer\n\n⚠️ **Not medical advice.** This tool is for organizational purposes only. Always consult a licensed healthcare provider regarding medication interactions, dosing, and treatment decisions.\n\n## License\n\nMIT © Denis Voronin\n\nFile v0.1.1:_meta.json\n\n{\n  \"ownerId\": \"kn75wwn4x6djaf28jbykeamazd81gtdp\",\n  \"slug\": \"medication-commander\",\n  \"version\": \"0.1.1\",\n  \"publishedAt\": 1786449513268\n}\n\nFile v0.1.1:references/interactions.md\n\n# Drug Interaction Database Reference\n\nThis document describes the built-in drug-drug interaction database used by `medication_commander.py`.\n\n## Database Structure\n\nEach interaction entry contains:\n\n| Field | Description |\n|---|---|\n| `drug_a` | First drug name (generic) |\n| `drug_b` | Second drug name (generic) |\n| `severity` | `major`, `moderate`, or `minor` |\n| `description` | What happens when these two drugs are combined |\n| `recommendation` | Clinical recommendation |\n\n## Monitored Interactions (30+ pairs)\n\n### Major Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Warfarin | Aspirin | Significantly increased bleeding risk |\n| Warfarin | Ibuprofen | Increased anticoagulant effect and GI bleeding |\n| Warfarin | Amiodarone | Markedly increases warfarin levels |\n| Warfarin | Fluconazole | Inhibits warfarin metabolism, bleeding risk |\n| Warfarin | Sulfamethoxazole | Enhanced anticoagulant effect |\n| Warfarin | Ciprofloxacin | Increased warfarin effect |\n| Warfarin | Metronidazole | Potent inhibition of warfarin metabolism |\n| Lisinopril | Spironolactone | Severe hyperkalemia risk |\n| Enalapril | Potassium chloride | Hyperkalemia |\n| Lisinopril | Potassium chloride | Hyperkalemia |\n| Clonidine | Propranolol | Rebound hypertension if clonidine stopped |\n| SSRI (Fluoxetine) | MAOI (Phenelzine) | Serotonin syndrome risk |\n| Tramadol | Fluoxetine | Serotonin syndrome risk |\n| Tramadol | MAOI | Serotonin syndrome and seizure risk |\n| Hydrocodone | Alprazolam | Severe respiratory depression |\n| Oxycodone | Lorazepam | Respiratory depression risk |\n| Methotrexate | Trimethoprim | Increased methotrexate toxicity (bone marrow suppression) |\n| Simvastatin | Amiodarone | High rhabdomyolysis risk |\n| Simvastatin | Clarithromycin | Rhabdomyolysis risk |\n| Digoxin | Amiodarone | Increased digoxin toxicity |\n| Digoxin | Verapamil | Elevated digoxin levels |\n| Theophylline | Ciprofloxacin | Theophylline toxicity |\n| Lithium | Ibuprofen | Increased lithium levels (toxicity) |\n| Lithium | Hydrochlorothiazide | Reduced lithium excretion, toxicity |\n\n### Moderate Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Simvastatin | Diltiazem | Increased statin levels, myopathy risk |\n| Metformin | Cimetidine | Decreased metformin clearance |\n| Ramipril | Potassium-sparing diuretics | Hyperkalemia |\n| Gabapentin | Hydrocodone | Increased CNS depression |\n| Amlodipine | Simvastatin | Increased statin levels |\n| Sertraline | Ibuprofen | Increased GI bleeding risk |\n| Clopidogrel | Omeprazole | Reduced clopidogrel activation |\n| Levothyroxine | Calcium carbonate | Decreased levothyroxine absorption |\n| Levothyroxine | Iron sulfate | Decreased levothyroxine absorption |\n| Tamsulosin | Tadalafil | Orthostatic hypotension |\n\n### Minor Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Acetaminophen | Warfarin | Minor INR increase with chronic high-dose use |\n\n## Severity Definitions\n\n- **Major** — The interaction is clinically significant and potentially life-threatening. Avoid combination or require close monitoring and dose adjustment under medical supervision.\n- **Moderate** — The interaction may cause deterioration in patient status. Monitor therapy, consider alternatives, or adjust doses.\n- **Minor** — The interaction is unlikely to require intervention but should be noted.\n\n## Important Notes\n\nThis database covers a **limited** set of common drug-drug interactions. It does **not** cover:\n- Drug-allergy interactions\n- Drug-disease contraindications\n- Drug-food interactions (except where noted)\n- Drug-laboratory test interference\n- Herbal / supplement interactions\n\n**Always verify with a pharmacist or drug interaction database for a complete check.**\n\nFile v0.1.1:references/usage.md\n\n# Usage Guide\n\nDetailed reference for `medication_commander.py` commands and output formats.\n\n## Commands\n\n### `schedule medications.json`\n\nGenerates a daily schedule from the medication list.\n\n**Output:**\n\n```json\n{\n  \"schedule\": [\n    {\n      \"time\": \"08:00\",\n      \"medications\": [\n        {\"name\": \"Metformin\", \"dose\": \"500 mg\"}\n      ],\n      \"note\": \"Take with food\"\n    }\n  ],\n  \"warnings\": [\n    \"Warfarin and Aspirin: significantly increased bleeding risk (major)\"\n  ]\n}\n```\n\n### `interactions medications.json`\n\nChecks all pairs of medications against the interaction database.\n\n**Output:**\n\n```json\n{\n  \"checked_pairs\": 3,\n  \"interactions_found\": 1,\n  \"interactions\": [\n    {\n      \"drug_a\": \"Warfarin\",\n      \"drug_b\": \"Aspirin\",\n      \"severity\": \"major\",\n      \"description\": \"Significantly increased bleeding risk\",\n      \"recommendation\": \"Avoid co-administration; consult prescribing physician immediately.\"\n    }\n  ]\n}\n```\n\n### `checklist medications.json`\n\nOutputs a plain-text printable daily checklist.\n\n**Output:**\n\n```text\n═══════════════════════════════════════════\n          DAILY MEDICATION CHECKLIST\n═══════════════════════════════════════════\n\nDate: ____________\n\nMorning (08:00)\n  [ ] Metformin — 500 mg — Take with food\n  [ ] Warfarin — 5 mg\n\nEvening (20:00)\n  [ ] Metformin — 500 mg\n\n───────────────────────────────────────────\n⚠️  INTERACTION WARNING:\n    Warfarin + Aspirin → major bleeding risk\n───────────────────────────────────────────\n```\n\n### `adhere --med NAME --time HH:MM [--taken | --missed]`\n\nRecords a dose as taken or missed. Adherence data is stored in\n`~/.medication_commander_adherence.json`.\n\n**Output:**\n\n```json\n{\n  \"medication\": \"Metformin\",\n  \"time\": \"08:00\",\n  \"status\": \"taken\",\n  \"adherence_rate\": 92.5\n}\n```\n\n### `refills medications.json`\n\nChecks each medication's remaining supply and flags those needing refill\nwithin 7 days.\n\n**Output:**\n\n```json\n{\n  \"refills_needed\": [\n    {\n      \"name\": \"Warfarin\",\n      \"days_remaining\": 4,\n      \"pills_remaining\": 4,\n      \"pills_per_day\": 1\n    }\n  ],\n  \"all_clear\": []\n}\n```\n\n## Adherence Data Format\n\nAdherence records are stored in `~/.medication_commander_adherence.json`:\n\n```json\n{\n  \"Metformin\": {\n    \"08:00\": {\"taken\": 18, \"missed\": 2},\n    \"20:00\": {\"taken\": 19, \"missed\": 1}\n  },\n  \"Warfarin\": {\n    \"09:00\": {\"taken\": 20, \"missed\": 0}\n  }\n}\n```\n\nThe adherence rate is calculated as:\n\n```\nadherence_rate = (total_taken / (total_taken + total_missed)) × 100\n```\n\n## Tips\n\n- Run `interactions` whenever a medication is added or changed.\n- Run `schedule` and print the `checklist` each morning.\n- Run `refills` weekly to stay ahead of pharmacy visits.\n- Use `adhere` after each dose to maintain accurate tracking.\n\nFile v0.1.1:skill-card.md\n\n## Description:\n\nManages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[voronindenis5](https://clawhub.ai/user/voronindenis5)\n\n### License/Terms of Use:\n\nMIT\n\n## Use Case:\n\nExternal users and their supporting agents use this skill to organize medication schedules, check a limited built-in interaction list, track dose adherence, generate refill reminders, and produce printable daily checklists.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Adherence tracking can store health-related medication history in a local plaintext file.\n\nMitigation: Use the adherence feature only on trusted machines; restrict file permissions, avoid shared or synced locations, and delete the adherence file when it is no longer needed.\n\nRisk: Interaction checks use a limited built-in database and may not cover all clinically relevant medication risks.\n\nMitigation: Treat results as organizational support only and verify medication interactions, dosing changes, and adverse effects with a licensed clinician, pharmacist, or authoritative interaction database.\n\n## Reference(s):\n\n- [Source repository](https://github.com/voronindenis5/medication-commander)\n- [ClawHub skill page](https://clawhub.ai/voronindenis5/skills/medication-commander)\n- [Drug Interaction Database Reference](references/interactions.md)\n- [Usage Guide](references/usage.md)\n\n## Skill Output:\n\n**Output Type(s):** [text, shell commands, guidance]\n\n**Output Format:** [Markdown guidance with shell commands; command output is JSON or plain text]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Adherence records are written to a local plaintext JSON file when the adherence command is used.]\n\n## Skill Version(s):\n\n0.1.1 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v0.1.1:LICENSE\n\nMIT License\n\nCopyright (c) 2026 Denis Voronin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nArchive v0.1.0: 10 files, 12757 bytes\n\nFiles: LICENSE (1070b), README.md (2258b), references (0b), references/interactions.md (3728b), references/usage.md (3085b), scripts (0b), scripts/medication_commander.py (17053b), skill-card.md (2375b), SKILL.md (3127b), _meta.json (139b)\n\nFile v0.1.0:SKILL.md\n\n---\nname: medication-commander\ndescription: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\nversion: 1.0.0\nauthor: Denis Voronin\nlicense: MIT\ntags:\n  - health\n  - medication\n  - scheduling\n  - safety\n  - adherence\n---\n\n# Medication Commander\n\nA medication management agent skill that helps patients (especially elderly and chronic-disease patients) safely manage complex medication regimens.\n\n## What It Does\n\n- **Schedule generation** — takes a list of medications (name, dose, frequency, times) and produces a safe, conflict-free daily schedule.\n- **Drug interaction checking** — cross-references a built-in database of 30+ common drug-drug interactions and warns about severity (major / moderate / minor).\n- **Adherence tracking** — records doses taken / missed and calculates adherence percentage.\n- **Refill reminders** — calculates remaining days of supply based on pills remaining and daily usage, flagging refills needed within 7 days.\n- **Printable checklist** — outputs a plain-text daily checklist that can be printed or read aloud.\n\n## Quick Start\n\n```bash\n# Generate a schedule from a medication list (JSON)\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check interactions between medications\npython3 scripts/medication_commander.py interactions medications.json\n\n# Generate a printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Track adherence (mark a dose as taken)\npython3 scripts/medication_commander.py adhere --med \"Metformin\" --time \"08:00\" --taken\n\n# Check refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n## Input Format\n\n`medications.json`:\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  },\n  {\n    \"name\": \"Warfarin\",\n    \"dose\": \"5 mg\",\n    \"frequency\": \"once daily\",\n    \"times\": [\"09:00\"],\n    \"pills_remaining\": 10,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Output\n\nEach command produces structured JSON to stdout:\n\n- **schedule** — timeline of doses grouped by time slot, with spacing notes.\n- **interactions** — list of detected interaction pairs with severity, description, and recommendation.\n- **checklist** — plain-text, printable daily checklist.\n- **adhere** — updated adherence record (stored in `~/.medication_commander_adherence.json`).\n- **refills** — medications needing refill within 7 days, with days-of-supply remaining.\n\n## Reference Documentation\n\nSee [`references/interactions.md`](references/interactions.md) for the full interaction database reference, and [`references/usage.md`](references/usage.md) for detailed usage and output examples.\n\n## Safety Disclaimer\n\nThis tool is for informational and organizational purposes only. It is **not** a substitute for professional medical advice. Always consult a doctor or pharmacist about drug interactions, dosing changes, or adverse effects.\n\nFile v0.1.0:README.md\n\n# Medication Commander\n\nAn agent skill for managing medication schedules, detecting drug interactions, tracking adherence, and generating refill reminders.\n\n## Features\n\n- 🕐 **Safe Schedule Generation** — conflict-free daily medication timeline\n- ⚠️ **Drug Interaction Detection** — 30+ common drug pairs with severity ratings\n- ✅ **Adherence Tracking** — records taken/missed doses, calculates compliance %\n- 🔔 **Refill Reminders** — flags medications running low\n- 📋 **Printable Checklist** — daily checklist for print or screen reader\n\n## Installation\n\nCopy the skill folder into your agent's skills directory:\n\n```bash\ncp -r medication-commander /path/to/skills/\n```\n\n## Usage\n\n```bash\n# Generate a daily schedule\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check for drug interactions\npython3 scripts/medication_commander.py interactions medications.json\n\n# Printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n### Example medications.json\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Input Format\n\nEach medication entry:\n\n| Field | Type | Description |\n|---|---|---|\n| `name` | string | Medication name |\n| `dose` | string | Dosage (e.g., \"500 mg\") |\n| `frequency` | string | How often (e.g., \"once daily\", \"twice daily\") |\n| `times` | list | Times in 24h HH:MM format |\n| `pills_remaining` | int | Current supply count |\n| `pills_per_dose` | int | Pills taken per dose |\n\n## Output\n\nAll commands output JSON to stdout (except `checklist`, which outputs plain text).\n\n## Reference Documentation\n\n- [Interaction Database](references/interactions.md) — full list of 30+ monitored drug pairs\n- [Usage Guide](references/usage.md) — detailed command reference and output examples\n\n## Safety Disclaimer\n\n⚠️ **Not medical advice.** This tool is for organizational purposes only. Always consult a licensed healthcare provider regarding medication interactions, dosing, and treatment decisions.\n\n## License\n\nMIT © Denis Voronin\n\nFile v0.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn75wwn4x6djaf28jbykeamazd81gtdp\",\n  \"slug\": \"medication-commander\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1785959360614\n}\n\nFile v0.1.0:references/interactions.md\n\n# Drug Interaction Database Reference\n\nThis document describes the built-in drug-drug interaction database used by `medication_commander.py`.\n\n## Database Structure\n\nEach interaction entry contains:\n\n| Field | Description |\n|---|---|\n| `drug_a` | First drug name (generic) |\n| `drug_b` | Second drug name (generic) |\n| `severity` | `major`, `moderate`, or `minor` |\n| `description` | What happens when these two drugs are combined |\n| `recommendation` | Clinical recommendation |\n\n## Monitored Interactions (30+ pairs)\n\n### Major Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Warfarin | Aspirin | Significantly increased bleeding risk |\n| Warfarin | Ibuprofen | Increased anticoagulant effect and GI bleeding |\n| Warfarin | Amiodarone | Markedly increases warfarin levels |\n| Warfarin | Fluconazole | Inhibits warfarin metabolism, bleeding risk |\n| Warfarin | Sulfamethoxazole | Enhanced anticoagulant effect |\n| Warfarin | Ciprofloxacin | Increased warfarin effect |\n| Warfarin | Metronidazole | Potent inhibition of warfarin metabolism |\n| Lisinopril | Spironolactone | Severe hyperkalemia risk |\n| Enalapril | Potassium chloride | Hyperkalemia |\n| Lisinopril | Potassium chloride | Hyperkalemia |\n| Clonidine | Propranolol | Rebound hypertension if clonidine stopped |\n| SSRI (Fluoxetine) | MAOI (Phenelzine) | Serotonin syndrome risk |\n| Tramadol | Fluoxetine | Serotonin syndrome risk |\n| Tramadol | MAOI | Serotonin syndrome and seizure risk |\n| Hydrocodone | Alprazolam | Severe respiratory depression |\n| Oxycodone | Lorazepam | Respiratory depression risk |\n| Methotrexate | Trimethoprim | Increased methotrexate toxicity (bone marrow suppression) |\n| Simvastatin | Amiodarone | High rhabdomyolysis risk |\n| Simvastatin | Clarithromycin | Rhabdomyolysis risk |\n| Digoxin | Amiodarone | Increased digoxin toxicity |\n| Digoxin | Verapamil | Elevated digoxin levels |\n| Theophylline | Ciprofloxacin | Theophylline toxicity |\n| Lithium | Ibuprofen | Increased lithium levels (toxicity) |\n| Lithium | Hydrochlorothiazide | Reduced lithium excretion, toxicity |\n\n### Moderate Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Simvastatin | Diltiazem | Increased statin levels, myopathy risk |\n| Metformin | Cimetidine | Decreased metformin clearance |\n| Ramipril | Potassium-sparing diuretics | Hyperkalemia |\n| Gabapentin | Hydrocodone | Increased CNS depression |\n| Amlodipine | Simvastatin | Increased statin levels |\n| Sertraline | Ibuprofen | Increased GI bleeding risk |\n| Clopidogrel | Omeprazole | Reduced clopidogrel activation |\n| Levothyroxine | Calcium carbonate | Decreased levothyroxine absorption |\n| Levothyroxine | Iron sulfate | Decreased levothyroxine absorption |\n| Tamsulosin | Tadalafil | Orthostatic hypotension |\n\n### Minor Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Acetaminophen | Warfarin | Minor INR increase with chronic high-dose use |\n\n## Severity Definitions\n\n- **Major** — The interaction is clinically significant and potentially life-threatening. Avoid combination or require close monitoring and dose adjustment under medical supervision.\n- **Moderate** — The interaction may cause deterioration in patient status. Monitor therapy, consider alternatives, or adjust doses.\n- **Minor** — The interaction is unlikely to require intervention but should be noted.\n\n## Important Notes\n\nThis database covers a **limited** set of common drug-drug interactions. It does **not** cover:\n- Drug-allergy interactions\n- Drug-disease contraindications\n- Drug-food interactions (except where noted)\n- Drug-laboratory test interference\n- Herbal / supplement interactions\n\n**Always verify with a pharmacist or drug interaction database for a complete check.**\n\nFile v0.1.0:references/usage.md\n\n# Usage Guide\n\nDetailed reference for `medication_commander.py` commands and output formats.\n\n## Commands\n\n### `schedule medications.json`\n\nGenerates a daily schedule from the medication list.\n\n**Output:**\n\n```json\n{\n  \"schedule\": [\n    {\n      \"time\": \"08:00\",\n      \"medications\": [\n        {\"name\": \"Metformin\", \"dose\": \"500 mg\"}\n      ],\n      \"note\": \"Take with food\"\n    }\n  ],\n  \"warnings\": [\n    \"Warfarin and Aspirin: significantly increased bleeding risk (major)\"\n  ]\n}\n```\n\n### `interactions medications.json`\n\nChecks all pairs of medications against the interaction database.\n\n**Output:**\n\n```json\n{\n  \"checked_pairs\": 3,\n  \"interactions_found\": 1,\n  \"interactions\": [\n    {\n      \"drug_a\": \"Warfarin\",\n      \"drug_b\": \"Aspirin\",\n      \"severity\": \"major\",\n      \"description\": \"Significantly increased bleeding risk\",\n      \"recommendation\": \"Avoid co-administration; consult prescribing physician immediately.\"\n    }\n  ]\n}\n```\n\n### `checklist medications.json`\n\nOutputs a plain-text printable daily checklist.\n\n**Output:**\n\n```text\n═══════════════════════════════════════════\n          DAILY MEDICATION CHECKLIST\n═══════════════════════════════════════════\n\nDate: ____________\n\nMorning (08:00)\n  [ ] Metformin — 500 mg — Take with food\n  [ ] Warfarin — 5 mg\n\nEvening (20:00)\n  [ ] Metformin — 500 mg\n\n───────────────────────────────────────────\n⚠️  INTERACTION WARNING:\n    Warfarin + Aspirin → major bleeding risk\n───────────────────────────────────────────\n```\n\n### `adhere --med NAME --time HH:MM [--taken | --missed]`\n\nRecords a dose as taken or missed. Adherence data is stored in\n`~/.medication_commander_adherence.json`.\n\n**Output:**\n\n```json\n{\n  \"medication\": \"Metformin\",\n  \"time\": \"08:00\",\n  \"status\": \"taken\",\n  \"adherence_rate\": 92.5\n}\n```\n\n### `refills medications.json`\n\nChecks each medication's remaining supply and flags those needing refill\nwithin 7 days.\n\n**Output:**\n\n```json\n{\n  \"refills_needed\": [\n    {\n      \"name\": \"Warfarin\",\n      \"days_remaining\": 4,\n      \"pills_remaining\": 4,\n      \"pills_per_day\": 1\n    }\n  ],\n  \"all_clear\": []\n}\n```\n\n## Adherence Data Format\n\nAdherence records are stored in `~/.medication_commander_adherence.json`:\n\n```json\n{\n  \"Metformin\": {\n    \"08:00\": {\"taken\": 18, \"missed\": 2},\n    \"20:00\": {\"taken\": 19, \"missed\": 1}\n  },\n  \"Warfarin\": {\n    \"09:00\": {\"taken\": 20, \"missed\": 0}\n  }\n}\n```\n\nThe adherence rate is calculated as:\n\n```\nadherence_rate = (total_taken / (total_taken + total_missed)) × 100\n```\n\n## Tips\n\n- Run `interactions` whenever a medication is added or changed.\n- Run `schedule` and print the `checklist` each morning.\n- Run `refills` weekly to stay ahead of pharmacy visits.\n- Use `adhere` after each dose to maintain accurate tracking.\n\nFile v0.1.0:skill-card.md\n\n## Description:\n\nManages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[voronindenis5](https://clawhub.ai/user/voronindenis5)\n\n### License/Terms of Use:\n\nMIT\n\n## Use Case:\n\nExternal users and care-support workflows can use this skill to organize medication timing, review a limited built-in set of drug interaction warnings, track doses taken or missed, and prepare refill reminders and printable daily checklists.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill handles health-related medication schedules and a limited built-in interaction database that may be incomplete or unsuitable for clinical decisions.\n\nMitigation: Treat outputs as informational organization aids and verify medication decisions with a clinician, pharmacist, or authoritative drug-interaction database.\n\nRisk: The adherence feature creates a local health-related history file at ~/.medication_commander_adherence.json.\n\nMitigation: Avoid using adherence tracking on shared machines unless local account protections are appropriate, and delete the file when the retained history is no longer needed.\n\n## Reference(s):\n\n- [Interaction Database Reference](references/interactions.md)\n- [Usage Guide](references/usage.md)\n- [Server-Resolved GitHub Repository](https://github.com/voronindenis5/medication-commander)\n- [ClawHub Skill Page](https://clawhub.ai/voronindenis5/skills/medication-commander)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [JSON command output, plain-text printable checklists, Markdown documentation, and shell command examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [The adherence command stores local history in ~/.medication_commander_adherence.json.]\n\n## Skill Version(s):\n\n0.1.0 (source: server release metadata; artifact frontmatter states 1.0.0)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v0.1.0:LICENSE\n\nMIT License\n\nCopyright (c) 2026 Denis Voronin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","readmeExcerpt":"Skill: medication-commander Owner: voronindenis5 Summary: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list. Tags: latest:0.1.1 Version history: v0.1.1 | 2026-08-11T11:58:33.268Z | auto - Removed the skill-card.md file. - No changes to code or primary documentation. - No impacts on fu","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# Generate a schedule from a medication list (JSON)\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check interactions between medications\npython3 scripts/medication_commander.py interactions medications.json\n\n# Generate a printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Track adherence (mark a dose as taken)\npython3 scripts/medication_commander.py adhere --med \"Metformin\" --time \"08:00\" --taken\n\n# Check refill status\npython3 scripts/medication_commander.py refills medications.json"},{"language":"json","snippet":"[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  },\n  {\n    \"name\": \"Warfarin\",\n    \"dose\": \"5 mg\",\n    \"frequency\": \"once daily\",\n    \"times\": [\"09:00\"],\n    \"pills_remaining\": 10,\n    \"pills_per_dose\": 1\n  }\n]"},{"language":"bash","snippet":"cp -r medication-commander /path/to/skills/"},{"language":"bash","snippet":"# Generate a daily schedule\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check for drug interactions\npython3 scripts/medication_commander.py interactions medications.json\n\n# Printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Refill status\npython3 scripts/medication_commander.py refills medications.json"},{"language":"json","snippet":"[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  }\n]"},{"language":"json","snippet":"{\n  \"schedule\": [\n    {\n      \"time\": \"08:00\",\n      \"medications\": [\n        {\"name\": \"Metformin\", \"dose\": \"500 mg\"}\n      ],\n      \"note\": \"Take with food\"\n    }\n  ],\n  \"warnings\": [\n    \"Warfarin and Aspirin: significantly increased bleeding risk (major)\"\n  ]\n}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: medication-commander\ndescription: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list.\nversion: 1.0.0\nauthor: Denis Voronin\nlicense: MIT\ntags:\n  - health\n  - medication\n  - scheduling\n  - safety\n  - adherence\n---\n\n# Medication Commander\n\nA medication management agent skill that helps patients (especially elderly and chronic-disease patients) safely manage complex medication regimens.\n\n## What It Does\n\n- **Schedule generation** — takes a list of medications (name, dose, frequency, times) and produces a safe, conflict-free daily schedule.\n- **Drug interaction checking** — cross-references a built-in database of 30+ common drug-drug interactions and warns about severity (major / moderate / minor).\n- **Adherence tracking** — records doses taken / missed and calculates adherence percentage.\n- **Refill reminders** — calculates remaining days of supply based on pills remaining and daily usage, flagging refills needed within 7 days.\n- **Printable checklist** — outputs a plain-text daily checklist that can be printed or read aloud.\n\n## Quick Start\n\n```bash\n# Generate a schedule from a medication list (JSON)\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check interactions between medications\npython3 scripts/medication_commander.py interactions medications.json\n\n# Generate a printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Track adherence (mark a dose as taken)\npython3 scripts/medication_commander.py adhere --med \"Metformin\" --time \"08:00\" --taken\n\n# Check refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n## Input Format\n\n`medications.json`:\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  },\n  {\n    \"name\": \"Warfarin\",\n    \"dose\": \"5 mg\",\n    \"frequency\": \"once daily\",\n    \"times\": [\"09:00\"],\n    \"pills_remaining\": 10,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Output\n\nEach command produces structured JSON to stdout:\n\n- **schedule** — timeline of doses grouped by time slot, with spacing notes.\n- **interactions** — list of detected interaction pairs with severity, description, and recommendation.\n- **checklist** — plain-text, printable daily checklist.\n- **adhere** — updated adherence record (stored in `~/.medication_commander_adherence.json`).\n- **refills** — medications needing refill within 7 days, with days-of-supply remaining.\n\n## Reference Documentation\n\nSee [`references/interactions.md`](references/interactions.md) for the full interaction database reference, and [`references/usage.md`](references/usage.md) for detailed usage and output examples.\n\n## Safety Disclaimer\n\nThis tool is for informational and organizational purposes only. It is **not** a substitute for professional medical "},{"path":"README.md","content":"# Medication Commander\n\nAn agent skill for managing medication schedules, detecting drug interactions, tracking adherence, and generating refill reminders.\n\n## Features\n\n- 🕐 **Safe Schedule Generation** — conflict-free daily medication timeline\n- ⚠️ **Drug Interaction Detection** — 30+ common drug pairs with severity ratings\n- ✅ **Adherence Tracking** — records taken/missed doses, calculates compliance %\n- 🔔 **Refill Reminders** — flags medications running low\n- 📋 **Printable Checklist** — daily checklist for print or screen reader\n\n## Installation\n\nCopy the skill folder into your agent's skills directory:\n\n```bash\ncp -r medication-commander /path/to/skills/\n```\n\n## Usage\n\n```bash\n# Generate a daily schedule\npython3 scripts/medication_commander.py schedule medications.json\n\n# Check for drug interactions\npython3 scripts/medication_commander.py interactions medications.json\n\n# Printable daily checklist\npython3 scripts/medication_commander.py checklist medications.json\n\n# Refill status\npython3 scripts/medication_commander.py refills medications.json\n```\n\n### Example medications.json\n\n```json\n[\n  {\n    \"name\": \"Metformin\",\n    \"dose\": \"500 mg\",\n    \"frequency\": \"twice daily\",\n    \"times\": [\"08:00\", \"20:00\"],\n    \"pills_remaining\": 42,\n    \"pills_per_dose\": 1\n  }\n]\n```\n\n## Input Format\n\nEach medication entry:\n\n| Field | Type | Description |\n|---|---|---|\n| `name` | string | Medication name |\n| `dose` | string | Dosage (e.g., \"500 mg\") |\n| `frequency` | string | How often (e.g., \"once daily\", \"twice daily\") |\n| `times` | list | Times in 24h HH:MM format |\n| `pills_remaining` | int | Current supply count |\n| `pills_per_dose` | int | Pills taken per dose |\n\n## Output\n\nAll commands output JSON to stdout (except `checklist`, which outputs plain text).\n\n## Reference Documentation\n\n- [Interaction Database](references/interactions.md) — full list of 30+ monitored drug pairs\n- [Usage Guide](references/usage.md) — detailed command reference and output examples\n\n## Safety Disclaimer\n\n⚠️ **Not medical advice.** This tool is for organizational purposes only. Always consult a licensed healthcare provider regarding medication interactions, dosing, and treatment decisions.\n\n## License\n\nMIT © Denis Voronin"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn75wwn4x6djaf28jbykeamazd81gtdp\",\n  \"slug\": \"medication-commander\",\n  \"version\": \"0.1.1\",\n  \"publishedAt\": 1786449513268\n}"},{"path":"references/interactions.md","content":"# Drug Interaction Database Reference\n\nThis document describes the built-in drug-drug interaction database used by `medication_commander.py`.\n\n## Database Structure\n\nEach interaction entry contains:\n\n| Field | Description |\n|---|---|\n| `drug_a` | First drug name (generic) |\n| `drug_b` | Second drug name (generic) |\n| `severity` | `major`, `moderate`, or `minor` |\n| `description` | What happens when these two drugs are combined |\n| `recommendation` | Clinical recommendation |\n\n## Monitored Interactions (30+ pairs)\n\n### Major Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Warfarin | Aspirin | Significantly increased bleeding risk |\n| Warfarin | Ibuprofen | Increased anticoagulant effect and GI bleeding |\n| Warfarin | Amiodarone | Markedly increases warfarin levels |\n| Warfarin | Fluconazole | Inhibits warfarin metabolism, bleeding risk |\n| Warfarin | Sulfamethoxazole | Enhanced anticoagulant effect |\n| Warfarin | Ciprofloxacin | Increased warfarin effect |\n| Warfarin | Metronidazole | Potent inhibition of warfarin metabolism |\n| Lisinopril | Spironolactone | Severe hyperkalemia risk |\n| Enalapril | Potassium chloride | Hyperkalemia |\n| Lisinopril | Potassium chloride | Hyperkalemia |\n| Clonidine | Propranolol | Rebound hypertension if clonidine stopped |\n| SSRI (Fluoxetine) | MAOI (Phenelzine) | Serotonin syndrome risk |\n| Tramadol | Fluoxetine | Serotonin syndrome risk |\n| Tramadol | MAOI | Serotonin syndrome and seizure risk |\n| Hydrocodone | Alprazolam | Severe respiratory depression |\n| Oxycodone | Lorazepam | Respiratory depression risk |\n| Methotrexate | Trimethoprim | Increased methotrexate toxicity (bone marrow suppression) |\n| Simvastatin | Amiodarone | High rhabdomyolysis risk |\n| Simvastatin | Clarithromycin | Rhabdomyolysis risk |\n| Digoxin | Amiodarone | Increased digoxin toxicity |\n| Digoxin | Verapamil | Elevated digoxin levels |\n| Theophylline | Ciprofloxacin | Theophylline toxicity |\n| Lithium | Ibuprofen | Increased lithium levels (toxicity) |\n| Lithium | Hydrochlorothiazide | Reduced lithium excretion, toxicity |\n\n### Moderate Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Simvastatin | Diltiazem | Increased statin levels, myopathy risk |\n| Metformin | Cimetidine | Decreased metformin clearance |\n| Ramipril | Potassium-sparing diuretics | Hyperkalemia |\n| Gabapentin | Hydrocodone | Increased CNS depression |\n| Amlodipine | Simvastatin | Increased statin levels |\n| Sertraline | Ibuprofen | Increased GI bleeding risk |\n| Clopidogrel | Omeprazole | Reduced clopidogrel activation |\n| Levothyroxine | Calcium carbonate | Decreased levothyroxine absorption |\n| Levothyroxine | Iron sulfate | Decreased levothyroxine absorption |\n| Tamsulosin | Tadalafil | Orthostatic hypotension |\n\n### Minor Severity\n\n| Drug A | Drug B | Description |\n|---|---|---|\n| Acetaminophen | Warfarin | Minor INR increase with chronic high-dose use |\n\n## Severity Definitions\n\n- **Major** — The interaction is clinically significant and pote"},{"path":"references/usage.md","content":"# Usage Guide\n\nDetailed reference for `medication_commander.py` commands and output formats.\n\n## Commands\n\n### `schedule medications.json`\n\nGenerates a daily schedule from the medication list.\n\n**Output:**\n\n```json\n{\n  \"schedule\": [\n    {\n      \"time\": \"08:00\",\n      \"medications\": [\n        {\"name\": \"Metformin\", \"dose\": \"500 mg\"}\n      ],\n      \"note\": \"Take with food\"\n    }\n  ],\n  \"warnings\": [\n    \"Warfarin and Aspirin: significantly increased bleeding risk (major)\"\n  ]\n}\n```\n\n### `interactions medications.json`\n\nChecks all pairs of medications against the interaction database.\n\n**Output:**\n\n```json\n{\n  \"checked_pairs\": 3,\n  \"interactions_found\": 1,\n  \"interactions\": [\n    {\n      \"drug_a\": \"Warfarin\",\n      \"drug_b\": \"Aspirin\",\n      \"severity\": \"major\",\n      \"description\": \"Significantly increased bleeding risk\",\n      \"recommendation\": \"Avoid co-administration; consult prescribing physician immediately.\"\n    }\n  ]\n}\n```\n\n### `checklist medications.json`\n\nOutputs a plain-text printable daily checklist.\n\n**Output:**\n\n```text\n═══════════════════════════════════════════\n          DAILY MEDICATION CHECKLIST\n═══════════════════════════════════════════\n\nDate: ____________\n\nMorning (08:00)\n  [ ] Metformin — 500 mg — Take with food\n  [ ] Warfarin — 5 mg\n\nEvening (20:00)\n  [ ] Metformin — 500 mg\n\n───────────────────────────────────────────\n⚠️  INTERACTION WARNING:\n    Warfarin + Aspirin → major bleeding risk\n───────────────────────────────────────────\n```\n\n### `adhere --med NAME --time HH:MM [--taken | --missed]`\n\nRecords a dose as taken or missed. Adherence data is stored in\n`~/.medication_commander_adherence.json`.\n\n**Output:**\n\n```json\n{\n  \"medication\": \"Metformin\",\n  \"time\": \"08:00\",\n  \"status\": \"taken\",\n  \"adherence_rate\": 92.5\n}\n```\n\n### `refills medications.json`\n\nChecks each medication's remaining supply and flags those needing refill\nwithin 7 days.\n\n**Output:**\n\n```json\n{\n  \"refills_needed\": [\n    {\n      \"name\": \"Warfarin\",\n      \"days_remaining\": 4,\n      \"pills_remaining\": 4,\n      \"pills_per_day\": 1\n    }\n  ],\n  \"all_clear\": []\n}\n```\n\n## Adherence Data Format\n\nAdherence records are stored in `~/.medication_commander_adherence.json`:\n\n```json\n{\n  \"Metformin\": {\n    \"08:00\": {\"taken\": 18, \"missed\": 2},\n    \"20:00\": {\"taken\": 19, \"missed\": 1}\n  },\n  \"Warfarin\": {\n    \"09:00\": {\"taken\": 20, \"missed\": 0}\n  }\n}\n```\n\nThe adherence rate is calculated as:\n\n```\nadherence_rate = (total_taken / (total_taken + total_missed)) × 100\n```\n\n## Tips\n\n- Run `interactions` whenever a medication is added or changed.\n- Run `schedule` and print the `checklist` each morning.\n- Run `refills` weekly to stay ahead of pharmacy visits.\n- Use `adhere` after each dose to maintain accurate tracking."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list. Skill: medication-commander Owner: voronindenis5 Summary: Manages medication schedules, detects drug interactions, tracks adherence, and generates refill reminders. Produces safe daily schedules and printable checklists from a medication list. Tags: latest:0.1.1 Version history: v0.1.1 | 2026-08-11T11:58:33.268Z | auto - Removed the skill-card.md file. - No changes to code or primary documentation. - No impacts on fu","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1335,"uniquenessScore":47,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T14:07:21.679Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T20:36:30.698Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}