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_assetstakes two calls. Call it withoutconfirmTokento preview; call it again with the returnedconfirmTokento delete. The token expires after 5 minutes. There is nodryRunparameter.- Analyze and query skills (
cleaner_find_*,cleaner_get_asset_usage,cleaner_get_dependency_tree) are read-only and run under Approval. cleaner_delete_assetsandcleaner_delete_empty_foldersare delete-class: under Approval and Auto they returnMODE_FORBIDDEN, and only Bypass or an Allowlist entry runs them. A grant does not unlock them.cleaner_fix_missing_scriptsreplaces 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.