Install
openclaw skills install shutdownSafe shutdown/reboot workflow for local or remote machines. Use when the user asks to power off, restart, schedule shutdown, cancel shutdown, or perform pre-shutdown checks while preserving OpenClaw and session safety. 中文触发:关机、重启、稍后关机、取消关机、定时关机、立即关机。
openclaw skills install shutdownExecute system shutdown and reboot actions safely, with explicit confirmation and connection-safety checks.
shutdown, reboot, schedule, or cancel.+1 minute or equivalent) so cancellation remains possible.Collect and confirm:
If ambiguous, ask one concise question before running commands.
Use only relevant checks:
who, uptime, systemctl is-system-running (if systemd exists)who, uptimequery user, Get-UptimeIf long-running/critical work may be interrupted, report risk and ask whether to continue.
# shutdown now
sudo shutdown -h now
# reboot now
sudo shutdown -r now
# schedule shutdown in 1 minute
sudo shutdown -h +1
# cancel scheduled shutdown
sudo shutdown -c
Fallback where needed:
sudo systemctl poweroff
sudo systemctl reboot
# shutdown now
sudo shutdown -h now
# reboot now
sudo shutdown -r now
# schedule shutdown in 10 minutes
sudo shutdown -h +10
# cancel scheduled shutdown
sudo killall shutdown
# shutdown now
shutdown /s /t 0
# reboot now
shutdown /r /t 0
# shutdown in 60 seconds
shutdown /s /t 60
# cancel scheduled shutdown
shutdown /a
Before executing state-changing commands, present:
Require the user to reply with a clear confirmation (for example: yes, run it).
中文确认示例:确认执行、是,立即执行。
For scheduled actions, verify and report pending state when possible:
shutdown scheduling outputAfter reboot requests, explain that reconnect checks should include:
If this skill is published to clawhub.ai, keep updates semver and changelog-driven, and avoid embedding environment-specific hostnames, tokens, or private infrastructure details.