rpg-dungeondraft-battlemap

rpg-dungeondraft-battlemap is a skill for Claude Code from vstrapasson/rpg-marketplace. It costs 223 tokens per session (2,655 once invoked), scanned A, original, MIT.

A tabletop role-playing game skill that creates editable Dungeondraft battlemap files. Dungeondraft is a map-making program for designing places such as buildings, caves, villages, and dungeons.

In plain words
What is it for?
Use it to turn a place description into a .dungeondraft_map file that can be opened and edited in Dungeondraft, then exported for a virtual tabletop.
Why use it?
It provides a map that can be adjusted later, including functional details such as rooms, doors, terrain, walls, and lighting.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the rpg-loremaster plugin — 12 skills, 1 command, 1 agent shipped together

Good fit Use it to turn a place description into a .dungeondraft_map file that can be opened and edited in Dungeondraft, then exported for a virtual tabletop.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add vstrapasson/rpg-marketplace
Claude Code
/plugin install rpg-loremaster

Made for: Claude Code.

Or install rpg-loremaster, the plugin that ships this one along with the rest of its 12 skills, 1 command, 1 agent.

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 rpg-dungeondraft-battlemap

README.md
[![agentmods](https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap/github.svg)](https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap)
Your own site
<a href="https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap"><img src="https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap/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 rpg-dungeondraft-battlemap

Your own site · 80×15
<a href="https://agentmods.dev/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap"><img src="https://agentmods.dev/badge/skills/vstrapasson/rpg-marketplace/rpg-dungeondraft-battlemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 223 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,655 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.00223 $0.02655
Opus 5 $0.00112 $0.01327
Sonnet 5 $0.00045 $0.00531
Haiku 4.5 $0.00022 $0.00265

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

Security

Grade A, and why

rpg-dungeondraft-battlemap 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ddmap.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/rpg-loremaster/skills/rpg-dungeondraft-battlemap/SKILL.md · 117 lines

How it starts

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

Dungeondraft battlemaps (executable, .dungeondraft_map)

Takes the description of a place and delivers a .dungeondraft_map that opens in the user's Dungeondraft — a layout thought through as a real place, not a rectangle with objects tossed in. The user tweaks it in DD and exports to their VTT.

Relationship to rpg-map-architect

Two siblings, two artifacts:

  • rpg-map-architect emits a top-down image prompt (for nano-banana / a strong instruction-following image model) → a painted PNG the GM imports as a scene background.
  • rpg-dungeondraft-battlemap (this skill) builds an editable vector map file → opened in Dungeondraft, hand-tuned, then Export → Universal VTT (.dd2vtt), which carries vision walls + lights into Foundry (via the Universal Battlemap Importer). The richer path when the GM wants walls and dynamic lighting, not a flat image.

Pick this skill when the user says "Dungeondraft", wants an editable map, or wants walls/lighting to come across into the VTT. Like rpg-map-architect, this skill produces the map artifact and hands off — it does not create the Foundry scene or call MCP tools. The GM imports the map; then rpg-scene-forge (foundry-forge) lights and populates the scene by name.

Dependencies

  • Python 3 (standard library only — the toolkit imports json, math, os, struct, copy; no pip install).
  • The user's own Dungeondraft license — they open and export the file in their DD.
  • A third-party asset pack (e.g. Forgotten Adventures) is optional: the skill works with Dungeondraft's default assets, validated against assets/pck_index.txt. If the user has a pack and wants its objects, index it (see "Asset packs" below) and prefer its res://packs/<ID>/... objects.

Non-negotiable rules (learned the hard way)

  1. Never assemble the file from scratch. Use scripts/ddmap.py, which starts from the scaffold in assets/scaffold.dungeondraft_map (saved by a real Dungeondraft). DD's load aborts silently if the header isn't byte-identical to what it writes itself — the map opens blank, with no error.
  2. Every texture validated. save() validates against the pck index and refuses to write with a non-existent texture. Don't guess names: check references/assets.md or grep assets/pck_index.txt.
  3. Experimental feature → test it first. Water, roofs, and free portals are marked experimental in references/formato.md. The first time, generate a tiny teste_<feature>.dungeondraft_map, ask the user to open it, and only then use it in the real map. When confirmed, update the status in formato.md.
  4. If "nothing appeared": bisect. Emit variants of the map with one feature per file (the builder makes this cheap) and ask the user to open each. That's how the format was decoded; it's the shortest path.

Read the full file on GitHub · 117 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 117 lines · 223 tokens per session scan A f5631f6c8ef3

Subscribe to this mod's changes

rpg-dungeondraft-battlemap is a skill published in the GitHub repository vstrapasson/rpg-marketplace (2 stars, last pushed 1mo ago), licensed MIT. It adds 223 tokens to every session and 2,655 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens