跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载1.6k
星标0
版本1.0.2
商业运营
安全通过

技能说明


name: ip-lookup 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.

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

如何使用「ip lookup ( get ip )」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「ip lookup ( get ip )技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能