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.
Why use this skill?
Calculate distance, travel time, and direction between coordinates with the Relationship skill for OpenClaw. Streamline location intelligence and navigation tasks.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/barneyjm/relationshipWhat This Skill Does
The Relationship skill is a powerful geospatial intelligence tool designed to provide precise spatial awareness between two defined coordinates. By analyzing latitude and longitude inputs, this skill calculates the physical distance, compass bearing, cardinal direction, and projected travel times across multiple modes of transport including walking, driving, and cycling. Beyond raw metrics, it generates human-readable natural language summaries, making it an essential bridge between complex coordinate data and actionable real-world information. Whether you are building an itinerary, analyzing logistics, or simply trying to understand how two landmarks interact in a physical landscape, this skill provides the necessary context.
Installation
To integrate this into your workflow, ensure you have the OpenClaw environment initialized. You can install the skill globally using the clawhub CLI:
clawhub install openclaw/skills/skills/barneyjm/relationship
Alternatively, if you are using the Camino AI suite, you can manage this via npm:
# Install as part of the full Camino suite
npx skills add https://github.com/barneyjm/camino-skills
Ensure your API key is correctly configured in your environment settings as specified in the documentation to enable the geospatial backend.
Use Cases
- Logistics Planning: Estimate delivery windows by calculating real-time drive times between distribution hubs and end-user coordinates.
- Travel & Tourism: Quickly determine the proximity of hotels to popular tourist attractions to create efficient daily walking routes.
- Real Estate Analysis: Evaluate the relationship between a property location and key amenities like transit stations or parks.
- Event Coordination: Determine the best meeting points for distributed teams based on travel time from their current locations.
Example Prompts
- "Calculate the distance and walking time between the Eiffel Tower and the Louvre, and give me a brief description of the path."
- "How far is it from 40.7128, -74.0060 to 40.7589, -73.9851, and what is the cardinal direction?"
- "Compare driving versus cycling time between these two office locations: [Lat1, Lon1] and [Lat2, Lon2]."
Tips & Limitations
- Precision: Ensure coordinates are provided in decimal degrees; invalid formats may result in request failures.
- Performance: This tool relies on external API calls; for high-frequency batch processing, cache results where possible to minimize network latency and stay within trial quota limits.
- Mode Sensitivity: Travel times are estimates based on standard traffic conditions; they do not account for real-time accidents or road closures.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-barneyjm-relationship": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
query
Search for places using natural language with Camino AI's location intelligence API. Returns relevant results with coordinates, distances, and metadata. Use when you need to find real-world locations like restaurants, shops, landmarks, or any point of interest.
search
Search the web using Tavily's LLM-optimized search API. Returns relevant results with content snippets, scores, and metadata. Use when you need to find web content on any topic without writing code.
journey
Plan multi-waypoint journeys with route optimization, feasibility analysis, and time budget constraints. Use when you need to plan trips with multiple stops or check if an itinerary is achievable.
travel-planner
Plan complete day trips, walking tours, and multi-stop itineraries with time budgets using Camino AI's journey planning and route optimization.
real-estate
Evaluate any address for home buyers and renters. Get nearby schools, transit, grocery stores, parks, restaurants, and walkability using Camino AI's location intelligence.