← Back to Skills Marketplace
Query local public IP address
by
ZhangEnsure
· GitHub ↗
· v1.0.0
· MIT-0
173
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install query-local-public-ip-address
Description
Retrieve the device's current public IP address by running a Python script.
Usage Guidance
This skill is coherent and minimal: it runs a short Python script that queries public IP provider endpoints (api.ipify.org, ifconfig.me, icanhazip.com) and prints the result. It does not access secrets or local files. If you have privacy concerns, note that the script makes outbound requests to third-party services (those services will see your IP). If you prefer no network calls, do not install or run it. Otherwise it is safe and does what it says.
Capability Analysis
Type: OpenClaw Skill
Name: query-local-public-ip-address
Version: 1.0.0
The skill is a straightforward utility designed to retrieve the local public IP address. The Python script `script/get_ip.py` queries well-known, legitimate IP lookup services (api.ipify.org, ifconfig.me, and icanhazip.com) and contains no malicious logic, data exfiltration, or obfuscation.
Capability Assessment
Purpose & Capability
Name/description ask only for the device's public IP; the packaged script queries public IP services and nothing else. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md simply directs the agent to run the included Python script. The script only performs outbound HTTP GETs to well-known IP services and prints the result. It does not read files, environment variables, or transmit other data.
Install Mechanism
There is no install spec — the skill is instruction/code-only. The bundled Python script is small, plain-text, and from included files (no downloads or archive extraction).
Credentials
The skill requires no environment variables, credentials, or config paths. The declared dependency (python>=3.8) is appropriate for running the script.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide persistence or modify other skills. Autonomous invocation is allowed (platform default) but not excessive given the simple purpose.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install query-local-public-ip-address - After installation, invoke the skill by name or use
/query-local-public-ip-address - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the 查询本机公网 IP skill.
- Allows users to query and display the local machine's public IP address.
- Requires Python 3.8 or higher.
- Usage: run python3 get_ip.py to output the public IP.
Metadata
Frequently Asked Questions
What is Query local public IP address?
Retrieve the device's current public IP address by running a Python script. It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.
How do I install Query local public IP address?
Run "/install query-local-public-ip-address" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Query local public IP address free?
Yes, Query local public IP address is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Query local public IP address support?
Query local public IP address is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Query local public IP address?
It is built and maintained by ZhangEnsure (@zhangensure); the current version is v1.0.0.
More Skills