Add search results to Chat/Composer context

Quite often, I need to update something project-wide and I want to add them in bulk to Chat/Compoer context.
Would be nice to also include x number of lines above and below each match from search result (similar to grep -B -A -C)

here are the grep flags