Skip to main content
skill CX Codex

unity-package-management — Claude Code skill: UPM guide

Discovers, installs, and removes Unity packages outside the Editor using Pipeline commands or a headless C# fallback. Helpful for CI builds and fast project setups.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Unity-Technologies/skills --skill unity-package-management -a claude-code
Open on GitHub

What unity-package-management does

The skill manages Unity Package Manager dependencies through the terminal instead of the GUI. Direct manual edits to Packages/manifest.json are forbidden because they break dependency resolution. The tool relies on precise API calls. When an Editor instance is running with com.unity.pipeline, it queries parameter schemas and invokes unity command package add or remove.

If no Editor is running, the skill falls back to a batchmode C# script. It writes Assets/Editor/ProjectBootstrap/PackageInstaller.cs and calls Client.AddAndRemove. Running this through unity run fails immediately. The default -quit flag terminates the process before asynchronous UPM downloads finish. Direct execution without -quit lets update ticks resolve dependencies and exit cleanly.

What it helps with

  • install UPM dependencies without editing manifest.json by hand
  • inspect package schemas and available versions from the terminal
  • configure required Unity packages headlessly in CI pipelines
  • remove unused default packages included by project templates

Example prompts for the agent

  • Add com.unity.inputsystem to the project using Pipeline commands.
  • Check installed UPM packages and list their current versions.
  • Remove unwanted default render pipeline packages headlessly.

How to install unity-package-management

1Skills CLI (Vercel)

npx skills add Unity-Technologies/skills --skill unity-package-management -a claude-code

2Manually: put the files in place

~/.claude/skills/unity-package-management/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/unity-package-management/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about unity-package-management

How to install unity-package-management in Claude Code?

Run npx skills add Unity-Technologies/skills --skill unity-package-management -a claude-code in your terminal.

What does unity-package-management do?

It resolves, inspects, and modifies UPM packages outside the Editor window. It prioritizes the Editor's Pipeline command group and switches to headless C# scripts when needed.

Why does the headless fallback require launching the Editor without -quit?

UPM operations through Client.AddAndRemove are asynchronous and need EditorApplication.update ticks to complete. Using -quit kills the Editor immediately before the background process finishes resolving dependencies.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set28

new-unity-project Guides developers from a game concept to a configured Unity project with URP and Git. Helpful when scaffolding a new prototype. CX Codex +1 6,400installs ui-ugui This skill inspects, creates, and revises Unity uGUI interfaces. Use it for Canvas hierarchies, RectTransforms, layout groups, or prefab UI. CX Codex +1 6,400installs build-live-game Brings Unity Gaming Services into a project: player accounts, cloud saves, leaderboards, Cloud Code and Remote Config. Useful when live-ops features get built inside the Unity Editor. CX Codex +1 6,000installs levelplay-unity-integration Walks the agent through a LevelPlay integration in Unity: Ads Mediation package, Android and iOS dependencies, rewarded, interstitial and banner ads. CX Codex +1 5,900installs urp-postprocessing Walks an agent through URP post-processing with the Volume framework: bloom, tonemapping, color adjustments, depth of field, vignette. Useful when an effect never shows up. CX Codex +1 5,800installs optimize-text-mesh-pro Walks through TextMeshPro problems in Unity: bloated atlases, fuzzy glyphs, CPU spikes on text updates, build size. CX Codex +1 5,700installs implement-in-app-purchases Configures Unity In-App Purchasing v5, handles receipt validation, and guides migrations from native store billing or third-party SDKs. CX Codex +1 5,800installs shader-graph-create-custom-node Generates custom Shader Graph nodes directly from HLSL functions. It handles reflection markup so Unity registers your shader code in the graph creation menu. CX Codex +1 5,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor