Agent Skill — Development skill for Claude Code
A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstract Syntax Tree (AST) patterns.
How to install Agent Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ast-grep/agent-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Skill does
A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstract Syntax Tree (AST) patterns. Search your codebase based on code structure rather than j
Alternatives in Development
- Claudia — A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions 21k ★
- Lamda — The most powerful Android RPA agent framework, next generation mobile automation 7.7k ★
- Ars Abstract — ARS academic-paper abstract-only mode — bilingual abstract + keywords 4.5k ★
README
ast-grep Plugin Marketplace for AI Agents
A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstract Syntax Tree (AST) patterns. Search your codebase based on code structure rather than just text matching.
What is This?
This is a **Claude Code plugin marketplace** that provides the **ast-grep plugin**. The plugin includes a skill that teaches Claude how to write and use ast-grep rules to perform advanced code searches. Unlike traditional text-based search (grep, ripgrep), ast-grep understands the structure of your code, allowing you to find patterns like:
- "Find all async functions that don't have error handling"
- "Locate all React components that use a specific hook"
- "Find functions with more than 3 parameters"
- "Search for console.log calls inside class methods"
Prerequisites
You need to have ast-grep installed on your system:
# macOS
brew install ast-grep
# npm
npm install -g @ast-grep/cli
# cargo
cargo install ast-grep
Verify installation:
ast-grep --version
Installation
Option 1: Install via skills.sh (Recommended)
npx skills add ast-grep/agent-skill
Option 2: Install via Marketplace
- Add the marketplace to your Claude Code:
/plugin marketplace add ast-grep/agent-skill
- Install the ast-grep plugin:
/plugin install ast-grep
**Restart Claude Code** to activate the plugin
**Verify installation**: Use `/help` to see if ast-grep skill is available
Option 3: Install Locally for Development
If you're developing or testing locally:
# Clone the repository
git clone https://github.com/ast-grep/agent-skill.git /path/to/local-marketplace
# Add as local marketplace
/plugin marketplace add /path/to/local-marketplace
# Install the plugin
/plugin install ast-grep
Usage Notes
You will need to ask Claude to use this skill explicitly in your queries, like "Use ast-grep to find...
Related Skills
Claude Skill
🔍 Enhance code searches with ast-grep, finding patterns in your code structure for improved error handling an
Lazyclaudecode
omo for Claude Code — native Claude Code plugin marketplace (Sisyphus Labs / omo): rules, comment-checker, LSP
Codebase Graph
Code intelligence MCP server — 42-language tree-sitter AST parsing, FalkorDB knowledge graphs, 0.944 MRR searc
MCP Base
tilth — code intelligence MCP server. Replaces grep, cat, find, ls with AST-aware equivalents.
Use Ast Grep
AST-Grep Integration Protocol for Cursor Agent
Detecting Abstract To Operational Constraint Shift 20260709
Recognizes the structural tension when discourse abruptly shifts from high-level philosophy or generalized flu
Related Agents
Ast Grep Surgeon
Structural code analysis and surgical refactoring specialist using ast-grep. Use PROACTIVELY for code search,
Core Developer
Core development protocol for the EITR engine containing 4 explicit workflows and constraints for modifying AS
Codelens Explorer
Read-only code exploration using CodeLens MCP tools. Prefer this over Explore/Grep/Read for code symbol search