package-remove

Uninstalls UPM packages from a Unity project by modifying manifest.json.

Updated May 27, 2026
One-click install
npx skills add https://github.com/AdielMag/ClashUp --skill package-remove-adielmag
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: package-remove
Source: https://github.com/AdielMag/ClashUp/tree/main/client/ClashUp.Unity/.claude/skills/package-remove
Command: npx skills add https://github.com/AdielMag/ClashUp --skill package-remove-adielmag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Removing Unity packages manually requires editing manifest.json and waiting for package resolution and domain reloads, which is error-prone and slow. This Skill automates package removal through the Unity Editor and confirms the result after the reload completes. ## Core Features & Use Cases - Verified Removal: Checks the package is installed via an offline Client.List before attempting removal, returning a clear PackageNotFound error otherwise. - Domain Reload Handling: Schedules a post-domain-reload notification so the final result is delivered only after Unity finishes package resolution. - Forgiving Input: Strips a trailing @<version> from the packageId automatically, so versioned IDs still work. - Use Case: While cleaning up a Unity project, remove com.unity.textmeshpro after confirming with package-list that nothing depends on it. ## Quick Start Ask the assistant to uninstall the package com.unity.textmeshpro from the Unity project using package-remove.

Frequently Asked Questions about package-remove

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

FAQPage Schema
How do I uninstall a Unity package programmatically?▼

Run the package-remove tool with the packageId, such as com.unity.textmeshpro, via unity-mcp-cli. It removes the package from manifest.json and triggers Unity package resolution automatically.

How to remove a UPM package from manifest.json in Unity?▼

Provide the package ID without a version number to the removal tool, which edits manifest.json and starts resolution. The result is delivered after the domain reload completes.

Why can't I remove a built-in Unity package?▼

Built-in packages and packages that other installed packages depend on cannot be removed by Unity's Package Manager. Use package-list first to inspect installed packages and their dependency relationships.

What happens if the package is not installed when removing?▼

The tool first verifies installation with an offline Client.List call. If the package is missing, it returns a clear PackageNotFound error instead of attempting removal.

What if unity-mcp-cli is not found when running the command?▼

Install it globally with npm install -g unity-mcp-cli, or invoke it through npx unity-mcp-cli. The unity-initial-setup skill contains detailed installation instructions.