Besty0728/Unity-Skills
AI automation skills specifically designed for Unity
What it solves
AI assistants like Claude Code, Codex, or Cursor can write code, but they can't directly click around inside the Unity Editor. Unity-Skills solves this by turning the Unity Editor into a controllable service: it runs a local REST API server inside Unity, and exposes a large toolkit of "skills" (873 of them) that AI agents can call to create objects, edit materials, run tests, manage scenes, and more. It also tackles the trust problem — when an AI writes to real scenes and prefabs, mistakes can be costly — so it adds permission controls, audit logs, and rollback so that automation is safe and reversible.
How it works
You install a Unity plugin (via Package Manager with a Git URL), open the UnitySkills panel (Window > UnitySkills), and start the server. Then you install the AI skill files for your preferred AI terminal (Claude Code, Codex, Cursor, etc.) with a one-click installer. The server exposes 873 REST skills organized into 55 categories (e.g., YooAsset, Cinemachine, UI, ShaderGraph, Prefab, Physics, Profiler). AI agents call these endpoints to perform operations. The server enforces governance at four points: before execution (?mode=dryRun or ?mode=plan previews without writing), at execution (risk-based gating and per-skill allowlists), after execution (a JSONL audit trail of every call, grant, revoke, and block), and after a mistake (five types of persistent snapshots, per-task rollback, and batch transactions that can be rolled back).
Who it’s for
Unity developers and teams who want to use AI coding assistants to automate editor tasks — especially those already using tools like Claude Code, Codex, Cursor, OpenCode, Antigravity, or Kimi Code. It's for people who need AI to perform multi-step scene manipulation but also require safety: permission approvals, audit trails, and the ability to undo mistakes without rewinding the whole project.
Highlights
- 873 REST skills across 55 categories (plus 30 advisory design modules) covering everything from UI and ShaderGraph to Netcode and XR
- Three-tier permission modes — Approval, Auto, and Bypass — with dual approval channels (dialog and panel)
- Transactional atomicity — failed operations auto-rollback, leaving scenes clean
- Pre-execution preview —
dryRunandplanmodes validate parameters and estimate impact without writing anything - Audit trail — every call, grant, revoke, and block is logged to a browsable JSONL file
- Per-task rollback — five snapshot types survive Domain Reloads;
workflow_undo_taskrolls back one task, not the whole project - Anti-hallucination guardrails — each skill includes DO NOT lists and routing rules
- Multi-instance control — automatic port discovery and a global registry let you control multiple Unity projects at once
- One-click install for 6 major AI IDEs (Claude Code, Antigravity, Codex, Cursor, OpenCode, Kimi Code)
- UnityCLI support — cold-start a bound project without launching Unity Hub
Related
- Project
- Project
- Project
- Project
- Project