ast-grep-find
✓AST-based code search and refactoring via ast-grep MCP
Installation
SKILL.md
Structural code search that understands syntax. Find patterns like function calls, imports, class definitions - not just text.
| --pattern | AST pattern to search (required) | | --language | Language: python, javascript, typescript, go, etc. | | --path | Directory to search (default: .) | | --glob | File glob pattern (e.g., /.py) | | --replace | Replacement pattern for refactoring | | --dry-run | Preview changes without applying | | --context | Lines of context (default: 2) |
| $NAME | Match single node (variable, expression) | | $$$ | Match multiple nodes (arguments, statements) | | $ | Match any single node (wildcard) |
AST-based code search and refactoring via ast-grep MCP Source: namesreallyblank/clorch.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/namesreallyblank/clorch --skill ast-grep-find- Source
- namesreallyblank/clorch
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is ast-grep-find?
AST-based code search and refactoring via ast-grep MCP Source: namesreallyblank/clorch.
How do I install ast-grep-find?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/namesreallyblank/clorch --skill ast-grep-find Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/namesreallyblank/clorch
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01