← Back to Skills Marketplace
148
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install public-ip-skill-in-openclaw
Description
查询当前机器的公网 IP 地址。用于需要确定服务器或客户端在互联网上的公开标识时。
Usage Guidance
This skill appears to do exactly what it says: query public IP lookup services and return a JSON result. Before installing/running: (1) confirm the host has Python 3 and the 'requests' library (pip install requests) or add an install step; (2) update the run example to a relative path or use the agent's skill path rather than /home/ubuntu; (3) be aware that contacting external IP services reveals your machine's IP to those third parties (expected for this task); (4) run in a controlled environment if you have strict egress/network policies. If you want stricter privacy, limit the list of external services or host your own IP lookup endpoint.
Capability Analysis
Type: OpenClaw Skill
Name: public-ip-skill-in-openclaw
Version: 0.1.0
The skill is a legitimate utility designed to retrieve the host's public IP address. The implementation in `scripts/get_public_ip.py` queries several well-known public IP discovery services (such as api.ipify.org and ifconfig.me) and returns the results in a structured JSON format. The code is transparent, lacks any malicious logic or obfuscation, and aligns perfectly with the documentation provided in `SKILL.md`.
Capability Assessment
Purpose & Capability
Name/description state 'get public IP' and the script only queries several public IP services. No unrelated binaries, env vars, or permissions are requested.
Instruction Scope
SKILL.md limits behavior to running scripts/get_public_ip.py and reporting its JSON output (which matches the code). Two small issues to note: the run example uses an absolute path (/home/ubuntu/...) that may not exist on the host, and the instructions do not mention the required Python dependency ('requests'). Neither is malicious, but both affect usability and should be corrected.
Install Mechanism
No install spec is provided (instruction-only). The script depends on the Python 'requests' package but the skill does not declare installation instructions or dependencies. This is not a security problem by itself but may cause runtime failures.
Credentials
The skill requires no environment variables, credentials, or config paths. The network calls are only to public IP lookup endpoints listed in SKILL.md, which is appropriate for the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or system-wide changes. It does not modify other skills or system configuration.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install public-ip-skill-in-openclaw - After installation, invoke the skill by name or use
/public-ip-skill-in-openclaw - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of public-ip-skill-in-openclaw.
- Introduces a skill to query the server's public IP address using multiple third-party services for reliability.
- Provides a Python script (`scripts/get_public_ip.py`) that returns the public IP in JSON format.
- Supports common use cases like network diagnostics and configuring IP whitelists.
- Handles errors and service fallbacks automatically for consistent results.
Metadata
Frequently Asked Questions
What is Public Ip?
查询当前机器的公网 IP 地址。用于需要确定服务器或客户端在互联网上的公开标识时。 It is an AI Agent Skill for Claude Code / OpenClaw, with 148 downloads so far.
How do I install Public Ip?
Run "/install public-ip-skill-in-openclaw" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Public Ip free?
Yes, Public Ip is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Public Ip support?
Public Ip is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Public Ip?
It is built and maintained by trollhe (@trollhe); the current version is v0.1.0.
More Skills