Mac storage is full but iCloud is not, what to do?
As long as you're running High Sierra, you can have your Mac take care of this automatically. Go into the iCloud Drive system preferences and check the box for "Optimize Mac Storage". Your Mac will then remove local copies of old files when more storage space is needed, while keeping them on iCloud Drive.