← All skills
ast-grep
74 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By HyunjunJeon/fastcampus-harness-engineering-course (GitHub) · coding · 21 stars · scanned at commit c7090e6
Use ast-grep (sg) for AST-aware code search and rewrite across 25 languages. Trigger for structural code matching or deterministic codemods: find every function/call/class/import shaped like X, rewrite console.log to logger.info, strip `as any`, migrate require() to import, find empty catch blocks or missing await, and scan/apply YAML rules. Prefer this over rg/grep when the target is syntax shape rather than text; use rg for string contents, comments, filenames, or regex-style byte searches.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
This is disclosed by the author in the skill's SKILL.md or README.
Found in 46 places.
Show 17 more
- part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/README.md, line 112
- `cargo install ast-grep --locked` (any OS with Rust) - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/README.md, line 113
- `pip install ast-grep-cli` (any OS with Python) - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 16
6. cargo binstall / cargo install - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 110
Log "trying: npm install -g @ast-grep/cli" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 111
try { npm install -g '@ast-grep/cli'; return $LASTEXITCODE -eq 0 } - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 121
Log "trying: cargo install ast-grep --locked" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 122
try { cargo install ast-grep --locked; return $LASTEXITCODE -eq 0 } - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 132
Log "trying: $pip install --user ast-grep-cli" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 134
if ($pip -eq 'py') { py -m pip install --user ast-grep-cli } - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 135
else { & $pip install --user ast-grep-cli } - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 231
Err " npm install -g @ast-grep/cli # any OS with Node" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 232
Err " cargo install ast-grep --locked # any OS with Rust" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.ps1, line 233
Err " pip install ast-grep-cli # any OS with Python" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.sh, line 120
log "trying: brew install ast-grep" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.sh, line 121
brew install ast-grep && return 0 || return 1 - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.sh, line 126
log "trying: npm install -g @ast-grep/cli" - part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep/install.sh, line 127
npm install -g @ast-grep/cli && return 0 || return 1
and 26 more places
Changes files outside its own folder
The author does not mention this.
Found in 4 places.
Show 1 more
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 12 places.
Show 9 more
Sends data to these websites: github.com
The author does not mention this.
Found in 4 places.
Show 1 more
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'ast-grep' ] || [ -L ~/.agents/skills/'ast-grep' ]; then echo 'A skill folder named ast-grep already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/HyunjunJeon/fastcampus-harness-engineering-course' "$d" && git -C "$d" checkout --quiet 'c7090e63259ecb5d2bd84f2751cb44e0876becc2' -- 'part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep' && mkdir -p ~/.agents/skills && cp -R "$d"/'part7_opensource/oh-my-openagent/packages/shared-skills/skills/ast-grep' ~/.agents/skills/'ast-grep' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'ast-grep' ~/.claude/skills/'ast-grep' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for HyunjunJeon/fastcampus-harness-engineering-course shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/HyunjunJeon/fastcampus-harness-engineering-course/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | c7090e6 | 74 |