Install
openclaw skills install @chenxinjie005/cxj-ip-2026Get both public (external) and local (internal) IP addresses using simple shell commands. Use when the user asks for their IP, public IP, or local network address.
openclaw skills install @chenxinjie005/cxj-ip-2026This skill discovers both the public (external) IP and the local (internal) IP of the current machine.
Use a simple HTTPS endpoint that returns your public IP as plain text:
curl.exe -s https://ifconfig.me
If the service is blocked or slow, try:
curl.exe -s https://api.ipify.org
On Windows (PowerShell or cmd):
ipconfig
Then filter the output for lines containing IPv4 地址 or IPv4 Address.
On Linux:
hostname -I
This typically returns one or more local IPs separated by spaces.