yume: Skill for Claude Code

.claude/skills/yume-map-author/SKILL.md

yume-map-author is a skill for Claude Code from kamwoh/yume. It costs 168 tokens per session (3,997 once invoked), scanned A, original, MIT.

A Yume game-development skill that turns a semantic top-down map image into a level layout with game entities and world details.

In plain words
What is it for?
Use it to hand-place game objects from a wireframe map, or prepare map data for a Yume game's world-generation pipeline.
Why use it?
It gives map placements a defined source instead of requiring every object to be positioned manually. It can also account for the game's available entities, world limits, and coordinate mapping.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is kamwoh/yume's own configuration. It tells Claude Code how to work on yume 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 yume configures →

View source ↗ kamwoh/yume
Reuse

Borrowing it

Nothing to install: this file belongs to kamwoh/yume. 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/kamwoh/yume/master/.claude/skills/yume-map-author/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kamwoh/yume

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 yume-map-author

README.md
[![agentmods](https://agentmods.dev/badge/skills/kamwoh/yume/yume-map-author/github.svg)](https://agentmods.dev/skills/kamwoh/yume/yume-map-author)
Your own site
<a href="https://agentmods.dev/skills/kamwoh/yume/yume-map-author"><img src="https://agentmods.dev/badge/skills/kamwoh/yume/yume-map-author/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 yume-map-author

Your own site · 80×15
<a href="https://agentmods.dev/skills/kamwoh/yume/yume-map-author"><img src="https://agentmods.dev/badge/skills/kamwoh/yume/yume-map-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,997 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.00168 $0.03997
Opus 5 $0.00084 $0.01998
Sonnet 5 $0.00034 $0.00799
Haiku 4.5 $0.00017 $0.00400

Measured 10d ago against content hash a9753a01ab26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

yume-map-author 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 10d 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/yume-map-author/SKILL.md · 380 lines

How it starts

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

/yume-map-author

You are the level / map author for Yume. You read a semantic top-down map image and produce a level's entities.json — meaning the in-game level matches the map (modulo procedural-scatter variance for zones).

Sibling of yume-hud-author and yume-screen-author. Same harness pattern; the surface this time is a 2D spatial world, not a 16:9 viewport. Deterministic surface lives at tools/visual_layout/wireframe_to_map.py.

⚠ CURRENT PIPELINE (2026-05-27). The LLM-parses-the-map-PNG flow below (wireframe_to_map) places entities by reading the map via vision against a per-game entity catalog. It has been largely SUPERSEDED for FULL-WORLD generation by tools/visual_layout/compose_world.py, which extracts placements DETERMINISTICALLY from the semantic map via data/lib/extraction_strategies.json + lib_extract_dispatch (connected components, PCA fit-to-mask, variant buckets, kit meshes), and emits entity defs + biome ground + water + roads. A separate compose_shell.py adds camera/player/input/lighting. This skill still applies when authoring a level by hand-placing catalog entities against a wireframe (the fit-fit LLM-parser path), but text-to-WORLD generation now goes through compose_world/compose_shell (the active 3D map pipeline; see .claude/rules/pipeline-stability.md).

Why this skill exists

The earlier compose_map.py chain used opencv k-means + skimage skeletonization to parse semantic maps. Same fragility as the CV-based HUD pipeline: borderline-cropped color regions, soft JPEG edges, ambiguous zone/anchor calls.

Putting Claude at the parsing step gives:

  • Reliable region identification via vision (not k-means)
  • Semantic def_id picking ("this blob looks like a fire pit because it's small and at center" — informed by tags + asset_resolution hints)
  • Better anchor-vs-zone judgment (a small distinct region is an anchor; a large irregular region is a zone)

Fit-fit: what's drawn on the map is what's placed. No clever "densify the forest by 2x" or "shift the camp 10m east." The map is the spec.

Read the full file on GitHub · 380 lines

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. 10d ago First seen · 380 lines · 168 tokens per session scan A a9753a01ab26

Subscribe to this mod's changes

yume-map-author is a skill published in the GitHub repository kamwoh/yume (21 stars, last pushed 2mo ago), licensed MIT. It adds 168 tokens to every session and 3,997 once invoked, about $0.0008 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

godot-engineer

!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || true !cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/game-test-protocol.md 2>/dev/null || true…

buiphucminhtam/forgewright · 52 tokens

game-engineer

Meta-skill for game development that orchestrates specialized engine skills. Routes to the appropriate game engine skill (Unity, Unreal, Godot, Roblox, Phaser 3, Three.js) based on project requirements. Provides unified game development workflow.

buiphucminhtam/forgewright · 52 tokens

self-evolve

Capture reusable patterns from a finished project and lift them into framework-level priors (contracts, modules, skeletons) that future projects inherit. Run only when the user explicitly requests self-evolution; the orchestrator executes the workflow.

tettethu/VibeGame · 50 tokens

fps-controller

Use when building an FPS, first-person movement, or a 3D character that walks, jumps, and reacts to external forces — production-quality first-person controller with WASD, mouse look, jump, coyote time, jump buffering, air control, and external-velocity handling. Trigger on "FPS", "first-person", "WASD", "character…

SummerEngine/summer-engine-agent · 89 tokens

smoke

Use when authoring a smoke visual effect — a slow-rising column or puff of soft particles built with a noise + density falloff shader on a quad mesh, GPUParticles3D. Trigger on "smoke", "smoke trail", "puff", "chimney smoke", "smoke from a fire", "steam", "fog cloud", "explosion smoke".

SummerEngine/summer-engine-agent · 81 tokens

skybox-panorama

Use when generating a 360° panoramic sky image for use as a Sky resource (PanoramaSkyMaterial) in a 3D scene. Equirectangular projection, 2:1 aspect. Wires into WorldEnvironment.sky. Trigger on "skybox", "sky panorama", "360 background", "environment sky", "HDRI sky", "panoramic background", "panorama sky".

SummerEngine/summer-engine-agent · 87 tokens