assets-delete

Deletes Unity project assets at specified paths via the unity-mcp-cli tool.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-delete-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-delete
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/assets-delete
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill assets-delete-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Removing obsolete or unwanted assets from a Unity project normally requires manual work in the Editor. This Skill deletes assets at given paths programmatically through the Unity MCP CLI and refreshes the AssetDatabase automatically. ## Core Features & Use Cases - Batch Asset Deletion: Delete one or more assets by passing an array of project paths. - Automatic Refresh: Runs AssetDatabase.Refresh() after deletion so the project state stays consistent. - Structured Error Reporting: Returns separate lists of successfully deleted paths and errors encountered. - Use Case: While cleaning up a Unity project, use the assets-find tool to locate unused textures, then delete them all in one call and immediately see which deletions succeeded or failed. ## Quick Start Delete the Unity assets at paths Assets/OldTextures/logo.png and Assets/Temp/junk.asset, then refresh the AssetDatabase.

Frequently Asked Questions about assets-delete

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

FAQPage Schema
How do I delete assets from a Unity project programmatically?

Use the unity-mcp-cli run-tool assets-delete command with a JSON input containing a paths array of asset locations. The tool deletes each asset and automatically calls AssetDatabase.Refresh() to update the project.

How do I find assets before deleting them in Unity?

Use the assets-find tool to locate assets by name or type before deletion. The assets-delete documentation explicitly recommends running assets-find first so you pass accurate paths to the delete operation.

What input format does the Unity assets-delete tool require?

It requires a JSON object with a paths property containing an array of strings, where each string is an asset path. You can pass it inline, via a JSON file with --input-file, or through stdin.

What should I do if unity-mcp-cli is not found?

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

How do I know which asset deletions failed?

The tool returns a result object with two lists: DeletedPaths for successful deletions and Errors for failures. Check the Errors list to identify paths that could not be deleted and why.