# Unity Package

> Use when installing, removing, inspecting, or refreshing Unity packages.

- Skill: `batihandev/unity-package` (Agent Skill)
- Install (CLI): `npx skillmds@latest add batihandev/unity-package`
- Raw SKILL.md: https://api.skillmd.com/api/skills/batihandev/unity-package/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: batihandev (https://skillmd.com/u/batihandev)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/batihandev/unity-package

---


# Package Management

**Do not use `Unity_RunCommand` for package operations.** Unity's MCP server exposes first-class package tools that cover every operation in this domain directly.

## Routing

| Operation | Tool | Typical payload |
|---|---|---|
| List installed packages | `Unity_PackageManager_GetData` | `{ "installedOnly": true }` (no `packageID`) |
| Check a specific package | `Unity_PackageManager_GetData` | `{ "packageID": "com.unity.cinemachine", "installedOnly": true }` |
| List a package's versions | `Unity_PackageManager_GetData` | `{ "packageID": "com.unity.cinemachine", "installedOnly": false }` |
| List a package's dependencies | `Unity_PackageManager_GetData` | `{ "packageID": "com.unity.timeline", "installedOnly": false }` |
| Install a package | `Unity_PackageManager_ExecuteAction` | `{ "action": "Add", "packageID": "com.unity.cinemachine" }` (optional `version`) |
| Remove a package | `Unity_PackageManager_ExecuteAction` | `{ "action": "Remove", "packageID": "com.unity.splines" }` |
| Refresh / resolve | `Unity_PackageManager_ExecuteAction` | `{ "action": "Resolve" }` |
| Embed a local copy | `Unity_PackageManager_ExecuteAction` | `{ "action": "Embed", "packageID": "com.unity.cinemachine" }` |
| Import a package sample | `Unity_PackageManager_ExecuteAction` | `{ "action": "Sample", "packageID": "...", "sampleName": "..." }` |

## Notes

- Install / remove operations are asynchronous on Unity's side. If the tool returns a "pending" status, poll `Unity_PackageManager_GetData` with `installedOnly: true` a few seconds later to observe the final state.
- Package operations can trigger a Domain Reload. Expect transient server unavailability afterward; retry once.

