A specialized spatial utility skill for managing odd-r offset hexagonal grid coordinate systems and geometric calculations.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install civ6-adjacency-optimizer-hex-grid-spatial
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install civ6-adjacency-optimizer-hex-grid-spatial using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Hex Grid Spatial Utilities skill provides a robust mathematical foundation for developers working with hexagonal maps. It specifically targets the odd-r offset coordinate system, where odd rows are shifted right, making it an essential tool for game developers and UI engineers building hex-based layouts.
By abstracting the complexities of hexagonal geometry—such as the differing neighbor logic between even and odd rows—this entry in the Openclaw Skills library allows for rapid implementation of spatial queries. Whether you are building a strategy game or a complex data visualization, these utilities handle the heavy lifting of coordinate conversion and distance metrics.
To integrate these spatial utilities into your environment, ensure you have a Python-based execution context within your Openclaw Skills workspace:
# Navigate to your skills directory
cd skills/spatial-utils
# Install as a local module
pip install .
Alternatively, copy the core functions into your helper directory to allow your AI agent to reference them during the development process.
The skill operates primarily with coordinate tuples and handles data using the following structures:
| Data Type | Format | Description |
|---|---|---|
| Coordinate | (int, int) |
Represented as (x, y) offset coordinates. |
| Direction Index | 0-5 |
Integer mapping: 0=East, 1=NE, 2=NW, 3=West, 4=SW, 5=SE. |
| Cube Coordinate | (cx, cy, cz) |
Internal representation used for distance math where cx + cy + cz = 0. |
Loading
A comprehensive Python library for validating district placements and calculating complex adjacency bonuses in Civilization 6.

An interface for interacting with KaspaCom lending markets to manage assets and monitor health factors via AI agents.

A self-contained command-based engine for generating immersive Wuxia text adventures with persistent world states.

StylePilot is an AI-powered wardrobe assistant that digitizes your clothing collection to provide context-aware outfit suggestions and travel packing lists.

An advanced DeFi integration for the Kaspa network enabling automated launchpad discovery and token trading through the Model Context Protocol.

A comprehensive command-line interface for managing affiliate marketing programs, commission tracking, and partner payouts.








































