Unity-AI-ProBuilder CLAUDE.md

Unity-AI-ProBuilder CLAUDE.md is an instructions file for coding agents from IvanMurzak/Unity-AI-ProBuilder. It costs 384 tokens per session, scanned A, original, Apache-2.0.

Project instructions for a Unity package that exposes ProBuilder mesh-editing operations as MCP tools. Unity is a game engine, ProBuilder is its tool for creating and editing 3D meshes, and MCP connects those tools to AI assistants.

In plain words
What is it for?
Building or extending AI-controlled Unity mesh operations, adding tools, updating package versions, and following the required main-thread and mesh-refresh steps.
Why use it?
They document rules that prevent unsafe background-thread calls and ensure edited meshes refresh correctly in the Unity editor.

Instructions file

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 instructions/ivanmurzak/unity-ai-probuilder/claude-md
Clone the repo
git clone --depth 1 https://github.com/IvanMurzak/Unity-AI-ProBuilder

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 Unity-AI-ProBuilder CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivanmurzak/unity-ai-probuilder/claude-md.svg)](https://agentmods.dev/instructions/ivanmurzak/unity-ai-probuilder/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ivanmurzak/unity-ai-probuilder/claude-md"><img src="https://agentmods.dev/badge/instructions/ivanmurzak/unity-ai-probuilder/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 384 This file is loaded in full into every session.
When invoked 384 The same file — it is already loaded in full.
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 $0.00384 $0.00384
Opus 5 $0.00192 $0.00192
Sonnet 5 $0.00077 $0.00077
Haiku 4.5 $0.00038 $0.00038

Measured 4d ago against content hash 4c5365968b28, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Unity-AI-ProBuilder CLAUDE.md 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 4d 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.

CLAUDE.md · 26 lines

What it actually says

CLAUDE.md

What this is

Unity package com.ivanmurzak.unity.mcp.probuilder — exposes ProBuilder mesh operations as MCP tools so AI assistants can create and manipulate 3D geometry in Unity. Built on top of Unity-MCP (com.ivanmurzak.unity.mcp).

Build / run

  • Package source: Unity-Package/Packages/com.ivanmurzak.unity.mcp.probuilder/ (Editor tools under Editor/Scripts/Tools/).
  • Version source of truth: Unity-Package/Packages/com.ivanmurzak.unity.mcp.probuilder/package.json. Bump with .\commands\bump-version.ps1 -NewVersion "x.y.z".
  • Releases trigger on push to main when the version tag is new.

Critical invariants

  • Main thread: All Unity API calls inside tool methods MUST be wrapped in MainThread.Instance.Run(() => { ... }) — MCP calls arrive off the main thread.
  • After mesh edits: ToMesh() -> Refresh() -> EditorUtility.SetDirty() -> EditorUtils.RepaintAllEditorWindows().
  • Face-selection tools accept faceIndices OR faceDirection — exactly one.

Find detail in

  • docs/claude/architecture.md — repo layout, tool pattern, face selection, refresh pattern, assembly defs
  • docs/claude/new-tool.md — 6-step checklist for adding a tool
  • docs/claude/error-handling.mdTool_ProBuilder.Error conventions
  • docs/claude/release.md — version bump + dependency update commands
  • docs/claude/ci.md — GitHub Actions release pipeline
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. 4d ago First seen · 26 lines · 384 tokens per session scan A 4c5365968b28

Subscribe to this mod's changes

Unity-AI-ProBuilder CLAUDE.md is an instructions file published in the GitHub repository IvanMurzak/Unity-AI-ProBuilder (52 stars, last pushed 11d ago), licensed Apache-2.0. It adds 384 tokens to every session, about $0.0019 per session on Opus 5. 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-30.

Related

Other instructions, from other repositories

Unity-AI-Animation CLAUDE.md

Instructions for IvanMurzak/Unity-AI-Animation, covering claude.md, what this is, build / run, critical invariants and find detail in.

IvanMurzak/Unity-AI-Animation · 377 tokens

Unity-AI-Tools-Template CLAUDE.md

Instructions for IvanMurzak/Unity-AI-Tools-Template, covering unity-ai-tools-template, build / run, 1. initialize a new package from the template, 2. open both unity projects so .meta files are generated and 3. bump version across all files in lock-step.

IvanMurzak/Unity-AI-Tools-Template · 405 tokens

unity-mcp CLAUDE.md

Claude Code instructions for CoplayDev/unity-mcp, covering claude.md, what this project is, architecture, three layers on the python side and transport modes.

CoplayDev/unity-mcp · 2,261 tokens

unity-cli-loop AGENTS.md

AGENTS.md instructions for hatayama/unity-cli-loop, covering architecture overview, repository map, cli / unity package compatibility, project runner pin and generated skill files.

hatayama/unity-cli-loop · 3,173 tokens

unity-ui-toolkit-design-system AGENTS.md

Instructions for sinanata/unity-ui-toolkit-design-system, covering agents.md, what this project is, golden rules (do not violate), use the design system in your project and repository layout.

sinanata/unity-ui-toolkit-design-system · 3,290 tokens

unity-ui-toolkit-design-system copilot-instructions.md

Instructions for sinanata/unity-ui-toolkit-design-system: This repository follows the cross-tool AGENTS.md standard. Read /AGENTS.md for the full guide: the ds- class naming, the token rules, the load-bearing USS import order, build and preview commands, and the pull-request checklist.

sinanata/unity-ui-toolkit-design-system · 258 tokens