tilemap

tilemap is a skill for Claude Code, Codex from AlexeyPerov/Unity-Open-MCP. It costs 0 tokens per session (1,437 once invoked), scanned A, original, MIT.

A bridge for controlling Unity Tilemap, the system for building 2D levels from reusable grid-based tiles, from an AI agent.

In plain words
What is it for?
Creating and editing 2D tilemaps and, when the extra package is installed, creating RuleTile assets.
Why use it?
It gives the agent access to tilemap work in an open Unity project, including optional rule tiles that automatically choose neighboring tiles.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

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.

agentmods
npx agentmods add skills/alexeyperov/unity-open-mcp/tilemap
Any agent
npx skills add AlexeyPerov/Unity-Open-MCP --skill tilemap
Clone the repo
git clone --depth 1 https://github.com/AlexeyPerov/Unity-Open-MCP

Made for: Claude Code, Codex.

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 tilemap

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/tilemap.svg)](https://agentmods.dev/skills/alexeyperov/unity-open-mcp/tilemap)
Your own site
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/tilemap"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/tilemap.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.01437
Opus 5 $0.00000 $0.00718
Sonnet 5 $0.00000 $0.00287
Haiku 4.5 $0.00000 $0.00144

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

Security

Grade A, and why

tilemap 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 5d 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.

skills/extensions/tilemap/SKILL.md · 111 lines

How it starts

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

Unity Open MCP — Tilemap Extension

Skill for AI agents driving the Unity Tilemap packages (com.unity.2d.tilemap + optional com.unity.2d.tilemap.extras for RuleTile) in a Unity project through the unity-open-mcp MCP server.

This domain is embedded in the bridge and opt-in. Its tools compile in only when the project has com.unity.2d.tilemap installed (the bridge sets the UNITY_OPEN_MCP_EXT_TILEMAP define automatically). The RuleTile tool additionally requires com.unity.2d.tilemap.extras — when extras is absent, tilemap_create_rule_tile returns a clear install error (tilemap_extras_required) instead of failing silently. The tool group is hidden from ListTools until the connected session activates it.

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The project has com.unity.2d.tilemap installed (it ships with the 2D template; verify in the Package Manager). For rule tiles, additionally install com.unity.2d.tilemap.extras. If capabilities reports the tilemap group as available: false, install the package and let the bridge recompile.
  • The tilemap tool group is activated — call unity_open_mcp_manage_tools(action="activate", group="tilemap") before invoking any tilemap_* tool. Fresh sessions start with two default-on groups (core and gate-and-verify); activate the other groups you need on demand.

Tool prefix

All tools in this pack use unity_open_mcp_tilemap_*. All five tools are mutating and run the full gate path; paths_hint is the host scene path (or includes the asset path for the asset-create tools).

Vocabulary

A Grid is the parent GameObject that lays out cells. Each Tilemap is a child GameObject holding a Tilemap component (the cell data) and a TilemapRenderer (the drawing). Multiple Tilemaps can share one Grid (e.g. "Ground", "Walls", "Decorations" layers).

A Tile is a ScriptableObject asset (a .asset) that bundles a Sprite + collider shape. A TileBase is the abstract base (Tile is one implementation; RuleTile is another). Painting is done by cell coordinate (x, y, z), where x / y are the grid cell and z is the layer plane (usually 0).

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file 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. 5d ago First seen · 111 lines · 0 tokens per session scan A 3e62f036a63a

Subscribe to this mod's changes

tilemap is a skill published in the GitHub repository AlexeyPerov/Unity-Open-MCP (12 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,437 tokens. 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

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

peer-review

Structured manuscript/grant review with checklist-based evaluation. Use when writing formal peer reviews with specific criteria methodology assessment, statistical validity, reporting standards compliance (CONSORT/STROBE), and constructive feedback. Best for actual review writing, manuscript revision. For evaluating…

xintaofei/codeg · 71 tokens

scientific-critical-thinking

Evaluate scientific claims and evidence quality. Use for assessing experimental design validity, identifying biases and confounders, applying evidence grading frameworks (GRADE, Cochrane Risk of Bias), or teaching critical analysis. Best for understanding evidence quality, identifying flaws. For formal peer review…

xintaofei/codeg · 63 tokens

scientific-schematics

Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.1 Pro Preview for quality review. Only regenerates if quality is below threshold for your document type. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways…

xintaofei/codeg · 68 tokens

hypothesis-generation

Structured hypothesis formulation from observations. Use when you have experimental observations or data and need to formulate testable hypotheses with predictions, propose mechanisms, and design experiments to test them. Follows scientific method framework. For open-ended ideation use scientific-brainstorming; for…

xintaofei/codeg · 69 tokens

scientific-brainstorming

Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use…

xintaofei/codeg · 60 tokens