{"skill":{"slug":"sleep-wakeup-advisor","displayName":"sleep-wakeup advisor","summary":"Calculate and recommend optimal wake-up times aligned with sleep cycles based on bedtime, workday or holiday constraints, prioritizing 5-cycle options.","description":"---\nname: sleep-wakeup-advisor\ndescription: Calculate sleep-cycle-aligned wake-up times when the user says \"晚安\" or asks for best wake-up times. Use to recommend several wake-up options, put the best option first, and enforce top recommendation constraints: before 09:00 on workdays and before 11:00 on weekends/China public holidays.\n---\n\n# Sleep Wake-up Advisor\n\nWhen user says \"晚安\", return wake-up suggestions immediately.\n\n## Apply this workflow\n\n1. Treat one sleep cycle as 90 minutes.\n2. Add a 15-minute sleep-onset buffer from \"now\" (or from user-provided bedtime).\n3. Generate candidate wake times at +3, +4, +5, +6 cycles.\n4. Rank by recommended cycle count priority: 5 cycles > 4 cycles > 6 cycles > 3 cycles.\n5. Determine day type:\n   - Workday: Monday–Friday unless it is a China public holiday.\n   - Holiday/Rest day: Saturday/Sunday or China public holiday.\n6. Enforce top recommendation constraint:\n   - Workday: top recommendation must be earlier than 09:00.\n   - Holiday/Rest day: top recommendation must be earlier than 11:00.\n7. If highest-priority candidate violates the limit, pick the next-best candidate that satisfies the limit.\n8. Output:\n   - First line: \"最推荐：HH:mm（X 个周期）\"\n   - Then 2–4 alternative times in descending quality.\n   - Keep response concise and practical.\n\n## Sleep science defaults\n\n- Adults usually complete ~4–6 full cycles per night.\n- Deep sleep (N3) is concentrated in the first half of the night.\n- Waking at cycle boundaries generally reduces sleep inertia versus waking mid-cycle.\n\nUse these defaults unless user gives a personalized plan.\n\n## Response template\n\n- 最推荐：07:45（5 个周期）\n- 备选：06:15（4 个周期）\n- 备选：09:15（6 个周期）\n- 备选：04:45（3 个周期）\n\nAdd one short sentence only when useful (e.g., \"按你现在入睡，建议设置 07:45 闹钟\").","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":766,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1772103143040,"updatedAt":1778491649051},"latestVersion":{"version":"1.0.0","createdAt":1772103143040,"changelog":"- Initial release of the Sleep Wake-up Advisor skill.\n- Calculates optimal wake-up times aligned to sleep cycles when prompted with \"goodnight\" or similar requests.\n- Recommends several wake-up options, prioritizing times before 09:00 on workdays and before 11:00 on weekends or public holidays.\n- Uses a 90-minute cycle model with a 15-minute sleep-onset buffer and clear ranking of suggestions.\n- Provides concise, practical responses following the specified output format.","license":null},"metadata":null,"owner":{"handle":"nathanshan","userId":"s17dz8eyc10ywvm2yymjewjq9n83gp2v","displayName":"nathanshan","image":"https://avatars.githubusercontent.com/u/5919807?v=4"},"moderation":null}