Oh it absolutely will have issues (for example it'd hit Maintenance in a title because of AI), it was something I did in a fit of pique because I opened HN one day and ~2/3 of the stories where about AI/LLM's - great if that is what you want, annoying as hell if you like the other stuff much more.
There are about a million ways to do it better but I can accept the odd false positive :).
Yea, it will also block words like email, daily, main, domain, train etc as the term AI is case insensitive without word boundaries.
I used gemini to update it to:
Note that blocking token, prompt, agent, and harness will also block things like auth tokens, SSH agents.Here's how mine looks using my method:
https://imgur.com/a/P1qMIok
9 out of 30 posts have been removed.
Any improvements to above filter are welcome.