# Send IPinfo to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ipinfo",
    "name": "IPinfo",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tiagom101/ipinfo",
    "canonicalUrl": "https://clawhub.ai/tiagom101/ipinfo",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ipinfo",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ipinfo",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ipinfo",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T07:53:42.221Z",
      "expiresAt": "2026-05-11T07:53:42.221Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ipinfo",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ipinfo",
        "contentDisposition": "attachment; filename=\"ipinfo-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ipinfo"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ipinfo"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ipinfo",
    "downloadUrl": "https://openagent3.xyz/downloads/ipinfo",
    "agentUrl": "https://openagent3.xyz/skills/ipinfo/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ipinfo/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ipinfo/agent.md"
  }
}
```
## Documentation

### IPinfo Geolocation

Free IP geolocation API. No API key required for basic usage (50k requests/month), optional token for higher limits.

### Configuration

The IPINFO_TOKEN environment variable is optional - the skill works without it using the free tier. Configure it via the OpenClaw dashboard UI for higher rate limits, or set it manually:

Dashboard UI: Configure IPINFO_TOKEN in the OpenClaw dashboard (optional)
Environment variable: export IPINFO_TOKEN="your-token"
Query parameter: ?token=YOUR_TOKEN (for one-off requests)

### Quick Lookup

Single IP:

curl -s "https://ipinfo.io/8.8.8.8"

Current IP:

curl -s "https://ipinfo.io/json"

With token (optional, from environment):

curl -s "https://ipinfo.io/8.8.8.8?token=${IPINFO_TOKEN}"

Or pass token directly:

curl -s "https://ipinfo.io/8.8.8.8?token=YOUR_TOKEN"

### Response Format

JSON response includes:

ip: IP address
hostname: Reverse DNS hostname
city: City name
region: State/region
country: Two-letter country code (ISO 3166-1 alpha-2)
postal: Postal/ZIP code
timezone: IANA timezone
loc: Coordinates as "latitude,longitude"
org: Organization/ASN information

### Extract Specific Fields

Using jq:

curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.city, .country, .loc'

Country only:

curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.country'

Parse coordinates:

curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.loc' | tr ',' '\\n'

### Batch Processing

Process multiple IPs:

for ip in 8.8.8.8 1.1.1.1 208.67.222.222; do
  if [ -n "$IPINFO_TOKEN" ]; then
    echo "$ip: $(curl -s "https://ipinfo.io/$ip?token=$IPINFO_TOKEN" | jq -r '.city, .country' | tr '\\n' ', ')"
  else
    echo "$ip: $(curl -s "https://ipinfo.io/$ip" | jq -r '.city, .country' | tr '\\n' ', ')"
  fi
done

### Python Usage

import os
import requests

# Without token (free tier)
response = requests.get("https://ipinfo.io/8.8.8.8")
data = response.json()
print(f"{data['city']}, {data['country']}")
print(f"Coordinates: {data['loc']}")

With token from environment:

import os
import requests

token = os.getenv("IPINFO_TOKEN")
if token:
    response = requests.get("https://ipinfo.io/8.8.8.8", params={"token": token})
else:
    response = requests.get("https://ipinfo.io/8.8.8.8")
data = response.json()

Or pass token directly:

response = requests.get("https://ipinfo.io/8.8.8.8", params={"token": "YOUR_TOKEN"})

### Rate Limits

Free tier: 50,000 requests/month, ~1 req/sec
With token: Higher limits based on plan
Configure IPINFO_TOKEN via OpenClaw dashboard UI or environment variable

### Common Use Cases

Geolocate IP addresses
Enrich IP lists with location data
Filter IPs by country
Calculate distances between IPs using coordinates
Timezone detection for IPs
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tiagom101
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T07:53:42.221Z
- Expires at: 2026-05-11T07:53:42.221Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ipinfo)
- [Send to Agent page](https://openagent3.xyz/skills/ipinfo/agent)
- [JSON manifest](https://openagent3.xyz/skills/ipinfo/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ipinfo/agent.md)
- [Download page](https://openagent3.xyz/downloads/ipinfo)