
Unity Agent Plugin
PluginUnity 官方插件,打包游戏开发、内购与广告变现、性能优化等技能,可配合 Unity CLI 直接操作打开的编辑器。支持 Unity 6 及以上,Claude Code 与 Codex 均可安装,目前为 beta 版。
Unity
Unity's official game development plugin. Build, monetize, and operate Unity games with guidance grounded in Unity's documented practices.
Available for Claude Code, Codex, Grok, Antigravity, and GitHub Copilot CLI.
Install
Claude Code — these two are slash commands, so type them inside a Claude Code session rather than in a terminal:
/plugin marketplace add Unity-Technologies/unity-agent-plugin
/plugin install unity@unity-agent-plugin
From a terminal instead, use the claude CLI. Installs done this way load the next
time you start Claude Code, or when you run /reload-plugins in an open session:
claude plugin marketplace add Unity-Technologies/unity-agent-plugin
claude plugin install unity@unity-agent-plugin
Codex
codex plugin marketplace add Unity-Technologies/unity-agent-plugin
codex plugin add unity@unity-agent-plugin
Grok
In Grok Build, open /marketplace, search for Unity, and press i. Or install from a
terminal:
grok plugin install Unity-Technologies/unity-agent-plugin --trust
Antigravity
In the Antigravity app, open Customizations > Plugins, search for Unity, and install it. Or install from a terminal:
agy plugin install https://github.com/Unity-Technologies/unity-agent-plugin
GitHub Copilot CLI
copilot plugin marketplace add Unity-Technologies/unity-agent-plugin
copilot plugin install unity@unity-agent-plugin
The plugin commands work without a Copilot plan, but using the skills needs one. For Visual Studio, see Manual install.
Verify it worked
Each agent surfaces an installed plugin differently.
Claude Code — type /unity: and the skills appear in the command list. /plugin
also shows unity as installed and enabled.
Codex — run codex plugin list:
PLUGIN STATUS VERSION
unity@unity-agent-plugin installed, enabled 0.1.9-beta
Grok: type / and the skills appear in the slash menu. Grok uses the plain skill
name, and switches to the plugin-qualified form (/unity:ui-uitk) when another
installed skill shares the same name. grok plugin list shows unity, and
grok plugin details unity lists what it provides.
Antigravity — run agy plugin list:
- unity (enabled, 0.1.9-beta)
GitHub Copilot CLI — run copilot plugin list:
Installed plugins:
• unity@unity-agent-plugin (v0.1.9-beta)
copilot skill list lists the Unity skills under "Plugin skills".
Manual install
If you can't use the marketplace commands, clone the repo and link each skill into your personal skills directory. Run this from the folder you want the clone in:
git clone https://github.com/Unity-Technologies/unity-agent-plugin.git
cd unity-agent-plugin
Claude Code
mkdir -p ~/.claude/skills
for d in "$PWD"/skills/*; do ln -sfn "$d" ~/.claude/skills/"$(basename "$d")"; done
Codex
mkdir -p ~/.agents/skills
for d in "$PWD"/skills/*; do ln -sfn "$d" ~/.agents/skills/"$(basename "$d")"; done
GitHub Copilot in Visual Studio and VS Code
Visual Studio 2026 (version 18.5 or later) doesn't install plugins, but its Copilot
agent mode reads skills from ~/.copilot/skills:
mkdir -p ~/.copilot/skills
for d in "$PWD"/skills/*; do ln -sfn "$d" ~/.copilot/skills/"$(basename "$d")"; done
Copilot also reads ~/.claude/skills and ~/.agents/skills, so skip this if you
already linked the skills for Claude Code or Codex. On Windows, copy each skill folder
into %USERPROFILE%\.copilot\skills instead.
The skills load in every project from your next session onward. To update them, run git pull in the clone. Skills installed this way don't appear under a unity: prefix, because they aren't installed as a plugin.
Usage
Before you start: the skills have your agent change your project directly. It edits scripts, scenes and assets, and when the Unity CLI is available it runs C# in your open Editor. Not every change is logged or can be undone from the Editor, so keep your project under version control and commit before asking for larger changes.
Once installed, your agent uses the relevant skill automatically when you ask it to do something in your Unity project. For example:
"Add in-app purchases so players can buy a coin pack"
"I want to build a settings screen"
"My pixel art looks blurry and jitters when the camera moves"
"Show rewarded video ads so players can earn coins"
"Create a hexagonal tile palette for my level"
"Chinese characters show up as empty boxes in my TextMeshPro labels"
"Review my ScriptableRendererFeature for Render Graph problems"
In Claude Code, Grok and Antigravity the skills also appear in the slash menu, so you can pick one explicitly instead of describing the task.
For what each skill covers and how to prompt it, see About Unity's plugin, or browse the skills folder.
Works best with the Unity CLI
Many skills drive your open Unity Editor directly: they create GameObjects, change import settings, run C# in the Editor, and check the result, instead of hand-editing scene and asset files. They do this through the Unity CLI, Unity's command-line tool, which also installs Editors, creates and opens projects, and runs builds and tests.
You don't have to set it up yourself. When a task needs the CLI, your agent checks whether it's installed and can install it for you, along with the small Unity package the CLI uses to talk to your open Editor. If you use the Unity Hub, you likely have the CLI already: the Hub now installs it automatically.
To install it yourself, or to use it on its own from your terminal, see Use the Unity CLI.
Works with
Unity 6+.
Issues and feedback
Found a bug or have a suggestion? Post in the Unity Discussions forum.
Brand guidelines
See Unity's branding and trademark guidelines for displaying any Unity marks or icons contained in this repo.
License
相关资源

MCP for Unity
MCP让 agent 用自然语言操作 Unity 编辑器:创建场景与 GameObject、编辑 C# 脚本、管理资源、运行测试、性能分析与构建。需在 Unity 包管理器中通过 Git 地址安装插件,再在编辑器里一键配置客户端,MIT 开源。
CoplayDev/unity-mcp16k
Claude Code Game Studios
Skill把 Claude Code 变成游戏工作室的项目模板:49 个分层协作的子代理与 74 个技能,覆盖策划文档、架构设计、冲刺规划、平衡性检查、QA 与发版,含 Godot、Unity、Unreal 引擎专家。克隆仓库后使用,仅适配 Claude Code。
Donchitos/Claude-Code-Game-Studios39.3k
awesome-gamedev-agent-skills
Skill74 个游戏开发技能加一个路由技能:自动识别项目使用的 Godot、Unity、Unreal、Phaser、three.js、Bevy 等 10 种引擎并加载对应技能,还包含美术资产制作和上架发布流程。由社区维护。
gamedev-skills/awesome-gamedev-agent-skills8.9k
glTF Transform
CLI读取、编辑与优化 glTF 2.0 3D 模型的 SDK 和命令行工具:optimize 一条命令批量优化,也可单独做 Draco、Meshopt 几何压缩与纹理缩放、WebP、KTX2 压缩,适合处理游戏与网页 3D 资产。
donmccurdy/glTF-Transform2.1k
glTF Transform CLI
CLI检查、压缩与优化 glTF/GLB 3D 模型的命令行工具,支持 Draco 与 Meshopt 网格压缩、纹理缩放及 WebP/KTX2 压缩,一条 optimize 命令即可整体优化。
donmccurdy/glTF-Transform2.1k
Unity Skills
SkillUnity 官方游戏开发技能:新建项目、迁移到 URP 与后处理、Tilemap 与精灵、UI Toolkit、应用内购买、多人服务与语音聊天、音频优化等。许多技能通过 Unity CLI 直接操作已打开的 Unity 编辑器。
Unity-Technologies/skills1.3k