More screenshots

    Works with the AI Agents you already use

    Remote PC Power: Turn a Windows PC On/Off From Anywhere

    by Pratyush Anjan Sarangi

    1

    Free and open source (MIT license). Wake-on-LAN doesn't work from outside your home network, and a sleeping PC can't be woken over the internet.

    Free

    Security scanned
    Remote PC Power: Turn a Windows PC On/Off From Anywhere

    Remote PC Power: Turn a Windows PC On/Off From Anywhere

    Example session with this skill installed

    I'm going to be away from home for a month and I need my Windows desktop there. Set it up so I can turn it on and off and use it from my phone or laptop while I'm travelling. I have a TP-Link Tapo smart plug.

    • Read your context and instructions
    • Compiled the remote pc power

    Summary

    Your PC can now be shut down, restarted and used remotely. Remote power-on works once you finish the manual steps below and pass the plug test.

    What I checked (verify.ps1, read-only)

    CheckResult
    Windows editionWindows 11 Pro: can host Remote Desktop
    Python3.13, installed for all users
    Tailscaleinstalled and signed in
    Sleep on ACwas 30 min: a sleeping PC can't be woken remotely
    BitLocker on C:off

    What I automated (install.ps1, elevated, with your approval)

    • Power page as a SYSTEM boot task on port 8766: answers at the login screen
    • Firewall: TCP 8766 and 3389 only from the Tailscale adapter and your home subnet
    • Remote Desktop on, Network Level Authentication required
    • Never sleep on AC, Fast Startup off
    • Tailscale unattended mode on
    • Windows Update paused for 30 days
    • The power-page link is on your clipboard and in an admin-only file (not shown here). Send it to your phone with Taildrop.

    Still for you

    • BIOS: Restore on AC Power Loss = Power On; ErP = Disabled
    • Tapo app: power-on state after an outage = ON
    • Tailscale admin console: this PC > Disable key expiry
    • Phone: Tailscale + Windows App; sign in with your Windows password, not the PIN

    Test before you leave

    1. Power page > Shutdown, wait until the plug reads about 0 W
    2. Plug OFF for 30 s, then ON: the PC must boot by itself within a minute
    3. Repeat from mobile data with Wi-Fi off, then connect with Remote Desktop

    Undo everything any time with uninstall.ps1.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Free and open source (MIT license).

    Wake-on-LAN doesn't work from outside your home network, and a sleeping PC can't be woken over the internet. This skill sets up the method that does work for a desktop PC, with nothing exposed to the internet:

    • ON: a smart plug cuts and restores power; the BIOS setting Restore on AC Power Loss = Power On boots the PC by itself.
    • OFF: a tiny phone-friendly power page (Shutdown, Restart, Lock, Cancel), reachable only over Tailscale or your home LAN and protected by a 144-bit key.
    • USE: Remote Desktop with Network Level Authentication, over Tailscale.

    What your agent does

    1. Checks first (read-only): runs verify.ps1 and reports Windows edition, Python, Tailscale, power plan, firewall and BitLocker status.
    2. Asks only what it can't detect: your smart plug model, whether the BIOS setting is done, how long you'll be away.
    3. Automates, with your approval (elevated install.ps1; preview first with -WhatIf):
      • power page as a SYSTEM boot task in C:\Program Files\remote-pc-power, so it answers at the login screen
      • firewall rules scoped to the Tailscale adapter (100.64.0.0/10) and your local subnet on Private networks
      • Remote Desktop on, NLA required
      • never sleep on AC power, Fast Startup off
      • Tailscale unattended mode
      • optional: pause Windows Update (-PauseUpdatesDays), boot hardening (-HardenBoot, refused on BitLocker-protected drives)
    4. Hands you the manual checklist: BIOS settings, the plug's power-on-after-outage state, Tailscale key expiry, phone setup.
    5. Walks you through the tests: a plug-cycle test at home, then a remote test from mobile data.

    Safety built in

    • The agent never toggles your smart plug and never adds Sleep/Hibernate (a sleeping PC is unreachable).
    • Nothing is port-forwarded; RDP and the power page never get an "Any" firewall scope.
    • The power-page key is never printed: it goes to your clipboard and an Administrators-only file.
    • The installer refuses a Python that non-admin accounts can modify, because the power page runs as SYSTEM.
    • Every change is recorded in state.json; uninstall.ps1 reverses it.

    Requirements

    • Windows 10/11 desktop. Pro or Enterprise for Remote Desktop (on Home the power parts still work; use another remote-screen app).
    • Python 3.9+ from python.org, installed for all users.
    • A free Tailscale account, on the PC and on your phone or laptop.
    • A smart plug whose power-on state after an outage can be set to ON.
    • A BIOS with "Restore on AC Power Loss" (most desktop boards have it).

    The screenshots show the architecture, the power-cycle sequence and the power states, including the two traps (sleep, and a power cut mid-boot).

    Requires physical smart plug. BIOS settings must be changed manually. Windows Home edition cannot host RDP. Python 3.9+ must be installed for all users via python.org.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Windows only

    Accounts
    Tailscale account (free)
    Software
    Python 3.9+ from python.org (all users)Smart plug
    Optional
    Windows Pro
    orEnterprise (for Remote Desktop)

    Run install.ps1 with -WhatIf first. It needs Administrator: it changes firewall, Remote Desktop and power settings and adds a SYSTEM boot task. Every change is recorded; uninstall.ps1 reverses it.

    Permissions

    Terminal / Shell
    Write Files
    Network Access
    Read Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a structured framework to set up a resilient remote power and access system for Windows PCs using Tailscale and smart hardware. It solves the problem of hardware becoming unreachable due to power outages, failed Wake on LAN packets, or Windows updates while you are away.

    You will need a Windows PC (preferably Pro edition for RDP hosting), a physical smart plug, and an account with Tailscale. The skill also requires Python 3.9 or higher to be installed for all users on the workstation.

    The skill generates a local power management page as a SYSTEM boot task, a state tracked uninstaller, and a specific manual checklist for BIOS and smart plug settings. It also produces a verification report to confirm the environment is hardened against sleep modes and update restarts.

    This skill does not support Windows Home edition as a Remote Desktop host and is primarily designed for desktop hardware. Laptops have limited support due to battery behavior, and the system cannot automate the physical BIOS configuration or the initial smart plug pairing.

    You can start by asking your agent to verify your environment for remote access. You can also request a full installation to harden your PC against unexpected restarts or ask for a troubleshooting map if your computer fails to boot after a power cycle.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Free