unity-package

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

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-package-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-package
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/package
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-package-pcone-mm

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 async job handling for operations that trigger Domain Reload. ## Core Features & Use Cases - Package Lifecycle Management: Install, remove, and refresh UPM packages via async jobs that return job IDs for polling with job_status or job_wait. - Package Inspection: List installed packages, check installation status, search the local package cache, and retrieve dependencies and available versions. - Quick Setup Helpers: One-call installers for Cinemachine (CM2/CM3) and Splines with automatic dependency handling. - Use Case: When a user says "装个包" or asks to add Cinemachine to a Unity project, the Skill installs the correct package version, returns a job ID, and lets you poll until the Domain Reload completes. ## Quick Start Ask the assistant to install the Cinemachine package into the current Unity project and report when the installation job 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 with job_status or job_wait because the import triggers a Domain Reload.

How to check if a UPM package is installed in Unity?

Call package_check with the package ID to get installed status and version. You can also use package_list to see all cached installed packages or package_search to find packages by name keyword.

Does package_search query the Unity Registry?

No, package_search only searches the locally cached installed packages by name or display name. It does not query the Unity Registry for packages that are not yet installed.

Why does a package query return refreshing status?

After a Domain Reload, the package cache needs a short cold-start window to initialize. Queries return success false with status refreshing and retryAfterSeconds 2; wait and retry instead of treating the package as not installed.

Can I install Cinemachine and Splines together in Unity?

Yes, package_install_cinemachine with version 3 automatically installs the Splines dependency. You can also call package_install_splines separately, and package_get_cinemachine_status reports both installation states.