for this I used the agent mode in Zed with the “Ask” profile, which means it can’t edit files, but it can search files, write regexes to find patterns, read specific directory structures, look up documentation, etc.
And then it writes a summary with verbatim inserts of line ranges of files it found.