h3-geospatial-knowledge-patch

h3-geospatial-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 11 tokens per session (2,010 once invoked), scanned A, original, MIT.

A reference guide for H3, a geospatial indexing system that divides the Earth into hierarchical hexagonal cells. It covers polygon conversion, grid traversal, indexes, directed edges, command-line use, and native library integration.

In plain words
What is it for?
Use it to cover polygons with H3 cells, traverse grids, inspect and construct indexes, work with edges and vertices, run H3 commands, and connect native libraries.
Why use it?
It helps avoid incorrect types, unsafe grid layouts, allocation mistakes, cleanup errors, and build or binding problems when working with H3. It also provides signatures and output details for supported operations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it to cover polygons with H3 cells, traverse grids, inspect and construct indexes, work with edges and vertices, run H3 commands, and connect native libraries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Nevaberry/nevaberry-plugins --skill h3-geospatial-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for h3-geospatial-knowledge-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for h3-geospatial-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/h3-geospatial-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.02010
Opus 5.5 $0.00004 $0.00804
Sonnet 5.5 $0.00002 $0.00402
Haiku 4.5 $0.00001 $0.00201

Measured today against content hash 54b30cea1c39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

h3-geospatial-knowledge-patch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/knowledge-patch/patches-claude/h3-geospatial-knowledge-patch/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

H3 geospatial compatibility

Load this skill when working with H3 polygon coverage and outlines, grid traversal, index inspection and construction, directed edges, shell commands, or native library integration. Consult the topic references for complete binding signatures, allocation examples, and output formats.

Reference index

Reference Topics
Polygon conversion Experimental containment modes and bindings, sizing, linked polygon errors and cleanup, Python outlines, area and latitude corrections
Traversal and indexes Pentagon-safe rings, unsafe disk layouts, grid paths, digits, construction, validation, faces, directed edges and vertices
CLI and build integration Polygon and edge commands, index output, argument errors, library installation, pkg-config, custom allocators

Compatibility corrections

C index-digit output type

The inspection reference declares the output parameter of getIndexDigit as int *. Match the output variable's type to the declaration in your installed <h3api.h>.

C polygon conversion and cleanup

In H3 4.5.0, cellsToMultiPolygon is internal to the C library. C callers use the public cellsToLinkedMultiPolygon to convert cells to polygon outlines. Check its return code before using the output polygon:

Input problem Error
Invalid cells E_CELL_INVALID
Mixed resolutions E_RES_MISMATCH
Duplicate cells E_DOMAIN

destroyLinkedMultiPolygon is safe to call twice on the same linked multipolygon.

Shell parsing and errors

  • h3 stringToInt preserves all 16 hexadecimal digits, including directed-edge and vertex indexes.
  • h3 gridDistance prints grid steps in decimal; parse the output in base 10.
  • Unknown arguments, missing required arguments, and missing or unparseable argument values cause the h3 executable to exit with a nonzero status.
  • areNeighborCells and isValidDirectedEdge default to JSON booleans; use -f numeric for 1 or 0.

Read the full file on GitHub · 199 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 199 lines · 11 tokens per session scan A 54b30cea1c39

Subscribe to this mod's changes

h3-geospatial-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 2,010 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

h3-geospatial-knowledge-patch compared with skills from other repositories

h3-geospatial-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
h3-geospatial-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA11Claude Code
polish-docs-metacyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A54Claude Code
environmental-analysisAlpacaLabsLLC/skills-for-architectsSkill4506d agoMITA37Claude Code
release-pr-reviewcyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A136Claude Code
api-servicescyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A32Claude Code
cross-language-checkflonat/flonat-researchSkill15516d agoMITA58Claude Code
lean-checkflonat/flonat-researchSkill15516d agoMITA63Claude Code