Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Openclaw Med Reminder Skill

БесплатноБез исполняемых скриптовНе проверен

Send medication reminders over the user's messaging channel — interview once to build meds-state.json, then handle dose replies (took / took-at / snooze /…

thegizmoproот thegizmopro219 установок в других каталогах

Об этом скилле

Med Reminder Skill — Interview Guide

Reminder tool, not a medical device — you are responsible for confirming your own doses. MIT licensed.

This file tells the AI how to interview a user and produce a valid meds-state.json. Follow the sections in order. Each section has one primary question, the fields it maps to, how to handle common answers, and what defaults to apply silently.

The delivery channel (global.delivery_channel) is always set from context — whoever invoked the skill (WhatsApp, Telegram, SMS, etc.) is the channel. Never ask the user what app they're using.


Section 0 — Timezone

Ask:

"What city or timezone are you in? (e.g. New York, Chicago, Los Angeles, London)"

Maps to: global.timezone

Handling:

  • Convert city names to IANA strings: New York → America/New_York, Chicago → America/Chicago, LA / Los Angeles → America/Los_Angeles, London → Europe/London, Sydney → Australia/Sydney, etc.
  • If the user says a US state, use its most populous city's timezone.
  • If ambiguous (e.g. "Indiana"), ask one follow-up: "Do you observe daylight saving time?"
  • If still unsure, ask them to confirm from this list: America/New_York, America/Chicago, America/Denver, America/Los_Angeles
  • Never infer from phone number or language.

Silent defaults: none — timezone is required.


Section 1 — Quiet hours & digest time

Ask:

"What time do you usually go to sleep and wake up?"

Maps to: global.quiet_hours.start, global.quiet_hours.end, global.digest_time

Handling:

  • Sleep time → quiet_hours.start (round to nearest half-hour, format HH:MM 24h)
  • Wake time → quiet_hours.end (same)
  • Set global.digest_time = wake time + 30 minutes (silently, don't ask)
  • If wake time + 30 min >= quiet start, cap digest at quiet start - 5 min
  • Accept natural language: "midnight" → 00:00, "noon" → 12:00, "10ish" → 22:00, "around 7" → 07:00

Silent defaults:

  • If the user doesn't know: quiet_hours.start = "22:00", quiet_hours.end = "07:00", digest_time = "07:30"

Quiet-hours rules (re-checked by reply.py at write time):

Quiet hours mute escalations, not dose-time reminders (the user chose the dose time, so it always sends). Because of that, a dose scheduled inside the quiet window would nudge and log missed while muted — so at interview time:

  • No dose time inside the quiet window. If the user asks for one, refuse and offer the fix: move the dose before quiet_hours.start, or shift quiet hours later. Explain why: "its late nudges would be muted while you sleep."
  • No dose whose T+late nudge lands in the muted part of quiet hours (more than 30 min after quiet start). Nudges may still land in the first 30 min. Offer the same fix: move the dose or adjust the window.
  • Never silently accept a conflicting time to "sort it out later."
  • reply.py add-med / edit-med / set-quiet-hours enforce both rules and refuse with a suggested fix. Relay that suggestion verbatim, re-ask, re-run.

Section 2 — Medication list

Ask:

"What medications do you take? List them all — name, dose, and how often. For example: 'Metformin 500mg twice a day, Lisinopril 10mg once a day at night'"

Maps to: one meds[] entry per medication — name, dose, unit, type, schedule

Handling per med:

name

Use the name exactly as the user says it. Do not expand abbreviations unless certain.

dose + unit

Split the user's dose string into numeric dose and string unit:

  • "500mg" → dose: "500", unit: "mg"
  • "2 tablets" → dose: "2", unit: "tablet"
  • "10ml" → dose: "10", unit: "ml"
  • "1 unit" → dose: "1", unit: "unit"
  • If no unit given (e.g. just "1"), default unit: "tablet" for pills, ask if unclear.

type

Infer from context:

User says type
pill, tablet, capsule pill
liquid, syrup, solution liquid
injection, shot, pen, vial injection
patch, transdermal patch
inhaler, puffer, pump inhaler
anything else other

schedule.frequency + times

User says frequency times
once a day / daily once_daily ask what time
twice a day / BID twice_daily ask what times, or use ["08:00","20:00"]
every N hours interval set interval_hours: N, no times
weekly / once a week weekly ask what time on what day(s)*
as needed / PRN as_needed no times

*Weekly: store the dose time in times[0] and the day(s) in schedule.day_of_week — a single day ("mon") or a list for multi-day protocols (["tue","sat"], ["mon","tue","wed","thu","fri"] for Mon–Fri). Required — without it reminders fire every day. Lists are stored sorted mon→sun and deduped; single strings stay strings. `schedule.

Полный SKILL.md на ClawHub

Установить Openclaw Med Reminder Skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Openclaw Med Reminder Skill?

Send medication reminders over the user's messaging channel — interview once to build meds-state.json, then handle dose replies (took / took-at / snooze / skip / undo) in plain language. Injection-aware: reconstituted peptides and other mg/mL vials get automatic syringe-unit math, so reminders read "Ipamorelin 200mcg = 20 units on your U-100".

Как установить скилл Openclaw Med Reminder Skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Openclaw Med Reminder Skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Openclaw Med Reminder Skill с