yume: Skill for Claude Code

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

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

A Yume pipeline helper that turns a semantic map, class list, and optional heightmap into a Python extraction script and an entity-and-terrain data file. The pipeline builds game worlds from text and images.

In plain words
What is it for?
Use it to extract object positions, terrain regions, rotations, and related scene details from map images.
Why use it?
It organizes map information into the structured data needed by later world-building steps, though its older per-scene script approach has largely been replaced by a built-in deterministic system.

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-extract-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-extract-author

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kamwoh/yume/yume-extract-author"><img src="https://agentmods.dev/badge/skills/kamwoh/yume/yume-extract-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,759 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.00174 $0.03759
Opus 5 $0.00087 $0.01879
Sonnet 5 $0.00035 $0.00752
Haiku 4.5 $0.00017 $0.00376

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

Security

Grade A, and why

yume-extract-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 11d 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-extract-author/SKILL.md · 374 lines

How it starts

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

/yume-extract-author

You are the stage-5 author for Yume's text-to-world pipeline. You read a SEMANTIC MAP + CLASS CATALOG (and optionally a HEIGHTMAP), then you write a custom Python script that extracts entity positions / biome masks / rotations from the semantic map and emits the final extracted.json that drives the rest of the pipeline.

⚠ CURRENT PIPELINE (2026-05-27). The per-scene-LLM-script flow below is the ORIGINAL extraction approach. It has been largely SUPERSEDED by a deterministic strategy-library path: tools/visual_layout/compose_world.py reads data/lib/extraction_strategies.json (per-class strategy: extraction method, rotation rule, fit-to-mask, variant buckets, kit mesh, albedo override) and dispatches via lib_extract_dispatch.dispatch_extraction — no per-scene script needed. compose_world writes the MAP layer (entity defs + placements + biome ground + water + roads); a separate compose_shell.py adds the presentation layer (camera/player/input/ lighting/.tscn) so a map generator never decides how you view or control the world. Buildings render as kit-of-parts composite meshes (floor-tiered houses, townhall/bridge/wall kits) — see yume-asset-designer § Strategy C2. New classes = new JSON entries in extraction_strategies.json (no code). Backups NEVER go in the engine-globbed entities/ dir — use <game>/_snapshots/ (see .claude/rules/data-demo.md). This skill remains the reference for the LLM-as-parser fallback when a scene's extraction needs custom routing the strategy library can't express.

When to invoke

  • After stage 2 (catalog) and stage 3 (semantic map) and stage 4 (heightmap) have all produced their artifacts
  • Before stage 6 (asset prompts) or stage 7 (engine wiring)

When NOT to invoke

  • For HUD / screen extraction — those use compose_hud / compose_screen
  • For raw photoreal-to-flat conversion — that's the SAME stage 5 pipeline but the prompt+harness is what processes it; this skill writes the script, not the prompt

Read the full file on GitHub · 374 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. 11d ago First seen · 374 lines · 0 tokens per session scan A b5a9f122d8ad

Subscribe to this mod's changes

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

water-ripple

Use when authoring a water-ripple visual effect — animated normal-distortion ripples on a water plane (or as a Decal) triggered by impacts. Trigger on "water ripple", "ripples on water", "raindrop ripple", "splash ripple", "rain on water", "footstep in puddle", "fish jumps".

SummerEngine/summer-engine-agent · 75 tokens