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.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.svg" alt="Measured on agentmods" 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 $0.00132 $0.01371
Sonnet 5 $0.00053 $0.00548
Haiku 4.5 $0.00026 $0.00274

Measured 8d ago against content hash 79ed959036b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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. 8d 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 (36 stars, last pushed 15d ago), with no licence file. It adds 264 tokens to every session and 2,742 once invoked, about $0.0013 per session on Opus 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

uloop-get-project-info

Get Unity project information via uloop CLI. Use when you need to check project settings, Unity version, platform, or other project metadata.

hatayama/unity-cli-loop · 34 tokens

hz-unity-meta-mixed-reality-utility-kit

Meta XR Mixed Reality Utility Kit (MRUK) (com.meta.xr.mrutilitykit) for Unity XR development. Use when working with Scene API data (rooms, walls, floors, furniture), spawning prefabs on scene anchors, placing virtual objects in the real world, world locking to prevent anchor drift, raycasting against room geometry…

meta-quest/agentic-tools · 136 tokens

hz-unity-meta-movement-sdk-retargeting

Set up and tweak Meta Movement SDK (MSDK) retargeting for a character model. Use this whenever the user wants to retarget a humanoid FBX/prefab for Meta Quest body tracking, generate a retargeting config, or hand-edit the resulting .json (fix known-joint mappings, exclude joints from auto-mapping, rename target…

meta-quest/agentic-tools · 182 tokens

hz-vr-debug

Debugs Meta Quest and Horizon OS VR/MR applications using the metavr CLI — view logs, capture screenshots, diagnose common issues. Use when troubleshooting crashes, errors, or unexpected behavior on Quest devices.

meta-quest/agentic-tools · 46 tokens

hz-unity-face-tracking

Drive ARKit-blendshape-rigged head/face models in Unity with the wearer's facial expressions on Meta Quest via Meta Movement SDK (face tracking + A2E). Use when a user has an FBX with the 52 ARKit blendshapes (any prefix, L/R suffixes) and wants it to animate from face tracking on Quest Pro / Quest 3 / Quest 3S.

meta-quest/agentic-tools · 92 tokens