← All skills
ast-grep
77 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a media skill usually calls an AI service over the internet.
By nodetool-ai/nodetool (GitHub) · media · 631 stars · scanned at commit 61e4dfe
Search code by AST structure with ast-grep when text search cannot express the required pattern.
Works with any agent that supports SKILL.md skills.
What this skill can do
Connects to the internet
The author does not mention this. Expected for a media skill.
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.
Found in 16 places.
Show 13 more
- .agents/skills/ast-grep/SKILL.md, line 108
ast-grep scan --rule my_rule.yml /path/to/project - .agents/skills/ast-grep/SKILL.md, line 113
ast-grep scan --inline-rules "id: my-rule - .agents/skills/ast-grep/SKILL.md, line 126
ast-grep run --pattern 'async function example() { await fetch(); }' \ - .agents/skills/ast-grep/SKILL.md, line 144
ast-grep run --pattern 'class User { constructor() {} }' \ - .agents/skills/ast-grep/SKILL.md, line 159
echo "const x = await fetch();" | ast-grep scan --inline-rules "id: test - .agents/skills/ast-grep/SKILL.md, line 167
echo "const x = await fetch();" | ast-grep scan --inline-rules "..." --stdin --json - .agents/skills/ast-grep/SKILL.md, line 176
ast-grep run --pattern 'console.log($ARG)' --lang javascript . - .agents/skills/ast-grep/SKILL.md, line 196
ast-grep scan --rule my_rule.yml /path/to/project - .agents/skills/ast-grep/SKILL.md, line 264
ast-grep scan --inline-rules "rule: {pattern: 'console.log(\$ARG)'}" . - .agents/skills/ast-grep/SKILL.md, line 276
ast-grep scan --inline-rules "id: async-await - .agents/skills/ast-grep/SKILL.md, line 290
ast-grep scan --inline-rules "id: console-in-class - .agents/skills/ast-grep/SKILL.md, line 303
ast-grep scan --inline-rules "id: async-no-trycatch - .agents/skills/ast-grep/SKILL.md, line 331
npx --yes --package @ast-grep/cli ast-grep <args>
Downloads and installs other software
The author does not mention this.
Found in 2 places.
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/nodetool-ai/nodetool' "$d" && git -C "$d" checkout --quiet '61e4dfe56d57dda1ea79345d7595912bd4ce358b' -- '.agents/skills/ast-grep' && mkdir -p ~/.agents/skills && cp -R "$d"/'.agents/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 nodetool-ai/nodetool shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/nodetool-ai/nodetool/)
Score history
| Date | Version | Score |
|---|
| 2026-11-13 | 61e4dfe | 77 |
| 2026-11-09 | cfbb2e7 | 77 |
| 2026-11-07 | 994741b | 77 |