Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

wol-sleep-pc

bởi oblivisheee

CLI Utilities
734Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Send Wake-on-LAN (magic packet) and Sleep-on-LAN (inverted MAC) packets for a specific PC.

Mô tả

Kỹ năng này làm gì

Sends Wake-on-LAN and Sleep-on-LAN magic packets to a target machine on the local network. Two Python scripts handle WOL and SOL (inverted-MAC) packets separately. MAC address, broadcast IP, and port are set via CLI flags or a local JSON config file.

Packages WOL and SOL into agent-triggerable scripts so waking or sleeping a machine becomes a single command instead of a manual packet-crafting step.

Khi nào nên dùng

  • Waking a desktop PC before starting work in the morning
  • Putting a home server to sleep after a scheduled backup finishes
  • Powering on a gaming rig from another room without walking over
  • Automating wake and sleep cycles from a cron job or agent trigger
  • Sending a one-off WOL packet without manually crafting a magic packet

Quy trình ví dụ

ĐẦU VÀO

User asks: wake my PC

AGENT
  1. 1

    Load MAC address and broadcast IP from ~/.config/wol-sleep-pc/config.json

  2. 2

    Run send_wol.py with the configured values

  3. 3

    Send a UDP broadcast magic packet to the target MAC address

  4. 4

    Confirm the packet was sent without error

ĐẦU RA

Magic packet sent to the target machine; the PC receives it and powers on

Cài đặt

clawhub install oblivisheee/wol-sleep-pc

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết