स्किल्स पर वापस
show-my-ip
ericsantos द्वारा
Coding Agents & IDEs—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग
संक्षिप्त
Show the current public IP address of the server.
विवरण
यह स्किल क्या करती है
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.
इसे कब इस्तेमाल करें
- 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
उदाहरण वर्कफ़्लो
इनपुट
User asks: What's my public IP address?
एजेंट
- 1
Run scripts/get-ip.sh
- 2
Capture stdout from the script
- 3
Parse IPv4 line from output
- 4
Parse IPv6 line if present
- 5
Return formatted IP information to user
आउटपुट
IPv4: 203.0.113.42, IPv6: 2001:db8::1
इंस्टॉलेशन
clawhub install ericsantos/show-my-ipCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।