← Back to Skills Marketplace
qidu

ip lookup ( get ip )

by christo · GitHub ↗ · v1.0.2
cross-platform ✓ Security Clean
1905
Downloads
1
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install get-ip
Description
Get current public IP address and geolocation information. Use when users ask about IP addresses, network location, or want to check their public IP. Supports both fetching IP info and displaying it clearly.
README (SKILL.md)

IP Lookup Skill

Overview

This skill provides a simple way to check your public IP address and its geolocation information.

Usage

When users ask:

  • "What is my IP?"
  • "What is my current IP address?"
  • "What's my public IP?"
  • "Where am I?"
  • "Where am I located?"
  • "Check location"
  • "Check my IP location"
  • "Get location"
  • "Locate me"
  • "What's the IP?"
  • "What's your IP?"

Execute the workflow below.

Workflow

Basic IP Check

Run this command to get your public IP and location:

curl -s myip.ipip.net

Example output:

Current IP:8.8.8.8  From: SF CA USA Google
Current IP:1.1.1.1  From: SF CA USA Cloudflare

Alternative Methods

If the above fails, try these alternatives:

Method 1: icanhazip.com (fallback)

curl -s icanhazip.com

Method 2: ipify API

curl -s https://api.ipify.org

Method 3: ifconfig.me

curl -s ifconfig.me

Full Geolocation Lookup

For more detailed geolocation info:

curl -s https://ipinfo.io/$(curl -s https://api.ipify.org)/json

Display Format

Present the information clearly:

IP Address: [address] Location: [city], [region], [country] ISP: [ISP name] Org: [organization]

Error Handling

If the primary service (myip.ipip.net) fails:

  1. Try alternative services one by one
  2. Report which service succeeded
  3. If all fail, inform the user about the network issue
Usage Guidance
This skill appears to be what it claims: it makes simple network calls to public IP/geolocation services and prints results. Before installing, consider: (1) The skill will contact external services (myip.ipip.net, api.ipify.org, ifconfig.me, ipinfo.io) and thereby reveal your public IP to those third parties — that's inherent to the function. (2) The metadata does not list required binaries, but the script uses curl and python3; ensure your environment provides them. (3) If you require that lookups be done only via a particular provider for privacy reasons, review/modify the SKILL.md or get_ip.sh to use your chosen endpoint. Overall this package is coherent and low-risk, but review and trust the external endpoints if you are concerned about exposing your public IP.
Capability Analysis
Type: OpenClaw Skill Name: get-ip Version: 1.0.2 The skill is designed to fetch and display public IP address and geolocation information, which is clearly aligned with its stated purpose. The `SKILL.md` instructions guide the agent to use standard `curl` commands against reputable IP lookup services (e.g., `myip.ipip.net`, `api.ipify.org`, `ipinfo.io`) and do not contain any prompt injection attempts to deviate from this purpose. The `get_ip.sh` script implements this functionality safely, using `curl` with timeouts and parsing JSON output via a hardcoded Python script, without any signs of data exfiltration, malicious execution, or persistence mechanisms. The `scripts/package_skill.py` file is a benign utility for packaging the skill.
Capability Assessment
Purpose & Capability
The skill's name/description match its behavior: SKILL.md and get_ip.sh only fetch public IP and geolocation from public APIs (myip.ipip.net, api.ipify.org, ifconfig.me, ipinfo.io). One minor inconsistency: the skill metadata declares no required binaries, but the instructions and get_ip.sh rely on curl and python3 being present.
Instruction Scope
Runtime instructions and the shell script limit themselves to calling external IP lookup/geolocation endpoints and formatting results. The SKILL.md does not instruct the agent to read local files, secrets, or unrelated system state, nor to transmit data to unexpected endpoints beyond the listed IP services.
Install Mechanism
There is no install spec; this is effectively an instruction-only skill with two small helper scripts. No downloads from remote URLs or archive extraction are used by the skill itself, so installation risk is low.
Credentials
The skill requests no environment variables or credentials, which is appropriate. As noted above, it implicitly requires curl and python3 but does not declare them in required binaries; this is a minor metadata omission rather than a privilege escalation.
Persistence & Privilege
The skill is not always-enabled and does not request permanent presence or modification of other skills or system-wide settings. It also does not persist credentials or change agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install get-ip
  3. After installation, invoke the skill by name or use /get-ip
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Expanded list of trigger phrases to recognize more queries about IP address and location. - Improved clarity in user prompts such as "Where am I?", "Locate me", and "Get location". - No changes to core functionality or workflow.
v1.0.1
- Updated skill name to "ip-lookup" and expanded description for clarity. - Added clear, step-by-step workflow for retrieving public IP and geolocation details. - Listed multiple fallback methods using different online services for higher reliability. - Provided recommended information display format (IP address, location, ISP, org). - Included explicit error handling instructions for service failures.
Metadata
Slug get-ip
Version 1.0.2
License
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is ip lookup ( get ip )?

Get current public IP address and geolocation information. Use when users ask about IP addresses, network location, or want to check their public IP. Supports both fetching IP info and displaying it clearly. It is an AI Agent Skill for Claude Code / OpenClaw, with 1905 downloads so far.

How do I install ip lookup ( get ip )?

Run "/install get-ip" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ip lookup ( get ip ) free?

Yes, ip lookup ( get ip ) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does ip lookup ( get ip ) support?

ip lookup ( get ip ) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ip lookup ( get ip )?

It is built and maintained by christo (@qidu); the current version is v1.0.2.

💬 Comments