Agent skill
ip-lookup
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/get-up
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?"
- "Where am I located?"
- "Check my IP location"
- "What's my public IP?"
- "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:
- Try alternative services one by one
- Report which service succeeded
- If all fail, inform the user about the network issue
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?