Agent Plugins Marketplace
← All plugins

ast-grep

v0.2.0

Batch structural code searches with compact results to reduce model round trips.

CodexClaude Code1 Skill

By PedroAVJLicense: MIT0 GitHub starsUpdated 3 weeks ago

Directory evidence

Runtimes
Codex and Claude Code
Parsed components
1 skill or MCP entry
Source updated
Sep 29, 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
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install ast-grep-5@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.

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

  • Codex: Legacy selector ast-grep-5@agent-plugin-marketplace remains documented for migration; install from source for this runtime.

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.

Codex has another source with the same manifest name. This directory does not invent numbered install aliases; use the publisher's catalog or inspect the source manually for that runtime.

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

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

Plugin files

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

Included Skills1

structural-searchskills/structural-search/SKILL.md

Batch structural code searches with compact results to reduce model round trips. Use for AST-shaped searches, not ordinary text search.

Plugin manifests2

.codex-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "0.2.0",
  "description": "Batch structural code searches with compact results to reduce model round trips.",
  "author": {
    "name": "PedroAVJ",
    "url": "https://github.com/PedroAVJ"
  },
  "homepage": "https://github.com/PedroAVJ/ast-grep#readme",
  "repository": "https://github.com/PedroAVJ/ast-grep",
  "license": "MIT",
  "keywords": [
    "ast-grep",
    "structural-search",
    "syntax-tree",
    "code-search",
    "batch"
  ],
  "skills": "./skills/",
  "interface": {
    "displayName": "ast-grep",
    "shortDescription": "Batch structural code searches with compact results to reduce model round trips.",
    "longDescription": "Batch structural code searches with compact results to reduce model round trips. Local deterministic tools; no model API calls or permanent indexer.",
    "developerName": "PedroAVJ",
    "category": "Developer Tools",
    "capabilities": [
      "Read"
    ],
    "defaultPrompt": [
      "Find every call shaped like this pattern across the repository",
      "Batch these structural code searches in one query"
    ],
    "brandColor": "#4338CA",
    "composerIcon": "./assets/ast-grep-icon.svg",
    "logo": "./assets/ast-grep-icon.svg"
  }
}
.claude-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "0.2.0",
  "description": "Batch structural code searches with compact results to reduce model round trips.",
  "author": {
    "name": "PedroAVJ",
    "url": "https://github.com/PedroAVJ"
  },
  "homepage": "https://github.com/PedroAVJ/ast-grep#readme",
  "repository": "https://github.com/PedroAVJ/ast-grep",
  "license": "MIT",
  "keywords": [
    "ast-grep",
    "structural-search",
    "syntax-tree",
    "code-search",
    "batch"
  ],
  "skills": "./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-5)