IP Info
CommunityGet geolocation and ISP info for an IP address.
Installation
Save as `ipinfo.js`.
Source Code
JavaScriptTutorial.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 DemoAgent 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.