Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Retrieves the public IP address of the machine running the agent by querying ifconfig.me. Returns both IPv4 and IPv6 addresses when available.
Saves opening a browser or remembering the ifconfig.me URL when working in a terminal-only or automated environment.
When to use it
- Checking if a VPN is active and routing traffic correctly
- Verifying outbound IP before adding it to a firewall allowlist
- Confirming which server is handling requests after a deployment
- Debugging API rejections caused by IP restrictions
- Checking server identity in a multi-region setup
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What's my public IP address?
- 1Run scripts/get-ip.sh
- 2Capture stdout from the script
- 3Parse IPv4 line from output
- 4Parse IPv6 line if present
- 5Return formatted IP information to user
IPv4: 203.0.113.42, IPv6: 2001:db8::1