OpenClawSkills
GitHub

IP Info

Community

Get geolocation and ISP info for an IP address.

Installation

Save as `ipinfo.js`.

Source Code

JavaScript
Tutorial.terminal

// ipinfo.js
// Uses ip-api.com

module.exports = async function(context) {
    const ip = context.args[0] || '';
    const res = await fetch(`http://ip-api.com/json/${ip}`);
    return await res.json();
};

Live Preview

● Live Demo
Agent Session
Starting session...

How to use

  • Ensure you have the necessary dependencies installed (if any).
  • Place the file in your OpenClaw skills folder (e.g., ~/.openclaw/skills/).
  • Restart your agent or reload configuration.
  • Invoke it using the filename (without extension) as the tool name, or through natural language if the description is clear.