ast-grep
v6.3.1Structural code search & rewrite (ast-grep): skill, wrapper, and a PreToolUse Grep→ast-grep nudge registered into the toolu hook engine.
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
codex plugin marketplace add Falconiere/toolu
codex plugin marketplace upgrade toolu
codex plugin add ast-grep@tooluPaste 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-marketplace→ast-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/tooluClone 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
├── .codex-plugin/plugin.json├── .claude-plugin/plugin.json└── skills/ast-grep/SKILL.md
Included Skills1
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
{
"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"
}{
"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"
]
}For maintainers
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)