gitstua/stu-skills · Archived

outbound-ip

Get the current public/outbound IP address of this machine using a reliable shell workflow with multiple fallback endpoints. Use when users ask for outbound IP, public IP, WAN IP, egress IP, or need IP checks before firewall/network allowlisting.

First seen Feb 12, 2026

Installation

$ npx skills add gitstua/stu-skills --skill outbound-ip

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from gitstua/stu-skills.

npx skills add gitstua/stu-skills

Browse all from gitstua/stu-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseGPL-3.0-only

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 847 B
  • docs SUMMARY.md 265 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Outbound IP

Use scripts/getoutboundip.sh for deterministic public IP lookup with endpoint fallback.

Workflow

  1. Run the helper script:

- scripts/getoutboundip.sh

  1. Return the resulting IPv4/IPv6 value exactly as printed.

Notes

  • The script tries several HTTPS endpoints and returns the first valid IP.
  • Use --family 4 to force IPv4 and --family 6 to force IPv6.
  • Use --json when downstream automation needs structured output.
  • If all providers fail, report the error and likely network/DNS restrictions.