Skills Explorer Add Skills

unity-package-management

An agent skill by Unity-Technologies, from Unity-Technologies/unity-agent-plugin. Tags: automation, cloud, dependencies, development, setup.

What it does

Use when adding, removing, upgrading, or discovering Unity (UPM) packages programmatically from outside the Editor — headless or CI package installs via the C# UnityEditor.PackageManager.Client API, verifying package ids/versions against the Unity registry, or choosing which packages a game needs by genre, platform, and monetization. The Unity CLI does not manage UPM packages, so this skill covers that gap. Triggers on "install a Unity package", "add com.unity.*", "set up packages headless/CI", "which packages for a [genre] game".

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add Unity-Technologies/unity-agent-plugin --skill unity-package-management

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/Unity-Technologies/unity-agent-plugin
cp -r unity-agent-plugin/skills/unity-package-management ~/.claude/skills/unity-package-management

Safety box score

Grade C, moderate risk: 33 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill manages Unity packages by generating C# editor scripts and running the Unity Editor headlessly to add, remove, upgrade, or search packages. The main risks are project-level code execution inside the Editor, network access to Unity registries, and direct modification of project dependency files and Editor-only source files.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It explicitly writes C# editor scripts and runs them via the Unity Editor with `-batchmode -executeMethod`, e.g. `ProjectBootstrap.PackageInstaller.Install` and `ProjectBootstrap.PackageSearch.SearchAll`.
Network access2 (moderate)It contacts Unity package registries for discovery and resolution, including `Client.SearchAll()` / `Client.AddAndRemove(...)` and `curl -fsSL https://packages.unity.com/...`.
Filesystem reach2 (moderate)It creates and edits project files under `Assets/Editor/ProjectBootstrap/` and verifies `Packages/manifest.json`, so it changes project contents on disk.
Secrets & credentials0 (none)The skill does not ask for tokens, passwords, keychains, `.env` files, or browser/session credentials.
Privilege & persistence0 (none)There is no sudo, global install, service registration, shell startup edit, or OS-wide configuration change.
Instruction hijack surface1 (low)It contains strong process directives like `do not hand-edit Packages/manifest.json` and `do not pass -quit`, but no hidden or externally sourced instruction-following.
Irreversible actions2 (moderate)Its purpose is to add, remove, and upgrade packages automatically, including `Client.AddAndRemove(...)`, which changes project dependencies without manual editing.
Transparency0 (none)The shipped files are plain markdown with embedded code samples; there are no binaries, opaque installers, or decoded blobs.

Before installing

Rated 2026-10-19 by an automated review of 2 files from the skill's repository.

Source

Repository
Unity-Technologies/unity-agent-plugin (all skills from this repository)
Path
skills/unity-package-management/SKILL.md
Branch
main
Updated
2026-09-22