Hairnets in your skimmer basket will keep small debris out of your pump and filter. I use these; they work great for regular skimming action and I expect that they'll work fine with your vacuum, too: https://www.amazon.com/dp/B07PSFDT6W
They only cost 10 cents each, so they're disposable.