You don't need to use a separate extension to filter out search results. You can use this tool to generate filters for uBlock Origin: https://letsblock.it/filters/search-results
Is there a cli tool for that? I have over 300 domains in my ublacklist list.
You can try using ChatGPT or a similar tool to apply the same pattern to all domains in your list with a prompt like:
"Use this pattern:
example.com##a:has(.b)
to create separate rules for these domains:
example.net
example.org
..."