How to delete ghost iCloud folders on ~/Library/Mobile Documents

I’m kinda obsessed with having a clean, well-organized OS. I periodically go through all my user directory folders and inspect them one by one, deleting unused/unwanted folders and files across the whole thing. I probably run mole clean at least once a day. In the macOS filesystem, ~/Library/Mobile Documents is kind of a special folder: a “virtualized system mount point” that only exists when the…