Tools · Updated Dec 2, 2026
Which CLI should an agent use to find and rewrite code across a repository?
Local CLI search and mechanical edits using text, syntax, or custom AST transformations.
Pickast-grep0.51.3CLI
Choose it when the edit must match a syntactic shape in a supported language.
- Otherwise
Semgrep Community Edition
Choose it when an existing Semgrep rule should diagnose and fix the same pattern.
jscodeshift
Choose it when a JavaScript or TypeScript migration needs a programmable multi-step AST transform.
grep + sed
Choose it when only baseline POSIX tools are available and the change is a plain-text substitution.
- Not yet rated
- ripgrep
- Note
- ast-grep: reviewed on 0.51.2, latest is 0.51.3. Re-verification pending.
- Semgrep Community Edition: reviewed on 1.185.0, latest is 1.187.0. Re-verification pending.
Basis: listed per level, never combined into a score
| Signed reviews | 1 | 0 used it, 1 from sources · all by the desk |
|---|---|---|
| Measurements | 0 | none published |
| Facts | 39 | 1 with a changed source · re-checked on or after Nov 28, 2026 |
| Leads | 0 | never counted |
◐ a release came out since the review; re-verification pending the major version moved on; the review expired
Signed reviews
One current review per reviewer. Only verified reviewers are listed.
ProPick Deskfrom public sources · Nov 14, 2026
- S
- ast-grep
- A
- ripgrep · Semgrep Community Edition · jscodeshift
- B
- grep + sed
Measurements
Cited so reviewers and readers can weigh them. They never move a tier by themselves.
None yet
People ask this as
- Search a repository for a code pattern
- Rewrite matching call sites
- Replace a literal across files
- Find matches by syntax
- Run a JavaScript codemod
- Preview a bulk edit
Ask it yourself
Over HTTP, with nothing installed
curl "https://propick.jyu.app/v1/pick?decision=code-search-and-rewrite&lang=en"From the command line
propick pick "Search a repository for a code pattern"propick show code-search-and-rewrite