Skill
ast-grep
ast-grep — a Claude Code skill from ast-grep/agent-skill
Features
- ✓Advanced code search with AST patterns
- ✓Understand code structure, not just text
- ✓Customizable search rules for precise results
- ✓Enhance Claude Code with ast-grep skill
- ✓Explore the GitHub repo for more tools
Installation Guide
Option 1: Install via skills.sh (Recommended)
text
npx skills add ast-grep/agent-skillOption 2: Install via Marketplace
bash
/plugin marketplace add ast-grep/agent-skillbash
/plugin install ast-grep/help to see if ast-grep skill is availableOption 3: Install Locally for Development
If you're developing or testing locally:
bash
# Clone the repository
git clone https://github.com/ast-grep/claude-skill.git /path/to/local-marketplace
# Add as local marketplace
/plugin marketplace add /path/to/local-marketplace
# Install the plugin
/plugin install ast-grepUsage Notes
You will need to ask Claude to use this skill explicitly in your queries, like "Use ast-grep to find...". Claude Code, as of Nov 2025, cannot automatically detect when to use ast-grep for all appropriate use cases.