Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

show-my-ip

bởi ericsantos

Coding Agents & IDEs
350Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Show the current public IP address of the server.

Mô tả

Kỹ năng này làm gì

Retrieves the public IP address of the machine running the agent by querying ifconfig.me. Returns both IPv4 and IPv6 addresses when available.

Saves opening a browser or remembering the ifconfig.me URL when working in a terminal-only or automated environment.

Khi nào nên dùng

  • Checking if a VPN is active and routing traffic correctly
  • Verifying outbound IP before adding it to a firewall allowlist
  • Confirming which server is handling requests after a deployment
  • Debugging API rejections caused by IP restrictions
  • Checking server identity in a multi-region setup

Quy trình ví dụ

ĐẦU VÀO

User asks: What's my public IP address?

AGENT
  1. 1

    Run scripts/get-ip.sh

  2. 2

    Capture stdout from the script

  3. 3

    Parse IPv4 line from output

  4. 4

    Parse IPv6 line if present

  5. 5

    Return formatted IP information to user

ĐẦU RA

IPv4: 203.0.113.42, IPv6: 2001:db8::1

Cài đặt

clawhub install ericsantos/show-my-ip

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết