Loading...
Loading...
Calculate spatial relationships between two points including distance, direction, travel time, and human-readable descriptions. Use when you need to understand how locations relate to each other.
npx skill4agent add barneyjm/camino-skills relationship# 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 relationshipnpx clawhub@latest install relationship
# or: pnpm dlx clawhub@latest install relationship
# or: bunx clawhub@latest install relationshipcurl -s -X POST -H "Content-Type: application/json" \
-d '{"email": "you@example.com"}' \
https://api.getcamino.ai/trial/start{"api_key": "camino-xxx...", "calls_remaining": 25, ...}~/.claude/settings.json{
"env": {
"CAMINO_API_KEY": "your-api-key-here"
}
}# 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"]
}'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"| 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 |
{
"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"
}./scripts/relationship.sh '{
"start": {"lat": 51.5074, "lon": -0.1278},
"end": {"lat": 48.8566, "lon": 2.3522}
}'./scripts/relationship.sh '{
"start": {"lat": 40.7128, "lon": -74.0060},
"end": {"lat": 40.7589, "lon": -73.9851},
"include": ["distance", "direction"]
}'