unity-cleaner

Installation
SKILL.md

Unity Cleaner Skills

Find and clean up project bloat: unused, duplicate, missing-reference and empty assets, large assets, asset usage and dependency trees. The module reports and does not delete, except through the two-step cleaner_delete_assets and cleaner_delete_empty_folders. Parameters come from the schema (GET /skills/schema?category=Cleaner&wire=v2); execution and dryRun rules: root SKILL.md.

When to use

  • Reducing project bloat
  • Hunting duplicate or orphaned assets
  • Auditing before a release

Rules

  • cleaner_delete_assets takes two calls. Call it without confirmToken to preview; call it again with the returned confirmToken to delete. The token expires after 5 minutes. There is no dryRun parameter.
  • Analyze and query skills (cleaner_find_*, cleaner_get_asset_usage, cleaner_get_dependency_tree) are read-only and run under Approval.
  • cleaner_delete_assets and cleaner_delete_empty_folders are delete-class: under Approval and Auto they return MODE_FORBIDDEN, and only Bypass or an Allowlist entry runs them. A grant does not unlock them.
  • cleaner_fix_missing_scripts replaces missing script components in place and deletes no asset. It is not delete-class, so under Approval it needs the standard grant.
  • To remove assets that the analysis finds without the two-step path, use asset asset_delete. Project validation belongs to the validation module.
Installs
88
GitHub Stars
1.9K
First Seen
Mar 14, 2026