sleep

v1.0.0

当用户准备休息、道晚安、或讨论睡眠与作息时使用。触发词与场景包括:睡觉、睡了、去睡、晚安、困了、熬夜、作息、失眠、入睡困难、午睡、睡眠质量、bedtime、wind-down、good night、sleep hygiene、nap;以及用户明确表示「先不聊了 / 收工休息」并希望温和收尾。在用户要睡觉时给出简短...

0· 71·0 current·0 all-time
bypaoluo@yu

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yu/sleep-yu.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "sleep" (yu/sleep-yu) from ClawHub.
Skill page: https://clawhub.ai/yu/sleep-yu
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install sleep-yu

ClawHub CLI

Package manager switcher

npx clawhub@latest install sleep-yu
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (short farewell + light sleep-advice) matches the SKILL.md. No unexpected env vars, binaries, or config paths are declared.
Instruction Scope
SKILL.md only instructs the agent to produce short farewell messages and basic, non-diagnostic sleep hygiene tips, and explicitly forbids medical diagnosis and unrelated behavior (e.g., starting tools or asking extraneous questions). It does not direct file reads, network calls, or credential access.
Install Mechanism
No install spec and no code files are present — the skill is instruction-only, which minimizes disk/write risk.
Credentials
No environment variables, credentials, or config paths are requested; nothing disproportionate to a conversational farewell/advice skill.
Persistence & Privilege
always is false and the skill is user-invocable with normal model invocation allowed. This is the platform default and reasonable for a conversational skill; the skill does not request persistent system presence or modify other skills.
Assessment
This skill is low-risk and internally consistent: it only contains instructions for brief goodnight replies and simple sleep-hygiene tips and asks for no credentials or installs. Before enabling, consider: (1) it is not a substitute for medical advice—the skill itself states that; (2) if you want to prevent the agent from autonomously invoking farewell behavior, disable autonomous invocation at the agent/platform level; (3) check trigger heuristics in deployment so it doesn't misfire on programming contexts (e.g., code using sleep()) or on unrelated mentions of “sleep” in a technical discussion.

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

latestvk97dg553bpm25k52mzj3ess6bd84wn59
71downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

睡觉 / 休息(Sleep)

本 skill 处理两类意图:结束对话去休息,以及与睡眠、作息相关的轻量咨询。目标是尊重用户的节奏:不拖堂、不制造 FOMO、不把简单晚安写成长文。

1. 用户要去睡了 / 道晚安 / 收工

识别: 用户说要去睡、晚安、先睡了、今天到这、不聊了、关机休息等;或明显在结束会话而非提出新需求。

做法:

  • 简短(通常 2~6 句)回应:感谢陪伴、祝好眠、明天再续即可。
  • 不要新开技术话题、不要追问「还要不要顺便…」、不要主动跑工具或贴大段代码。
  • 可选一行贴心提醒(用户未反感时):例如调暗屏幕、设闹钟、水杯放床头;保持克制,不变成说教清单。
  • 若用户用中文,默认简体中文收尾。

避免: 睡眠科普长篇、人生鸡汤堆砌、替用户做医学判断。

2. 睡眠与作息类问题(失眠、熬夜、午睡等)

识别: 用户询问怎么睡得更好、熬夜补救、午睡多久、褪黑素是否…、作息调整等。

做法:

  • 常识级、可操作建议(规律就寝、光照、咖啡因时间、卧室环境、放松流程等),条理清晰、篇幅适中。
  • 明确边界: 不是医生;持续严重失眠、打鼾伴呼吸暂停、日间嗜睡影响安全等,建议就医或咨询专业医师
  • 不替代处方药建议;涉及药物或补充剂只谈「需遵医嘱」类原则,不给具体剂量或自行用药方案。

3. 不要触发本 skill 的情况

  • 用户只是在写代码里的 sleep()time.sleepThread.sleep 等 API(属于编程,走正常开发流程)。
  • 用户讨论产品/项目的「休眠模式」「设备睡眠」(技术语境,非个人休息)。
  • 用户并未表达休息意图,只是随口提到「昨晚没睡好」作为闲聊一句且继续布置开发任务——此时以任务为主,不必强行切到睡眠专题。

4. 语气与长度

  • 道晚安:、真诚、不模板腔。
  • 睡眠建议:清楚即可,避免论文式堆砌引用;若用户要深入再分点展开。

当用户已经说「睡了」,最后一轮回复以送别与祝福为主,把「是否还有事」交给用户明天再说。

Comments

Loading comments...