unity-package

Manage Unity Package Manager packages including install, remove, search, and version inspection.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-package-du-qwq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-package
Source: https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications/tree/main/.agents/skills/unity-skills/skills/package
Command: npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-package-du-qwq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Unity Package Manager (UPM) packages manually through the editor UI is slow and hard to automate. This Skill lets you install, remove, refresh, search, and inspect UPM packages programmatically, including quick setup flows for Cinemachine and Splines. ## Core Features & Use Cases - Package Lifecycle Management: Install, remove, and refresh UPM packages via asynchronous jobs that handle Unity Domain Reload gracefully. - Package Inspection: List installed packages, check installation status, search the local package cache, and retrieve dependencies and available versions. - Cinemachine & Splines Setup: One-call helpers install Cinemachine (CM2 or CM3) and Splines with the correct version strategy for your Unity editor line. - Use Case: A user says "装个包" or asks to add Cinemachine to their project. The Skill installs the package, returns a job ID, and you poll job_status until the Domain Reload completes. ## Quick Start Ask the AI to install the Cinemachine package into the current Unity project and report when the installation finishes.

Frequently Asked Questions about unity-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a Unity package programmatically?

Use package_install with a package ID such as com.unity.cinemachine and an optional version. It returns an async job ID immediately; poll job_status or job_wait until the package import and Domain Reload complete.

How to check which Unity packages are installed in a project?

Use package_list to enumerate all cached installed packages, or package_check with a specific package ID to verify installation status and version. If the cache is stale, run package_refresh first.

Does package_search query the Unity Package Registry?

No, package_search only searches the locally cached list of installed packages by name or display name. It does not query the online Unity Registry for new packages.

Why does package_list return "Package list not ready"?

The installed package cache has not been populated yet. Run package_refresh and wait for its job to complete, then retry package_list, package_search, package_get_dependencies, or package_get_versions.

Why is the Unity REST server unavailable after installing a package?

Package install, remove, and refresh operations trigger package import and a Domain Reload, which temporarily restarts the Unity editor domain. Use the returned job ID to poll until the server becomes available again.

Can I install Cinemachine 2 instead of Cinemachine 3?

Yes, package_install_cinemachine accepts a version parameter: pass 2 for CM2 or 3 for CM3 (the default). CM3 automatically installs the Splines dependency, and if the requested line is already installed it returns immediate success.