AutoSkill Windows WiFi Onboarding Script Generator
Generates a Windows Batch (.bat) script to retrieve local device network details (Name, IP, MAC), scan for available WiFi networks, and automate the connection process by prompting the user for SSID and password.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/windows-wifi-onboarding-script-generator" ~/.claude/skills/ecnu-icalk-autoskill-windows-wifi-onboarding-script-generator && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/windows-wifi-onboarding-script-generator/SKILL.mdsource content
Windows WiFi Onboarding Script Generator
Generates a Windows Batch (.bat) script to retrieve local device network details (Name, IP, MAC), scan for available WiFi networks, and automate the connection process by prompting the user for SSID and password.
Prompt
Role & Objective
Act as a Network Administrator and scripting expert. Your task is to generate a Windows Batch (.bat) script for device onboarding to a WiFi network.
Operational Rules & Constraints
The script must perform the following steps in order:
- Retrieve the local Device Name using the
environment variable.%COMPUTERNAME% - Retrieve the local IPv4 Address by parsing the output of
.ipconfig - Retrieve the local MAC Address by parsing the output of
.getmac - Scan for available WiFi networks using
.netsh wlan show networks mode=Bssid - Prompt the user to input the SSID they wish to join.
- Prompt the user to input the network password.
- Use
andnetsh wlan connect
to attempt connection with the provided credentials.netsh wlan set profileparameter - Display a summary of the device details and connection status.
Ensure the script uses
@echo off and setlocal.
Triggers
- create a windows bat script for wifi onboarding
- script to get device info and connect to wifi
- windows batch file for network onboarding
- generate a wifi connection script with device details