/battlemap-mcp:battlemap-material-languagefrom battlemap-mcp
Guides Dungeondraft map creation with a cohesive material language, enforcing a single art family and restrained asset reuse to avoid collage-like results.
Ships in battlemap-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A map reads as one place when a small set of materials repeats with purpose. A material vocabulary is a set of relationships, not a quota and not a ban on variation.
Reuse selected assets where they serve the same visual role. A coherent material language gives recurring assets several purposeful appearances; a long tail of one-off assets can make a place feel assembled from a catalogue.
Before adding a new asset, check whether one already on the map can do the job. If the count of distinct assets is climbing while placements stay flat, you are building a collage.
Apply the same restraint to surfaces. Choose wall and floor materials that read as one system, then use terrain slots — which blend rather than compete — to add controlled variety where appropriate.
Asset packs are drawn in different styles: painterly and near-realistic, clean-lined and cartoonish, softly stylised, flat stock art. Each looks right on its own, and a map that picks per object, by name and by what turned up first, ends with all of them side by side. Nobody reads that as a place; they read "this doesn't match", object after object, and every mismatch is a replacement later.
So choose the art family in the style bible, before the first placement, and
hold it as a constraint like the palette. Record its pack ids from
list_asset_packs. Search inside it first: an asset's path carries its pack
id, so list_assets(match_mode='tokens', search='<pack id> bench') stays
inside the family. Reach outside only when the family has nothing for the
job, and say so when you do.
The constraint covers everything with a texture, not only objects:
Count it at every checkpoint. validate_scene reports art_families:
objects, walls and terrain slots counted per pack, core being the stock
library. Add the patterns you kept ids for; their paths name their pack too
(res://packs/<id>/). Every count outside the chosen family is a finding to
fix or to name as an exception.
Write these into the style bible before placing anything, then use list_assets
for each. Use only paths the tool returns; refine the search rather than
assuming an installed pack.
| Role | Job |
|---|---|
| Structural family | The shell, terrain mass, walls or floor field that frames the map. |
| Supporting family | The repeated midscale texture that gives ordinary zones their use. |
| Accent family | A high-contrast motif reserved for the focal event and thresholds. |
Name the focal event and each threshold before choosing the accent family, or the accent spreads everywhere and stops being an accent.
Look at the candidates before committing. Filenames are not descriptions —
a bench can be stone, a "table" can be a U-shaped counter — and a family chosen
by name is a family you may have to strip out and replace after the first
render. Pass the shortlist to preview_assets and read the contact sheet.
This is worth doing here and nowhere else: a map commits to a handful of families and repeats each many times, so a few sheets cover the decisions that matter, while auditioning every prop would cost more than it saves.
Two things to read carefully on the sheet. Anything on a blue-grey ground is
colourable, and what you are seeing is its unpainted red mask rather than its
real colour — it becomes whatever color you pass, and flat red if you pass
none. And an asset on a plain ground still tells you nothing about how it sits
against your floor under your light; the sheet catches the gross mismatch, the
map render settles the rest.
An asset name is a label someone typed, not a description of how the thing
renders. terrain_dirt sounds like the surface of a country road and renders
almost black — chosen by name for one, it read across the bottom of a map as a
band of shadow, and the mistake survived a whole revision round because the
name kept saying it was right.
preview_assets builds a contact sheet of candidates as one image. Use it
before committing a material or a family, and especially before committing the
one the brief's own wording points at, because that is the one that gets
adopted without looking. Two things it shows that no name does:
A wide uniform floor or ground plane reads as unfinished, and the wrong repair is to scatter objects over it — that buries circulation and leaves the surface as flat as it was. Repair the surface itself:
place_pattern
where use would have worn or changed the surfaceEach of these changes the plane rather than hiding it, and none of them competes with the objects that carry the scene.
A change of floor material should confirm a boundary that already exists physically — a wall, a threshold, a step, a railing, a counter. Where a hard material change is the only thing dividing two areas, the map reads as a coloured diagram rather than a building.
If the boundary is real, make its physical feature visible. If the two areas are genuinely one open room, drop the hard change and separate them with a rug, furniture, a shift in light, or a run of posts instead.
Repetition is what lets a small vocabulary work; jitter is what stops repetition reading as tiling. Vary scale on most placements rather than leaving assets at their default size, and let rotation sit off the quarter turns — furniture squared perfectly to the walls reads as unused, while a few degrees of angle reads as something people move around. Mirroring is a weak variation and rarely worth reaching for.
Assets carry their category's intent: a Walls texture has ends and a run, a Paths texture flows, a Terrain material tiles in every direction. Pressed into another role the drawing fights the use — a wall texture laid as a garden path reads as a wall lying on the ground, however good the colour match. Search the category that does the job before borrowing from one that does not.
Scale is not normalised across assets: the same 1.0 can be a sliver of a tile
on one and several tiles on another. Benches placed at 0.9 read as pebbles
beside their own table, and the fix was 1.9 — applied to eight of them after
the fact.
A contact sheet cannot catch this. It shows the art, not the size against your room, and a tint judged on a plain ground shifts once your own lighting is on it.
So place the first instance of a family, frame it with the furniture it belongs
to, and look. Confirm it reads at the size you meant under the map's ambient.
Do not request modulate: it is refused because it does not survive saving
and reopening. Choose suitable asset colors or use baked color at placement. Only then repeat it. Checking costs one
screenshot; not checking costs re-placing every instance.
Asset sizes are not normalised and cannot be estimated by eye. A bar counter was guessed at half a tile, then three tiles; it is nearly five. Placing a second one beside it produced near-total overlap rather than a longer bar.
fit_elements with a single id returns that element's real bounds. Use it on
the first instance of anything large — a hearth, a counter, a bed — before
deciding where it goes, and position from the measured edge rather than from
the centre and a guess.
Two things that measurement then tells you:
Many assets end in a footprint such as _1x1 or _2x2, and it describes the
cell the artist drew in, not what renders. A stone lamp pillar named 1x1 had
a 76-pixel texture and needed a scale above 4 to stand as a gate pier; a coal
fire named 1x1 needed about 3 to fill a hearth; a 2x2 pile of books needed
0.22 to sit on a table. Plants and bushes from painterly packs routinely render
well past their named tile.
Read texture_size from list_assets or get_element and size from it:
scale = desired_tiles * 256 / texture_px. Size dressing against what it
sits on, not against the grid: books smaller than their table, tongs shorter
than their bench.
Knowing an asset's footprint only answers half the question. The other half is the gap it is going in, and the two have to be compared before anything is placed. Four oaks went around a building on a map whose exterior band was three tiles wide; the tree measured 5.7 tiles across, so every one of them covered the rooms it was supposed to frame.
So read the space in the same units: an exterior band is map_size_woxels minus
the building's extent, a room is the gap between its walls, an alcove is the gap
between its neighbours. If the asset does not fit, scale it down or pick a
smaller one — do not place it and hope the overlap reads as depth.
To create depth, consider tinting walls below the texture's full value. Choose warmth to suit the scene and verify that the wall still supports the intended focus.
Call get_composition_snapshot, then inspect a whole-map export_map and a
focused screenshot. The snapshot locates where each kind has spread; it does
not judge beauty. In the render, ask whether the structural family frames the
scene, the supporting family explains its zones, and the accent family still
points at the focal event.
If a new family competes with the focal event, remove it or undo it before
adding another detail. Hand the result to
composition audit for the
two-scale decision.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/battlemap-art-directionUse when translating a Dungeondraft map brief into a deliberate visual plan before building or reviewing an environment, interior, or mixed scene./battlemap-composition-auditUse when a nearly built Dungeondraft map needs a whole-map composition check before final polish, especially when hierarchy, routes, focus, or density may be unclear./battlemap-environmentsUse when building an outdoor Dungeondraft scene such as a forest, shoreline, trail, ruin exterior, or open encounter map.npx claudepluginhub thekannen/battlemap-mcp --plugin battlemap-mcpOther plugins' skills for the same job