/mimir-dm:generate-mapfrom mimir-dm
Generates a procedural Dungeondraft map from a biome preset or custom YAML config, then downloads the .dungeondraft_map file.
Ships in mimir-dm. Installing the plugin adds it to Claude Code.
If the user provided a preset name, use it directly. Available presets:
list_map_presets returns the authoritative set at runtime — call it if unsure.
If they provided a description or no arguments, help them choose:
list_map_presets to show available presetsAsk the user where to save the .dungeondraft_map file. Suggest a reasonable default like their Desktop or current directory. The tool returns a download link; you download the file to this location in step 4.
From preset:
generate_map(preset: "<name>", seed: <random or user-specified>)
From custom config:
validate_map_config(config_yaml: "...")generate_map(config_yaml: "...")The result has download.download_url and download.filename. Download the file to the location from step 2:
curl -sS -f -H "Authorization: Bearer $MIMIR_API_TOKEN" \
-o "<path>" "$MIMIR_URL<download_url>"
The link works one time, for one hour.
Show the generation stats:
Remind the user they can open the file in Dungeondraft to view and edit the map.
Offer to regenerate with a different seed or adjusted config if they want variations.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
5 commands in this plugin
npx claudepluginhub mimir-dm/mimir --plugin mimir-dmOther plugins' commands for the same job