ast-grep
Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.
Why this score
This repo hosts 10 skills, so its 3,797 stars are split between them (about 380 each) for scoring.
Popularity score: 74/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
Security
Scanned Oct 21, 2026 at commit 28cc33df649b, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This oneast-grep code-yeongyu/lazycodex · Skill | 74 | ★ 3.8k | ≈63 always | 16d ago |
| ast-grep-find parcadei/Continuous-Claude-v3 · Skill Both about ast and grep | 58 | ★ 3.9k | ≈17 always | 9mo ago |
| ast-visitor-pattern prisma/orm · Skill Both about ast and class | 86 | ★ 48k | ≈23 always | 16d ago |
| web3-grep-arsenal tradecatlabs/vibe-coding-cn · Skill Both about grep | 79 | ★ 18k | ≈48 always | 16d ago |