← 返回 Skills 市场
johnnagro

IsItWater

作者 johnnagro · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1442
总下载
3
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install isitwater
功能描述
Check if geographic coordinates are over water or land using the IsItWater API.
使用说明 (SKILL.md)

IsItWater

Determine whether a latitude/longitude coordinate is over water using the IsItWater API.

Setup

Before making API calls, check whether the user has an API key configured:

  1. Check if ISITWATER_API_KEY is set in the environment.
  2. If it is not set:
    • Inform the user: "You need an IsItWater API key. You can get one at https://isitwater.com"
    • Offer to help them sign up using the browser tool — navigate to https://isitwater.com, create an account, and generate an API key from the dashboard.
    • Once the user has a key, guide them to configure it in ~/.openclaw/openclaw.json:
{
  "skills": {
    "entries": {
      "isitwater": {
        "apiKey": "YOUR_API_KEY_HERE"
      }
    }
  }
}
  • Alternatively, the user can export the environment variable directly: export ISITWATER_API_KEY=YOUR_API_KEY_HERE
  1. Once the key is available, proceed with the API calls below.

Water Lookup

Check whether a coordinate is over water or land.

Endpoint: GET https://api.isitwater.com/v1/locations/water

Headers:

  • Authorization: Bearer $ISITWATER_API_KEY

Query Parameters:

Parameter Type Required Description
lat number yes Latitude, between -90 and 90
lon number yes Longitude, between -180 and 180

Example curl:

curl -s "https://api.isitwater.com/v1/locations/water?lat=41.7658&lon=-72.6734" \
  -H "Authorization: Bearer $ISITWATER_API_KEY"

Example response (land):

{
  "request_id": "abc123",
  "water": false,
  "features": ["earth"],
  "latitude": "41.7658",
  "longitude": "-72.6734"
}

Example response (water):

{
  "request_id": "def456",
  "water": true,
  "features": ["earth", "ocean"],
  "latitude": "36.0",
  "longitude": "-30.0"
}

Response Fields:

Field Type Description
request_id string Unique identifier for the request
water boolean true if the coordinate is over water, false if over land
features string[] Geographic features at the point — e.g. earth, ocean, lake, river, glacier, nature_reserve
latitude string The latitude that was queried
longitude string The longitude that was queried

Cost: 1 credit per lookup.

Account Info

Check the user's account details and remaining credit balance.

Endpoint: GET https://api.isitwater.com/v1/accounts/me

Headers:

  • Authorization: Bearer $ISITWATER_API_KEY

Example curl:

curl -s "https://api.isitwater.com/v1/accounts/me" \
  -H "Authorization: Bearer $ISITWATER_API_KEY"

Response Fields:

Field Type Description
id string Account identifier
name string Account name
balance number Remaining credits
auto_recharge_enabled boolean Whether auto-recharge is turned on

Cost: Free (no credits consumed).

Error Handling

Status Code Meaning Description
200 OK Request succeeded
400 Bad Request Invalid latitude or longitude values
401 Unauthorized Missing or invalid API key
402 Payment Required Account has no remaining credits

Error responses return a JSON body:

{
  "error": "description of the problem"
}

Tips

  • Each water lookup costs 1 credit. Use the Account Info endpoint to check the user's balance before making many requests.
  • When the user provides a place name instead of coordinates (e.g. "Is the Sahara Desert water?"), geocode the location first to get lat/lon, then call the water lookup endpoint.
  • The features array can contain multiple overlapping values for a single point — for example, a point might return both lake and nature_reserve.
安全使用建议
This skill is coherent and appears to do exactly what it says: check coordinates against the IsItWater API. Before installing, consider the following: (1) The skill will send supplied coordinates to an external API — avoid sending sensitive/private locations if you care about privacy. (2) You must provide ISITWATER_API_KEY; prefer exporting it as an environment variable rather than storing it in ~/.openclaw/openclaw.json if you want to avoid plaintext storage. (3) SKILL.md suggests using a browser tool to sign up for the service — be cautious if you allow any automated browser interaction and do not let the agent autofill unrelated credentials. (4) The skill mentions geocoding place names but does not specify which geocoding service will be used; if you need geocoding, confirm which provider the agent will call (and whether it requires additional credentials). (5) The registry lists "Source: unknown" while README references a GitHub repo; if provenance matters, inspect the repository and confirm the publisher before installing. If these points are acceptable, the skill is reasonable to install.
功能分析
Type: OpenClaw Skill Name: isitwater Version: 1.0.0 The skill bundle is benign. All files describe the functionality and usage of the IsItWater API, including setup, API endpoints, and example `curl` commands. The `SKILL.md` instructions for the AI agent are clearly aligned with the stated purpose of checking coordinates against the IsItWater API and guiding the user for API key configuration, without any evidence of prompt injection attempts, data exfiltration, malicious execution, or persistence mechanisms. Network calls are exclusively directed to `api.isitwater.com` and `isitwater.com` for API interaction and user setup respectively.
能力评估
Purpose & Capability
The skill's name, description, and runtime instructions all focus on calling the IsItWater REST API and consistently reference ISITWATER_API_KEY as the credential. This is coherent for the stated purpose. Minor metadata inconsistency: the registry block lists "Required env vars: none" while the skill declares ISITWATER_API_KEY as its primary credential (primaryEnv).
Instruction Scope
SKILL.md stays within scope for the most part (check API key, call /v1/locations/water, optionally call /v1/accounts/me). It instructs the agent to offer to help sign up using a browser tool (navigate to isitwater.com and create an account) and to edit ~/.openclaw/openclaw.json to store the key. It also tells the agent to geocode place names before lookup but does not specify a geocoding provider — the agent could choose any method/tool to geocode, which is a functional gap (not necessarily malicious). The instructions will cause the agent to send user coordinates to an external service (IsItWater) — users should be aware of privacy/billing implications.
Install Mechanism
No install spec and no code files (instruction-only). This is the lowest-risk install model: nothing written or executed by the skill itself during installation.
Credentials
The skill requests a single API credential (ISITWATER_API_KEY), which is proportional to the service. It suggests two storage options: exporting an environment variable or writing the key into ~/.openclaw/openclaw.json under skills.entries.isitwater.apiKey. Storing API keys in a local JSON config is common but means the key will be on-disk in cleartext and accessible to local processes — users should prefer an env var or other secure secret storage if available.
Persistence & Privilege
The skill does not request 'always: true' or other elevated persistence. It is user-invocable and allows normal autonomous invocation (platform default), which is expected for a skills integration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install isitwater
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /isitwater 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of isitwater—quickly check if coordinates are over land or water. - Added setup instructions for configuring the IsItWater API key and environment. - Provides API endpoints to check whether coordinates are over water or land. - Includes endpoint to get account info and check credit balance. - Detailed API response fields and error handling explained. - Tips for usage and handling place names (geocoding requirement) included.
元数据
Slug isitwater
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

IsItWater 是什么?

Check if geographic coordinates are over water or land using the IsItWater API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1442 次。

如何安装 IsItWater?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install isitwater」即可一键安装,无需额外配置。

IsItWater 是免费的吗?

是的,IsItWater 完全免费(开源免费),可自由下载、安装和使用。

IsItWater 支持哪些平台?

IsItWater 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 IsItWater?

由 johnnagro(@johnnagro)开发并维护,当前版本 v1.0.0。

💬 留言讨论