← 返回 Skills 市场
james-southendsolutions

Geospacial relationship between two locations

作者 James-southendsolutions · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
643
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install camino-relationship
功能描述
Calculate spatial relationships between two points including distance, direction, travel time, and human-readable descriptions. Use when you need to understa...
使用说明 (SKILL.md)

Installation

Companion Skills: This is part of the Camino AI location intelligence suite. Install all available skills (query, places, relationship, context, route, journey, real-estate, hotel-finder, ev-charger, school-finder, parking-finder, fitness-finder, safety-checker, travel-planner) for comprehensive coverage.

# Install all skills from repo
npx skills add https://github.com/barneyjm/camino-skills

# Or install specific skills
npx skills add https://github.com/barneyjm/camino-skills --skill relationship

Via clawhub:

npx clawhub@latest install relationship
# or: pnpm dlx clawhub@latest install relationship
# or: bunx clawhub@latest install relationship

Relationship - Spatial Calculations

Calculate distance, direction, travel time, and human-readable descriptions between two points.

Setup

Instant Trial (no signup required): Get a temporary API key with 25 calls:

curl -s -X POST -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}' \
  https://api.getcamino.ai/trial/start

Returns: {"api_key": "camino-xxx...", "calls_remaining": 25, ...}

For 1,000 free calls/month, sign up at https://app.getcamino.ai/skills/activate.

Add your key to Claude Code:

Add to your ~/.claude/settings.json:

{
  "env": {
    "CAMINO_API_KEY": "your-api-key-here"
  }
}

Restart Claude Code.

Usage

Via Shell Script

# Calculate relationship between two points
./scripts/relationship.sh '{
  "start": {"lat": 40.7128, "lon": -74.0060},
  "end": {"lat": 40.7589, "lon": -73.9851}
}'

# Include specific calculations
./scripts/relationship.sh '{
  "start": {"lat": 40.7128, "lon": -74.0060},
  "end": {"lat": 40.7589, "lon": -73.9851},
  "include": ["distance", "direction", "travel_time", "description"]
}'

Via curl

curl -X POST -H "X-API-Key: $CAMINO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"start": {"lat": 40.7128, "lon": -74.0060}, "end": {"lat": 40.7589, "lon": -73.9851}}' \
  "https://api.getcamino.ai/relationship"

Parameters

Field Type Required Description
start object Yes Starting point with lat/lon
end object Yes Ending point with lat/lon
include array No What to include: distance, direction, travel_time, description

Response Format

{
  "distance": {
    "meters": 5420,
    "kilometers": 5.42,
    "miles": 3.37
  },
  "direction": {
    "bearing": 42,
    "cardinal": "NE",
    "description": "northeast"
  },
  "travel_time": {
    "walking_minutes": 68,
    "driving_minutes": 15,
    "cycling_minutes": 22
  },
  "description": "5.4 km northeast, about 15 minutes by car"
}

Examples

Simple distance check

./scripts/relationship.sh '{
  "start": {"lat": 51.5074, "lon": -0.1278},
  "end": {"lat": 48.8566, "lon": 2.3522}
}'

Get only distance and direction

./scripts/relationship.sh '{
  "start": {"lat": 40.7128, "lon": -74.0060},
  "end": {"lat": 40.7589, "lon": -73.9851},
  "include": ["distance", "direction"]
}'

Use Cases

  • Proximity checks: Determine if two locations are within a certain distance
  • Direction guidance: Provide cardinal direction context (north, southeast, etc.)
  • Travel planning: Estimate travel times for different transport modes
  • Location context: Generate human-readable descriptions of spatial relationships
安全使用建议
This skill appears to do exactly what it says: it sends your location JSON to Camino's relationship endpoint using the CAMINO_API_KEY. Before installing or running: 1) Use the trial key or a scoped key if available (avoid exposing a high-privilege key). 2) Review the suggested GitHub repo before running npx to ensure you trust that source. 3) Ensure curl and jq are installed. 4) Keep your CAMINO_API_KEY secret and only add it to local settings you control. If you need higher assurance, review the repo code and API docs at https://api.getcamino.ai or contact the provider for key scope and retention policies.
功能分析
Type: OpenClaw Skill Name: camino-relationship Version: 0.1.0 The skill bundle is benign. The `SKILL.md` provides clear instructions for installation and usage, including obtaining an API key for `api.getcamino.ai`. The `scripts/relationship.sh` script correctly validates input, requires a `CAMINO_API_KEY`, and makes a `curl` POST request to the specified `api.getcamino.ai/relationship` endpoint, sending the user-provided JSON input and the API key. There is no evidence of prompt injection, data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, or obfuscation. All actions are consistent with the stated purpose of calculating spatial relationships via an external API.
能力评估
Purpose & Capability
Name/description (spatial relationships) aligns with the requested CAMINO_API_KEY and the script which posts to https://api.getcamino.ai/relationship. Required tools (curl, jq) are reasonable for the provided shell script.
Instruction Scope
SKILL.md and the script only instruct the user/agent to send location JSON to Camino's API and to add the CAMINO_API_KEY to Claude Code settings; they do not direct reading of unrelated files, access to other credentials, or transmitting data to unexpected endpoints.
Install Mechanism
No formal install spec is bundled (lowest-risk). SKILL.md suggests using npx to add a GitHub repo (https://github.com/barneyjm/camino-skills); GitHub is a common host but pulling/installing code from third-party repos can run arbitrary install-time scripts—review that repo before running npx if you plan to install.
Credentials
Only CAMINO_API_KEY is required and is used only to authenticate requests to the Camino API. No other SECRET/TOKEN/PASSWORD env vars or config paths are requested.
Persistence & Privilege
always is false and the skill does not request system-wide changes or to modify other skills. It does not attempt to persist credentials itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install camino-relationship
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /camino-relationship 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the camino-relationship skill. - Provides spatial relationship calculations (distance, direction, travel time, and descriptions) between two locations. - Supports flexible output: request all or specific calculations (distance, direction, travel_time, description). - Includes easy setup with free trial API key and simple environment variable configuration. - Offers both shell script and curl usage examples for easy integration. - Useful for proximity checks, direction guidance, travel planning, and generating location-based descriptions.
元数据
Slug camino-relationship
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Geospacial relationship between two locations 是什么?

Calculate spatial relationships between two points including distance, direction, travel time, and human-readable descriptions. Use when you need to understa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 643 次。

如何安装 Geospacial relationship between two locations?

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

Geospacial relationship between two locations 是免费的吗?

是的,Geospacial relationship between two locations 完全免费(开源免费),可自由下载、安装和使用。

Geospacial relationship between two locations 支持哪些平台?

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

谁开发了 Geospacial relationship between two locations?

由 James-southendsolutions(@james-southendsolutions)开发并维护,当前版本 v0.1.0。

💬 留言讨论