Here is a simple skill (markdown instruction only) that instructs a nice ripgrep approach - with utility of discovering current session.
https://github.com/backnotprop/rg_history