assets-delete

Deletes specified assets from a Unity project and refreshes the database.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/igot-ai/os-twin --skill assets-delete-igot-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-delete
Source: https://github.com/igot-ai/os-twin/tree/main/.agents/skills/roles/game-engineer/develop-unity-ui/references/assets-delete
Command: npx skills add https://github.com/igot-ai/os-twin --skill assets-delete-igot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delete assets by path from a Unity project and refresh the AssetDatabase to keep the project in sync, simplifying cleanup workflows.

Core Features & Use Cases

  • Delete assets from provided paths with AssetDatabase.Refresh() invoked afterward to ensure Unity recognizes changes.
  • Use with the assets-find tool to locate targets before deletion and avoid accidental removals.
  • Typical use cases include pruning unused assets across large projects, performing bulk cleanups, and preparing builds with only necessary assets.

Quick Start

Provide the asset paths you want deleted and run the tool to remove them from the Unity project.

Frequently Asked Questions about assets-delete

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

FAQPage Schema
How do I bulk delete unused Unity assets and refresh the AssetDatabase?

To bulk delete Unity assets, provide the target asset paths to the tool, which removes them and invokes AssetDatabase.Refresh() to ensure Unity recognizes changes and reports errors.

What is the best way to prune unused assets across multiple Unity projects?

Pruning unused assets across multiple Unity projects is handled by providing specific asset paths for deletion, after which AssetDatabase.Refresh() finalizes the cleanup and reports DeletedPaths.

How do I locate Unity assets before performing a bulk delete operation?

You can use the assets-find tool to locate target assets by path before deletion, ensuring you accurately identify unused files and avoid accidental removals during cleanup.

Does deleting Unity assets automatically update the project database?

Deleting Unity assets with this tool automatically updates the project database by invoking AssetDatabase.Refresh() afterward, ensuring the editor recognizes changes and reports any deletion errors.