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.
ast grep (also installed as ) is an AST aware search and rewrite tool across 25 languages. It treats your pattern as code, parses it the same way it parses your project, and matches structurally. It is the right tool whenever your question depends on code shape rather than text bytes. This skill ships a Python wrapper at and platform install scripts at (POSIX) and (Windows). The helper adds offline pattern validation, the two pass write trick, and binary auto resolution. Use it as your default…
Full body not shown for this license – view the source on GitHub →Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/ast-grep · pinned to the source commit
# Run from your project root
git clone https://github.com/code-yeongyu/oh-my-openagent.git .skillboard-tmp
git -C .skillboard-tmp checkout 69e37f76baf3651170b61bf85ddad68142c35724
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/packages/shared-skills/skills/ast-grep" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/code-yeongyu/oh-my-openagent.git .skillboard-tmp
git -C .skillboard-tmp checkout 69e37f76baf3651170b61bf85ddad68142c35724
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/packages/shared-skills/skills/ast-grep" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/ast-grep
Scanner static-checks@0.1.0 · commit 69e37f76baf3. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.