sleep-wakeup advisor

v1.0.0

Calculate and recommend optimal wake-up times aligned with sleep cycles based on bedtime, workday or holiday constraints, prioritizing 5-cycle options.

0· 338·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the runtime instructions: the SKILL.md describes exactly how to compute and rank sleep-cycle wake times. The skill declares no binaries, env vars, or installs—reasonable for a pure calculation/advice skill.
Instruction Scope
Instructions are narrowly scoped to computing wake times and ranking them, but a few operational ambiguities exist: it requires determining 'China public holidays' and the day type without specifying a holiday data source or timezone, and it triggers whenever the user says "晚安" (which may cause unexpected invocations). The instructions do not request reading user files or credentials and do not send data to external endpoints.
Install Mechanism
No install spec and no code files — instruction-only. This minimizes write-to-disk or network install risk.
Credentials
No environment variables, credentials, or config paths are requested, which is proportionate for a local-timing calculation skill.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent or elevated privileges or modify other skills/configuration.
Assessment
This skill appears safe from a permissions/credentials perspective. Before installing, consider: (1) test how it handles your timezone and late-night edge cases, (2) confirm how it determines China public holidays (the SKILL.md doesn't specify a data source), and (3) be aware it triggers on the phrase "晚安" which could fire whenever you say it. If you need holiday/calendar integration or user-specific bedtimes, ask the developer to explicitly declare the data source and any calendar permissions required.

Like a lobster shell, security has layers — review code before you run it.

latestvk972f0na8bah23505kqyjxc61s81x2hd

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Sleep Wake-up Advisor

When user says "晚安", return wake-up suggestions immediately.

Apply this workflow

  1. Treat one sleep cycle as 90 minutes.
  2. Add a 15-minute sleep-onset buffer from "now" (or from user-provided bedtime).
  3. Generate candidate wake times at +3, +4, +5, +6 cycles.
  4. Rank by recommended cycle count priority: 5 cycles > 4 cycles > 6 cycles > 3 cycles.
  5. Determine day type:
    • Workday: Monday–Friday unless it is a China public holiday.
    • Holiday/Rest day: Saturday/Sunday or China public holiday.
  6. Enforce top recommendation constraint:
    • Workday: top recommendation must be earlier than 09:00.
    • Holiday/Rest day: top recommendation must be earlier than 11:00.
  7. If highest-priority candidate violates the limit, pick the next-best candidate that satisfies the limit.
  8. Output:
    • First line: "最推荐:HH:mm(X 个周期)"
    • Then 2–4 alternative times in descending quality.
    • Keep response concise and practical.

Sleep science defaults

  • Adults usually complete ~4–6 full cycles per night.
  • Deep sleep (N3) is concentrated in the first half of the night.
  • Waking at cycle boundaries generally reduces sleep inertia versus waking mid-cycle.

Use these defaults unless user gives a personalized plan.

Response template

  • 最推荐:07:45(5 个周期)
  • 备选:06:15(4 个周期)
  • 备选:09:15(6 个周期)
  • 备选:04:45(3 个周期)

Add one short sentence only when useful (e.g., "按你现在入睡,建议设置 07:45 闹钟").

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…