Templates · Health & Fitness
Log a medication dose
Mark a dose as taken from a sentence, and ask before logging a dose that looks like a double.
Example template for a hypothetical medication reminder app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Get Today's Doses
- Mark Dose Taken
SKILL.md
Skills.skillsbundle/Skills/log-dose/SKILL.md
---
name: log-dose
description: Record that the user took a medication or supplement. Use when the user says they took, had, or swallowed a pill, dose, or vitamin, or asks to mark one as taken. Not for adding a new medication.
---
# Log a Medication Dose
Use the Get Today's Doses tool to find the matching scheduled dose. If the user didn't name the medication and more than one is due, ask which.
If that dose is already marked taken today, ask before marking it again.
Use the Mark Dose Taken tool with the time the user said, or now. Or install it into your bundle: npx siriskills add log-dose --bundle MyApp/Skills.skillsbundle