home/categories/automation-tools/modu-ai-moai-adk-claude-skills-moai-tool-ast-grep-skill-md
automation-toolstools

moai-tool-ast-grep

AST-based structural code search, security scanning, and refactoring using ast-grep (sg CLI) with pattern matching and code transformation across 40+ languages. Use for structural search or codemod operations.

modu-ai
maintainer
modu-ai
Updated 3/28/2026
Stars
913
Forks
164
quick start

Installation and usage

AST-based structural code search, security scanning, and refactoring using ast-grep (sg CLI) with pattern matching and code transformation across 40+ languages. Use for structural search or codemod operations.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use moai-tool-ast-grep