skills$openclaw/relationship
barneyjm1.0k

by barneyjm

relationship – OpenClaw Skill

relationship is an OpenClaw Skills integration for coding workflows. 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.

1.0k stars1.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namerelationship
descriptionCalculate 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. OpenClaw Skills integration.
ownerbarneyjm
repositorybarneyjm/relationship
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @barneyjm/relationship
last updatedFeb 7, 2026

Maintainer

barneyjm

barneyjm

Maintains relationship in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
relationship.sh
1.5 KB
_meta.json
456 B
SKILL.md
3.3 KB
SKILL.md

name: relationship description: "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." metadata: {"clawdbot":{"emoji":"📐","requires":{"env":["CAMINO_API_KEY"]},"primaryEnv":"CAMINO_API_KEY"}}

Installation

Companion Skills: This is part of the Camino AI location intelligence suite. Install all 6 skills (query, places, relationship, context, route, journey) 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

  1. Get your API key from https://app.getcamino.ai
  2. Add to your ~/.claude/settings.json:
{
  "env": {
    "CAMINO_API_KEY": "your-api-key-here"
  }
}
  1. 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

FieldTypeRequiredDescription
startobjectYesStarting point with lat/lon
endobjectYesEnding point with lat/lon
includearrayNoWhat 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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install relationship?

Run openclaw add @barneyjm/relationship in your terminal. This installs relationship into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/barneyjm/relationship. Review commits and README documentation before installing.