Agent Plugins Marketplace
All plugins

ast-grep

v6.3.1

Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.

CodexClaude Code1 Skill

By Falconiere BarbosaLicense: MIT0 GitHub starsUpdated 2 days ago

Directory evidence

Runtimes
Codex and Claude Code
Parsed components
1 skill or MCP entry
Source updated
Sep 21, 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 Falconiere/toolu
codex plugin marketplace upgrade toolu
codex plugin add ast-grep@toolu

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

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

  • Codex: ast-grep-2@agent-plugin-marketplaceast-grep@toolu

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/Falconiere/toolu

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
└── skills/ast-grep/SKILL.md

Included Skills1

ast-grepskills/ast-grep/SKILL.md

ALWAYS ACTIVE — Structural code search and rewrite protocol. You MUST use ast-grep instead of Grep/sed for any 'find/rewrite by code shape' task (AST patterns, not text). Falls back to Grep for exact literals only.

Plugin manifests2

plugins/ast-grep/.codex-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "6.3.1",
  "description": "Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.",
  "skills": "./skills/",
  "hooks": "./hooks/hooks.json"
}
plugins/ast-grep/.claude-plugin/plugin.json
{
  "name": "ast-grep",
  "version": "6.3.1",
  "description": "Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.",
  "author": {
    "name": "Falconiere Barbosa",
    "email": "[email protected]"
  },
  "homepage": "https://github.com/falconiere/toolu",
  "repository": "https://github.com/falconiere/toolu.git",
  "license": "MIT",
  "keywords": [
    "claude-code",
    "ast-grep",
    "structural-search",
    "hooks"
  ]
}

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