Tooluck logoTooluck
SKILL.md

generate2dmap

Agent skill from0x0funky/agent-sprite-forge

Plan and build 2D game maps and scenes - top-down and side-scrolling levels, tilemaps, prop packs, parallax backgrounds and HD-2D battle or story plates - with collision, navigation and reachability checks, environment motion, a playable HTML preview and export to Tiled, Godot 4 or LDtk. Map art (terrain, tiles, props, plates, parallax layers) is image generation by default, through generate2dmedia route_media.py (the API when a key is configured, else the local Codex or Grok CLI); map data (layout, collision, exits, spawns) is written as data. Use for any map, level, room, scene, background, terrain or prop-kit request. Not for characters, creatures, items or FX (generate2dsprite), character animation (video2dsprite), code-drawn tiles or maps (codeart2d, only on request) or calling an image or video API by itself (generate2dmedia).

How to install generate2dmap

install generate2dmap
# install the agent-sprite-forge pack with the skills CLI
npx skills add 0x0funky/agent-sprite-forge

# or add only this skill to Claude Code: copy the folder

skills/generate2dmap/

# into

~/.claude/skills/generate2dmap/ (all projects)

.claude/skills/generate2dmap/ (one project)

skills/generate2dmap/SKILL.md

MITFull file
1# Generate 2D Map
2
3Build the smallest scene bundle the request needs, in the game's art, camera, renderer and data conventions.
4A background picture needs no game system; a playable map needs explicit geometry and data beyond a painting.
5
6## Use when
7
8- A playable map, level, room set, tilemap, terrain or prop kit, with collision and exits.
9- A parallax background, a battle, title or story backdrop, or an HD-2D plate with lights and motion.
10- Map data must be validated, previewed or exported to Tiled, Godot or LDtk.
11
12## Do not use when
13
14- Actors, items and attack FX: [generate2dsprite](../generate2dsprite/SKILL.md). Character motion from video: [video2dsprite](../video2dsprite/SKILL.md).
15- Code-drawn tiles, layouts or parallax the user asked for: [codeart2d](../codeart2d/SKILL.md). Only an API or CLI call: [generate2dmedia](../generate2dmedia/SKILL.md).
16
17## Capability check (once per session)
18
19Run `python "<skill-dir>/../generate2dmedia/scripts/forge_doctor.py" --host-tools <tools> --save <output>/doctor.json`, where `<tools>` lists the media tools in your own tool list (`image_gen`, `image_edit`, `image_to_video`) or `none`. Its `ROUTES` block shows which API keys are configured (yes or no), the local readiness and the resolved order. If `encoding.stdout` fails, set `PYTHONUTF8=1`.
20
21## Art source
22…

Excerpt shown under the repository's MIT license.

More skills in agent-sprite-forge

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates