terrain

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

A bridge for creating and editing Unity Terrain, the system for making large 3D landscapes, from an AI agent.

In plain words
What is it for?
Working with terrain heightmaps, surface textures, trees, and stitching between neighboring terrain sections.
Why use it?
It allows landscape authoring through the Unity connection without requiring an additional package.

Skill for Claude CodeCodex

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

Good fit Working with terrain heightmaps, surface textures, trees, and stitching between neighboring terrain sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyperov/unity-open-mcp/terrain
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.

Any agent
npx skills add AlexeyPerov/Unity-Open-MCP --skill terrain
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 terrain

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/terrain/github.svg)](https://agentmods.dev/skills/alexeyperov/unity-open-mcp/terrain)
Your own site
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/terrain"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/terrain/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 terrain

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/terrain"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/terrain.svg" alt="Reviewed on agentmods" width="80" 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 2,464 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.02464
Opus 5 $0.00000 $0.01232
Sonnet 5 $0.00000 $0.00493
Haiku 4.5 $0.00000 $0.00246

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

Security

Grade A, and why

terrain 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 9d 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/terrain/SKILL.md · 191 lines

How it starts

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

Unity Open MCP — Terrain Extension

Skill for AI agents authoring Unity Terrain (heightmaps, splatmaps, trees, neighbor stitching) in a project through the unity-open-mcp MCP server.

This domain is embedded in the bridge and opt-in. Its tools use the built-in engine modules (UnityEngine.TerrainModule for Terrain / TerrainData, UnityEngine.CoreModule for TreePrototype / TerrainLayer) — no Unity package install is required, and they compile into every bridge build. Its 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 terrain tool group is activated — call unity_open_mcp_manage_tools(action="activate", group="terrain") before invoking any Terrain tool. Fresh sessions start with two default-on groups (core and gate-and-verify); activate the other groups you need on demand. Because these types are built-in, capabilities always reports the terrain group as available: true (no domainDefine).

Tool prefix

All five tools share the unity_open_mcp_terrain_ prefix and one tool group:

  • unity_open_mcp_terrain_create — allocate TerrainData (+ optional .asset) and a Terrain GameObject.
  • unity_open_mcp_terrain_set_heights — set a heightmap region from a 2D array of normalized 0-1 values.
  • unity_open_mcp_terrain_paint_layer — paint one terrain layer's splat from a 2D alphamap; seeds a new TerrainLayer when the index is new.
  • unity_open_mcp_terrain_place_trees — place tree instances (position + scale
    • rotation) against a prototype index; seeds a prototype from a prefab when the index is new.
  • unity_open_mcp_terrain_set_neighbors — set the top / bottom / left / right neighbor Terrains for LOD stitching.

All five tools are mutating and accept the standard paths_hint; they run the full gate path. There are no read-only members in this group — read terrain state with unity_open_mcp_component_get / unity_open_mcp_object_get_data.

Read the full file on GitHub · 191 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. 9d ago First seen · 191 lines · 0 tokens per session scan A 38c0b4b9e5b3

Subscribe to this mod's changes

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