/install somnia
Somnia
Overview
Somnia is the sleep-cycle maintenance layer for OpenClaw skills. It provides a repeatable review workflow that checks installed skills during quiet hours, summarizes health risks, and writes proposal artifacts without silently mutating runtime skills.
Current version: v0.4.3 "Standalone Safety".
Trigger Cues
Use this skill when the user mentions:
nightly skill reviewsleep-time maintenanceskill health reportskill bug scanningreplay regression checkfeedback-driven upgradeproposal-based updateSomnia
Default Workflow
- Confirm the review scope: managed skills, feedback-related skills, or all installed skills.
- Run lightweight package validation, feedback summary, and replay-case availability checks for each selected skill.
- Write JSON and Markdown health reports under the configured learning/report directory.
- Write proposal artifacts only when feedback or quality gates justify the change.
- Hand proposal artifacts to Skill Forge or a human maintainer before any install decision.
- Keep simulated evaluation details hidden from user-facing reports.
Output Contract
The final answer or artifact should include:
- Review scope and schedule assumption
- Skills checked and health summary
- Issues found, grouped by skill
- Update candidates proposed or blocked
- Replay and hidden-evaluation pass/fail summary
- Next action: no-op, review proposal, approve install, or adjust schedule
Quality Gates
- Never auto-install skill changes; Somnia writes proposals and reports only.
- Keep hidden evaluation and replay case details out of user-facing Telegram reports.
- Redact feedback-derived content before it becomes a replay case or report item.
- Prefer proposal files and manifests over direct mutation of installed skills.
- Keep Somnia self-contained; do not execute out-of-package Skill Forge code.
Resources
References:
references/somnia-architecture.mdreferences/schedule-and-policy.md
Scripts:
scripts/nightly_skill_review.pyscripts/schedule_nightly_review.py
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install somnia - 安装完成后,直接呼叫该 Skill 的名称或使用
/somnia触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Somnia 是什么?
Run overnight skill health reviews, replay-case availability checks, feedback triage, and proposal-only maintenance reports for OpenClaw agents. Use when the... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 34 次。
如何安装 Somnia?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install somnia」即可一键安装,无需额外配置。
Somnia 是免费的吗?
是的,Somnia 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Somnia 支持哪些平台?
Somnia 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Somnia?
由 SheepXu(@sheepxux)开发并维护,当前版本 v0.4.3。