SkillTrust

← All skills

ast-grep

95 / 100 · Low risk

Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.

By xdg/xdg-claude (GitHub) · coding · 20 stars · scanned at commit 2f3f8be

Structural code search and refactoring via ast-grep. Reach for this when Edit fails with "old_string not unique", when refactoring across formatting variations, or when matching code shape rather than text.

Works with any agent that supports SKILL.md skills.

What this skill can do

Runs commands on your computer

The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.

Found in 4 places.

Show 1 more

Other copies in this repository

xdg/xdg-claude has 1 more folder with a skill named ast-grep. This page shows the lowest-scoring copy.

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/xdg/xdg-claude' "$d" && git -C "$d" checkout --quiet '2f3f8be74679e47e12780341b6f79034a6317d39' -- 'context-efficient-tools/skills/ast-grep' && mkdir -p ~/.agents/skills && cp -R "$d"/'context-efficient-tools/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 xdg/xdg-claude shows the score of its lowest-scoring skill.

SkillTrust badge for xdg/xdg-claude

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/xdg/xdg-claude.svg)](https://zalavijaysinh.github.io/skilltrust/repos/xdg/xdg-claude/)

Score history

DateVersionScore
2026-11-132f3f8be95
2026-11-08a60c85195