relationship
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.
Best use case
relationship is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using relationship should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/relationship/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How relationship Compares
| Feature / Agent | relationship | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## 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.
```bash
# 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:**
```bash
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](https://app.getcamino.ai)
2. Add to your `~/.claude/settings.json`:
```json
{
"env": {
"CAMINO_API_KEY": "your-api-key-here"
}
}
```
3. Restart Claude Code
## Usage
### Via Shell Script
```bash
# 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
```bash
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
```json
{
"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
```bash
./scripts/relationship.sh '{
"start": {"lat": 51.5074, "lon": -0.1278},
"end": {"lat": 48.8566, "lon": 2.3522}
}'
```
### Get only distance and direction
```bash
./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 relationshipsRelated Skills
relationship-skills
Improve relationships with communication tools, conflict resolution, and connection ideas
camino-relationship
Calculate spatial relationships between two points including distance, direction, travel time, and human-readable.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm
security-operator
Runtime security guardrails for OpenClaw agents.
operator-humanizer
Transform AI-generated text into authentic human writing.
kit-email-operator
**AI-powered email marketing for Kit (ConvertKit)**.
agora
Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.
surf-check
Surf forecast decision engine.