router-control

Identifies routers and endpoints via gateway probing and DHCP data, then executes device commands over ssh, http, adb, ssap/web-socket, and broadlink protocols.

28|5|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ythx-101/lan-control --skill router-control-ythx-101
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: router-control
Source: https://github.com/ythx-101/lan-control/tree/main
Command: npx skills add https://github.com/ythx-101/lan-control --skill router-control-ythx-101

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of not knowing what devices are on your home network and how to reliably control them without manual IP configuration.

Core Features & Use Cases

  • Zero-config discovery: Auto-detects your router (gateway detection), probes router capabilities (SSH/HTTP), and builds a device list using DHCP lease data plus identification against community YAML profiles.
  • Universal device control: Executes device-specific commands (SSH for routers/Linux devices, ADB for Android boxes, HTTP/REST for IP-capable devices, SSAP/WebSocket for LG webOS TVs, BroadLink UDP for IR remotes, and IR-bridge shims for ACs).
  • Agent-friendly outputs: Returns structured JSON on stdout for automation, while human-readable summaries are sent to stderr.
  • Operational use cases: Quickly list and target devices you just plugged in, run router health checks (DNS/WireGuard/AdGuard status), and verify device online status even when router access is limited.

Quick Start

Run discover to find your router and list all identifiable LAN devices for the first time.

Frequently Asked Questions about router-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover devices on my home network without manual IP configuration?

LAN discovery works by probing your network gateway and matching DHCP lease data against community YAML profiles to automatically identify routers and endpoints without manual IP configuration.

Can I control router settings and run diagnostics over SSH?

Yes, you can execute router automation commands over SSH to run network troubleshooting diagnostics, including checking DNS, WireGuard, and AdGuard status directly from your local CLI.

What protocols are supported for smart home device control?

Smart home device control supports multiple protocols including SSH, HTTP, ADB for Android boxes, SSAP/WebSocket for LG webOS TVs, and BroadLink UDP for IR remotes.

Do I need a specific operating system to run LAN discovery scripts?

You need a local Mac or Linux environment with the CLI scripts installed, and SSH reachability to target devices where applicable, to run LAN discovery and device control operations.

How does router automation output handle structured data for scripts?

Router automation returns structured JSON on stdout for programmatic use, while human-readable summaries are sent to stderr to prevent interference with automated workflows.