Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gabrielmoreira/agent-skills-mirror --skill generate2dmapgit clone --depth 1 https://github.com/gabrielmoreira/agent-skills-mirrorWrote 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.
[](https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/generate2dmap)<a href="https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/generate2dmap"><img src="https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/generate2dmap/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.
<a href="https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/generate2dmap"><img src="https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/generate2dmap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00211 | $0.02959 |
| Opus 5.5 | $0.00084 | $0.01184 |
| Sonnet 5.5 | $0.00042 | $0.00592 |
| Haiku 4.5 | $0.00021 | $0.00296 |
Grade A, and why
generate2dmap 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 18d 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.
This is a copy
100% identical to generate2dmap — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate 2D Map
Build the smallest scene bundle the request needs, in the game's art, camera, renderer and data conventions. A background picture needs no game system; a playable map needs explicit geometry and data beyond a painting.
Use when
- A playable map, level, room set, tilemap, terrain or prop kit, with collision and exits.
- A parallax background, a battle, title or story backdrop, or an HD-2D plate with lights and motion.
- Map data must be validated, previewed or exported to Tiled, Godot or LDtk.
Do not use when
- Actors, items and attack FX: generate2dsprite. Character motion from video: video2dsprite.
- Code-drawn tiles, layouts or parallax the user asked for: codeart2d. Only an API or CLI call: generate2dmedia.
Capability check (once per session)
Run 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.
Art source
Image generation is the default for map art: terrain and tile sheets, prop kits, HD-2D plates, painted backgrounds and parallax layers. Map data (layout, collision, exits, spawns) is data you write and validate, not art. Record each asset's art_source (api, host_image, existing, or code only on request) and name the route in your reply. A route the user names explicitly wins.
- API, when a key is configured: OpenAI (
OPENAI_API_KEY), Google Gemini (GEMINI_API_KEY), xAI (XAI_API_KEY), BytePlus Seedream (ARK_API_KEY) or fal.ai (FAL_KEY), in the environment or the user config file (route-media.md). The configured key is the owner's consent, so there is no per-call question. - Local: your own image tool (Codex
image_gen, Grok's native tool) when you have one, otherwise the user's signed-in Codex CLI, then Grok CLI. - codeart2d (autotiles, layouts, stylized parallax, ambient loops) only when the user explicitly asks for code-drawn art, or when
route_media.pyprintsno-route(exit 3). Then say "code-drawn, no image model".
What ships with it
40 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.
- agents/openai.yaml 513 B
- references/background-scenes.md 14 KB
- references/engine-maps.md 14 KB
- references/hd2d-plates.md 12 KB
- references/hd2d-presentation.md 9.8 KB
- references/layered-map-contract.md 21 KB
- references/map-presets.md 7.9 KB
- references/map-strategies.md 12 KB
- references/parallax-backgrounds.md 14 KB
- references/prop-pack-contract.md 15 KB
- references/runtime/map-runtime.mjs 81 KB runs code
- references/scene-preview.md 15 KB
- references/schemas/common.schema.json 13 KB
- references/schemas/map.schema.json 128 KB
- references/side-scroll-scenes.md 14 KB
- scripts/build_motion_mask.py 46 KB runs code
- scripts/build_scene_preview.py 93 KB runs code
- scripts/compose_layered_preview.py 92 KB runs code
- scripts/conform_background.py 25 KB runs code
- scripts/edit_locality_check.py 27 KB runs code
- scripts/export_godot.py 86 KB runs code
- scripts/export_ldtk.py 51 KB runs code
- scripts/export_tiled.py 45 KB runs code
- scripts/extract_platform_strip.py 29 KB runs code
- scripts/extract_prop_pack.py 63 KB runs code
- scripts/extract_scene_lights.py 43 KB runs code
- scripts/extract_terrain_tiles.py 54 KB runs code
- scripts/forge_av.py 47 KB runs code
- scripts/forge_core.py 78 KB runs code
- scripts/forge_matte.py 72 KB runs code
- scripts/forge_nav.py 95 KB runs code
- scripts/forge_schema.py 26 KB runs code
- scripts/map_bundle.py 82 KB runs code
- scripts/map_nav.py 32 KB runs code
- scripts/scene_layout_guide.py 22 KB runs code
- scripts/scene_motion.py 54 KB runs code
- scripts/validate_chunks.py 49 KB runs code
- scripts/validate_layout.py 47 KB runs code
- scripts/validate_parallax.py 29 KB runs code
- scripts/validate_stage.py 62 KB runs code
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.
- 18d ago Changed · -365 lines · +103 tokens per session b1d0b1842a2d
- 1mo ago First seen · 460 lines · 108 tokens per session scan A a691fd9ec000
generate2dmap is a skill published in the GitHub repository gabrielmoreira/agent-skills-mirror (19 stars, last pushed yesterday), licensed MIT. It adds 211 tokens to every session and 2,959 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to generate2dmap, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
playtest-report
Structured playtest report template, or turn existing playtest notes into structured feedback.
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…
motion
Reconstruct a skeleton from calibrated mesh projections and sequential VLM joint annotations, then fit joints and skin weights. Generate motion from joint-position trajectories, rhythm and contact constraints through IK; refine bone orientation against the action, then export, retarget and validate on the target mesh.
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
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.
unity-manual-component
Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.