unity-cleaner

Analyze Unity projects for unused assets, duplicates, and missing references.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-cleaner-dycuong03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-cleaner
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/cleaner
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-cleaner-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you detect and remove clutter in a Unity project by finding unused assets, duplicates, missing references, empty folders, and oversized files while reducing manual cleanup risk.

Core Features & Use Cases

  • Find unused and risky content: locate unused assets, duplicates (by hash), missing script/component references, empty folders, large assets, and dependency relationships.
  • Safely delete with guardrails: perform deletions via a two-step preview/confirmToken flow to prevent accidental data loss.
  • Fix missing scripts in-place: remove missing script component references from GameObjects without deleting assets.

Quick Start

Use the Unity Cleaner to preview cleanup candidates by asking: “Find potentially unused Materials and return the top 20 results.”

Frequently Asked Questions about unity-cleaner

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

FAQPage Schema
How do I find unused assets and duplicates in a Unity project?

To find unused assets and duplicates in a Unity project, this Skill audits asset usage and analyzes file hashes to identify redundant content. It generates a non-destructive report highlighting cleanup opportunities without altering your current project files.

What is the safest way to delete unused Unity assets before shrinking build size?

The safest way to delete unused Unity assets is using a two-step preview and confirmation flow. This Skill requires a confirmToken for destructive operations, ensuring you review cleanup candidates and prevent accidental data loss before finalizing any safe deletions.

How do I fix missing script references on GameObjects in Unity?

To fix missing script references on GameObjects in Unity, this Skill performs in-place removal of broken component references. It identifies missing scripts during the audit and safely removes them without deleting the underlying asset files.

Can I audit empty folders and oversized files in Unity without deleting them?

Yes, you can audit empty folders and oversized files in Unity without deleting them by using the Skill's non-destructive reporting mode. It locates large assets and empty directories, providing a detailed overview of project clutter without modifying your data.

Does Unity Cleaner support dependency tree analysis for project maintenance?

Yes, Unity Cleaner supports dependency tree analysis for project maintenance by mapping asset relationships. This allows you to trace where specific files are used, identify orphaned content, and prepare safe deletions without breaking active project references.