WOL and Sleep PC Control for Openclaw

A specialized skill for sending Wake-on-LAN and Sleep-on-LAN magic packets to manage PC power states across a local network.

oblivisheee
v0.1.0
Feb 12, 2026
0
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wol-sleep-pc

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wol-sleep-pc using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WOL and Sleep PC Control?

The WOL and Sleep PC skill provides a robust framework for remote power management of devices within a local area network (LAN). By utilizing Python scripts to dispatch magic packets, this skill enables users to wake sleeping machines or trigger sleep states via inverted MAC addresses. It is a vital addition to any automated home or office environment powered by Openclaw Skills, offering a deterministic and secure way to control hardware without manual intervention.

Designed with privacy and security in mind, the skill avoids hardcoded addresses. Instead, it relies on local configuration files or command-line arguments to specify target IP and MAC addresses. This ensures that sensitive network information remains local to the user's environment while providing the AI agent with a reliable interface for power control tasks.

WOL and Sleep PC Control Use Cases

  • Waking a remote workstation before starting a remote desktop session.
  • Putting local servers or PCs to sleep at the end of a workday to save energy.
  • Automating power cycles as part of a larger home automation sequence.
  • Managing headless units that lack physical power buttons or easy access.

How WOL and Sleep PC Control Works

  1. The agent identifies the power state command (wake or sleep) requested by the user.
  2. The script checks for existing local configurations in the config.json file to retrieve the target MAC and broadcast address.
  3. If configurations are missing, it prompts the user or accepts CLI flag overrides.
  4. A UDP broadcast packet is constructed using either the standard MAC for WOL or an inverted MAC for Sleep-on-LAN.
  5. The packet is transmitted over the local network via Port 9 to trigger the hardware response.

WOL and Sleep PC Control Setup

Ensure you have Python 3 installed on the host machine. This skill utilizes standard Python libraries and requires permission to send UDP broadcast packets.

Create a configuration directory and file:

mkdir -p ~/.config/wol-sleep-pc/
touch ~/.config/wol-sleep-pc/config.json

Populate the config file with your target device details to enable seamless Openclaw Skills integration:

{
  "mac": "24:4B:FE:CA:90:99",
  "sleep_mac": "99:90:CA:FE:4B:24",
  "broadcast": "192.168.1.255",
  "port": 9
}

WOL and Sleep PC Control Data Schema & Taxonomy

The skill utilizes a simple JSON-based configuration schema to manage target device metadata. Local files are excluded from version control to maintain security.

Key Description Example
mac The physical MAC address for Wake-on-LAN 24:4B:FE:CA:90:99
sleep_mac The inverted MAC address for Sleep-on-LAN 99:90:CA:FE:4B:24
broadcast The network broadcast address 192.168.1.255
port The UDP port used for magic packets 9

WOL and Sleep PC Control Advanced Features

  • Support for inverted MAC addresses to enable Sleep-on-LAN functionality.
  • CLI flag overrides for dynamic targeting of multiple machines without changing the global config.
  • Seamless integration with agentic workflows for automated power management within Openclaw Skills.
  • Strict .gitignore policies to prevent leaking sensitive network hardware IDs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*