grafema: Skill for Claude Code

.claude/skills/hex-grid-sequential-bfs-layout/SKILL.md

hex-grid-sequential-bfs-layout is a skill for Claude Code from Disentinel/grafema. It costs 264 tokens per session (2,742 once invoked), scanned A, original, no licence file.

A layout method for keeping regions compact in hex-grid arrangements that use competitive flood-fill. Flood-fill expands regions across neighbouring tiles, while competitive means multiple regions expand in turn.

In plain words
What is it for?
Use it to fix dispersed regions in simulated-annealing hex layouts and to improve layouts with unusually poor distance or compactness results.
Why use it?
Some regions can become scattered instead of forming connected, compact blobs, especially when they contain many tiles.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Disentinel/grafema's own configuration. It tells Claude Code how to work on grafema itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything grafema configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Disentinel/grafema. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Disentinel/grafema/main/.claude/skills/hex-grid-sequential-bfs-layout/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Disentinel/grafema

Made for: Claude Code.

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 hex-grid-sequential-bfs-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/disentinel/grafema/hex-grid-sequential-bfs-layout/github.svg)](https://agentmods.dev/skills/disentinel/grafema/hex-grid-sequential-bfs-layout)
Your own site
<a href="https://agentmods.dev/skills/disentinel/grafema/hex-grid-sequential-bfs-layout"><img src="https://agentmods.dev/badge/skills/disentinel/grafema/hex-grid-sequential-bfs-layout/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 hex-grid-sequential-bfs-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/disentinel/grafema/hex-grid-sequential-bfs-layout"><img src="https://agentmods.dev/badge/skills/disentinel/grafema/hex-grid-sequential-bfs-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 264 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,742 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 unknown 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.00264 $0.02742
Opus 5.5 $0.00106 $0.01097
Sonnet 5.5 $0.00053 $0.00548
Haiku 4.5 $0.00026 $0.00274

Measured 1mo ago against content hash 79ed959036b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hex-grid-sequential-bfs-layout 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 1mo ago.

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.

.claude/skills/hex-grid-sequential-bfs-layout/SKILL.md · 293 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 1mo ago First seen · 293 lines · 264 tokens per session scan A 79ed959036b0

Subscribe to this mod's changes

hex-grid-sequential-bfs-layout is a skill published in the GitHub repository Disentinel/grafema (35 stars, last pushed 2mo ago), with no licence file. It adds 264 tokens to every session and 2,742 once invoked, about $0.0011 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-08-30.

Related

Other skills, from other repositories

mate

Create custom desktop pet (Mate) characters with spritesheet and manifest. Use when the user asks to 'create a pet', 'make a desktop companion', 'design a mate character', 'generate a spritesheet for my pet', or wants to customize their desktop buddy. Generates a WebP spritesheet + manifest.json that can be loaded by…

XiaomiMiMo/MiMo-Code · 77 tokens

gamedev-multiplayer

Use when adding multiplayer or netcode to a game — client-server vs P2P, server authority and anti-cheat, state replication vs RPCs, prediction and reconciliation, lag compensation, plus Godot 4 / Unity NGO / Unreal wiring. NOT single-player gameplay (that is godot, unity, unreal), NOT matchmaking or server hosting…

ericrisco/rsc-harness · 86 tokens

gamedev-pathing

Use when making NPCs, enemies, or units navigate a level — grid vs waypoint vs navmesh, A/JPS, navmesh baking and agent radius, off-mesh links, steering, RVO crowd avoidance, and flow fields in Godot 4.x, Unity, Unreal. NOT collision response or character controllers (that is gamedev-physics), NOT aggro or difficulty…

ericrisco/rsc-harness · 90 tokens

gamedev-physics

Use when working with a game engine's physics — rigid bodies, colliders, collision layers and masks, character controllers, joints, forces versus impulses, raycasts and shapecasts, or when a simulation is unstable (tunnelling, jitter, missed overlaps). Covers the Godot, Unity and Unreal equivalents. NOT rendering or…

ericrisco/rsc-harness · 102 tokens

gamedev-shaders

Use when authoring or debugging a shader, material, VFX, or full-screen post-process in a game engine — Godot 4.x .gdshader, Unity 6 URP/HDRP, Unreal 5.x Materials, effect recipes, shader performance. NOT gameplay or engine-API code (that is godot/unity/unreal), NOT physics (gamedev-physics), NOT build variant…

ericrisco/rsc-harness · 102 tokens

godot

Use when writing, reviewing, or debugging Godot 4.x games in GDScript or C# — scenes, nodes, custom Resources, autoload/EventBus signals, typed GDScript, CharacterBody2D/3D movement, GUT/gdUnit4 — or porting Godot 3 APIs to 4. NOT Unity/Unreal (that is unity/unreal), NOT .gdshader code (gamedev-shaders), NOT…

ericrisco/rsc-harness · 112 tokens