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.

CodexClaude Code

By Herrington DarkholmeLicense: MIT15 GitHub starsUpdated 2 hours ago

Directory evidence

Runtimes
Codex and Claude Code
Parsed components
0 skill or MCP entries
Source updated
Sep 24, 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 Codex and Claude Code

Installs for the current user
codex plugin marketplace add pleaseai/claude-code-plugins
codex plugin marketplace upgrade pleaseai
codex plugin add ast-grep@pleaseai

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

Compatibility: the page URL and API slug “ast-grep-3” remain stable.

  • Codex: ast-grep-3@agent-plugin-marketplace → ast-grep@pleaseai

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/pleaseai/claude-code-plugins

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

Plugin files

plugins/ast-grep/
├── .codex-plugin/plugin.json
└── .claude-plugin/plugin.json

Plugin manifests2

plugins/ast-grep/.codex-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"
  },
  "interface": {
    "displayName": "Ast Grep",
    "shortDescription": "Guide for writing ast-grep rules to perform structural code search and analysis",
    "longDescription": "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.",
    "developerName": "Herrington Darkholme",
    "category": "Development",
    "capabilities": [
      "Skill"
    ],
    "defaultPrompt": [
      "Help me use Ast Grep for my current task."
    ],
    "websiteURL": "https://github.com/ast-grep/agent-skill"
  },
  "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"
  ]
}
plugins/ast-grep/.claude-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "1.3.1",
  "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"
  ],
  "skills": "./.agents/skills/"
}

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-3)