Agent Plugins Marketplace
All plugins

ast-grep

v1.0.0

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search.

Claude Code1 Skill

By Herrington DarkholmeLicense: MIT869 GitHub starsUpdated last week

Directory evidence

Runtimes
Claude Code
Parsed components
1 skill or MCP entry
Source updated
Sep 13, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install ast-grep for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install ast-grep@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/ast-grep/agent-skill

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is ast-grep/.

Plugin files

ast-grep/
├── .claude-plugin/plugin.json
└── skills/ast-grep/SKILL.md

Included Skills1

ast-grepskills/ast-grep/SKILL.md

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.

Plugin manifests1

ast-grep/.claude-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "1.0.0",
  "description": "Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search.",
  "author": {
    "name": "Herrington Darkholme"
  },
  "homepage": "https://github.com/ast-grep/agent-skill",
  "repository": "https://github.com/ast-grep/agent-skill",
  "license": "MIT",
  "keywords": [
    "ast-grep",
    "code-search",
    "ast",
    "structural-search",
    "pattern-matching",
    "refactoring"
  ]
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[ast-grep on Agent Plugins Marketplace](https://pluginsmp.com/plugins/ast-grep)