I built detect because I was tired of looking up find/grep/xargs syntax on Stack Overflow every time I needed to search my filesystem in any nontrivial way. It's a Rust tool that uses a concise and readable expression language to build queries.
Here are some examples:
# every rust file modified in the last week that imports tokio _and_ serde (mean time: 179ms)
detect 'ext == rs
&& content contains "use tokio"