show-my-ip

TotalClaw 作者 totalclaw

显示服务器当前的公共IP地址。当询问 IP、公共 IP 或网络身份时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~ericsantos-show-my-ip
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~ericsantos-show-my-ip/file -o ericsantos-show-my-ip.md
# Show My IP

Quickly check the public IP address of the machine running your agent. Useful for debugging network issues, verifying VPN connections, confirming server identity, or setting up firewall rules.

## Usage

```bash
bash scripts/get-ip.sh
```

## Output

Returns the public **IPv4** address (and **IPv6** if available) by querying `ifconfig.me`.

Example output:
```
=== Public IP ===
IPv4: 203.0.113.42
IPv6: 2001:db8::1
```

## When to Use

- User asks "what's my IP?" or "show my public IP"
- Verifying outbound IP for allowlisting
- Checking if a VPN or proxy is active
- Confirming server network identity

## Requirements

- `curl` (pre-installed on most systems)
- Internet access

---

## 中文说明

# Show My IP

快速查看运行你的代理的机器的公共 IP 地址。适用于调试网络问题、验证 VPN 连接、确认服务器身份或设置防火墙规则。

## 用法

```bash
bash scripts/get-ip.sh
```

## 输出

通过查询 `ifconfig.me` 返回公共 **IPv4** 地址(如可用,还会返回 **IPv6**)。

示例输出:
```
=== Public IP ===
IPv4: 203.0.113.42
IPv6: 2001:db8::1
```

## 何时使用

- 用户询问 "what's my IP?" 或 "show my public IP"
- 验证用于允许名单的出站 IP
- 检查 VPN 或代理是否处于活动状态
- 确认服务器网络身份

## 要求

- `curl`(大多数系统已预装)
- 互联网访问