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 50 tokens per session (4,009 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/dev/.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 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,009 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.00050 $0.04009
Opus 5.5 $0.00020 $0.01604
Sonnet 5.5 $0.00010 $0.00802
Haiku 4.5 $0.00005 $0.00401

Measured 12d ago against content hash 6d4cc38c4865, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 12d 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 · 392 lines

How it starts

The opening of the file, as written. The whole thing — 392 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 · 392 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. 12d ago Changed · +12 lines · -118 tokens per session 6d4cc38c4865
  2. 1mo 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 (25 stars, last pushed 10d ago), licensed MIT. It adds 50 tokens to every session and 4,009 once invoked, about $0.0002 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

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 4, 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

qa-plan

Generate a QA test plan for a sprint or feature. Reads GDDs and story files, classifies stories by test type (Logic/Integration/Visual/UI), and produces a structured test plan covering automated tests required, manual test cases, smoke test scope, and playtest sign-off requirements. Run before sprint begins or when…

striderZA/OpenCodeGameStudios · 73 tokens

asset-audit

Audits game assets for compliance with naming conventions, file size budgets, format standards, and pipeline requirements. Identifies orphaned assets, missing references, and standard violations.

striderZA/OpenCodeGameStudios · 38 tokens

hybrid-prototype

Fast-lane prototype skill for the hybrid workflow. Builds a playable prototype in 2-3 days with minimal process overhead. Designed for discovery phase.

striderZA/OpenCodeGameStudios · 35 tokens