where-am-i
Skill9 starsChanged 4 months agoMITView on GitHub
当用户需要"查询公网 IP"、"查看本机公网地址"、"获取 IP 地理位置"、"查询 ISP 运营商"、"查看 IP 归属地"、"我在哪里"、"查询当前位置"时使用此 skill。
1 other project uses a version of this.
Adopted by
Most recently taken up by
- scottcarlson/skillstheir own version, first seen Aug 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- scottcarlson/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cmo-weather-query/CLAUDE.mdCLAUDE.md
- db_client/CLAUDE.mdCLAUDE.md
- deepseek-search/CLAUDE.mdCLAUDE.md
- documents_ripgrep/CLAUDE.mdCLAUDE.md
- excel-alasql/CLAUDE.mdCLAUDE.md
- game_mahjong_agent/CLAUDE.mdCLAUDE.md
- gaode_map/CLAUDE.mdCLAUDE.md
- magpie-image-gen/CLAUDE.mdCLAUDE.md
- ms_office_x_editer/CLAUDE.mdCLAUDE.md
- ssh2-node/CLAUDE.mdCLAUDE.md
- use_http_mcp/CLAUDE.mdCLAUDE.md
- where-am-i/CLAUDE.mdCLAUDE.md
- 88chaSkill
- agent-browserSkill
- baidu-search-nodejsSkill
- brz-repair-manual-querySkill
- cmo-weather-querySkill
- db-clientSkill
- deepseek-searchSkill
- dianping-searchSkill
- doc-readerSkill
- documents-ripgrepSkill
- drawio-nodejsSkill
- excel-alasqlSkill
- figma-code-connectSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-generate-designSkill
- figma-generate-librarySkill
- figma-implement-designSkill
- figma-useSkill
- file-code-boxSkill
- financialSkill
- game-mahjong-agentSkill
- gaode-mapSkill
- gitea-apiSkill
- happy-agent-easySkill
- hindsightSkill
- jina-readerSkill
- kavita-liteSkill
- magpie-image-genSkill
- magpie-toolsSkill
- makepad-evolutionSkill
- markitdown-pdfSkill
- memos-nodeSkill
- mind-map-skillSkill
- ms-office-x-editerSkill
- nexus3-skillSkill
- obsidian-basesSkill
- obsidian-cliSkill
- json-canvasSkill
- ocr-toolSkill
- opencode-go-usageSkill
- sendmailSkill
- siyuan-apiSkill
- smb-clientSkill
- ssh2-nodeSkill
- use-http-mcpSkill
- website-security-scanSkill
- The first 60 shown.
The file
Files
查询当前位置和公网 IP 信息
本 skill 提供查询本机公网 IP 地址及详细信息的工具,基于 ipquery.io 服务,无需安装依赖。
概述
通过调用多个 API 获取:
- 公网 IP 地址(支持多服务自动故障转移)
- 地理位置(国家/地区/城市)
- ISP 运营商信息
- 时区和坐标信息
- ASN 信息
API 服务
IP 查询服务(按优先级自动轮换):
- ifconfig.co
- icanhazip.com
- v4.ident.me
- ipinfo.io/ip
详细信息服务:
- ipquery.io - 提供完整的地理位置和 ISP 信息
快速开始
# 基本查询
node skill.js
# JSON 格式输出
node skill.js --json
# 简洁格式(仅 IP)
node skill.js --simple
# 显示原始数据
node skill.js --raw输出格式
默认格式(表格)
IP : 203.0.113.1
地址 : 中国 Beijing Beijing
运营商 : China Telecom (Group)
国家 : China
城市 : Beijing
时区 : Asia/Shanghai
坐标 : 39.9042, 116.4074
ASN : AS4812
URL : https://api.ipquery.io/203.0.113.1JSON 格式
{
"ip": "203.0.113.1",
"address": "中国 Beijing Beijing",
"isp": "China Telecom (Group)",
"country": "China",
"region": "Beijing",
"city": "Beijing",
"timezone": "Asia/Shanghai",
"latitude": 39.9042,
"longitude": 116.4074,
"asn": "AS4812",
"url": "https://api.ipquery.io/203.0.113.1"
}简洁格式
203.0.113.1选项说明
| 选项 | 说明 |
--json | 以 JSON 格式输出 |
--simple | 仅输出 IP 地址 |
--raw | 显示原始响应内容 |
使用场景
- 查询当前公网 IP
- 获取 IP 地理位置
- 确认网络运营商
- 调试网络连接
- 验证代理/VPN 效果
数据来源
本工具使用多个免费 IP 查询服务:
- ifconfig.co - 主 IP 查询服务
- icanhazip.com - 备用 IP 查询服务
- v4.ident.me - 备用 IP 查询服务
- ipinfo.io/ip - 备用 IP 查询服务
- ipquery.io - 详细地理位置和 ISP 信息
环境要求
- Node.js 18 或更高版本
- 需要访问互联网
常见问题
Q: 为什么显示的 IP 和路由器配置不同? A: 本工具查询的是公网 IP,路由器显示的是内网 IP(如 192.168.x.x)
Q: 如何在脚本中使用?
A: 使用 --json 或 --simple 选项便于解析
Q: 数据准确性如何? A: 数据来自多个公共服务,一般用于参考,精确位置需要专业服务
Q: 为什么一个服务失败后能自动切换? A: 工具内置了 4 个 IP 查询服务,会按优先级自动尝试,直到成功
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

