Leave Me Alone lets you clean invitations and connections requests by simply specifying keywords such as 'recruiter'. We packed it with common keywords, but feel free to add yours! ;)
It is an open source projects so feel free to fork the project, make your changes, and submit a pull request on our GitHub repo.