← 返回 Skills 市场
148
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install public-ip-skill-in-openclaw
功能描述
查询当前机器的公网 IP 地址。用于需要确定服务器或客户端在互联网上的公开标识时。
安全使用建议
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.
功能分析
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`.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install public-ip-skill-in-openclaw - 安装完成后,直接呼叫该 Skill 的名称或使用
/public-ip-skill-in-openclaw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Public Ip 是什么?
查询当前机器的公网 IP 地址。用于需要确定服务器或客户端在互联网上的公开标识时。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 148 次。
如何安装 Public Ip?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install public-ip-skill-in-openclaw」即可一键安装,无需额外配置。
Public Ip 是免费的吗?
是的,Public Ip 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Public Ip 支持哪些平台?
Public Ip 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Public Ip?
由 trollhe(@trollhe)开发并维护,当前版本 v0.1.0。
推荐 Skills