Question: how to delete photos from icloud but not mac?
Answer: Open Photos, go to Photos/Preferences/iCloud and set up syncing. Then go to System Preferences/iCloud, sign in, and check Photos syncing. Once all the Photos have synced to your computer, quit Photos. You should now have a complete compilation of your photos (like a Master Library).