asgrep Agent Plugin
Portable Agent Plugins package for ast-sgrep.
Contents
plugin.json-- Agent Plugins 1.0.0 manifestskills/ast-sgrep/-- Agent Skill (same guidance as the Pi package)mcp.json-- stdio MCP server viaasgrep-mcp
Requirements
asgrep-mcponPATH(from a publishedast-sgrep-mcpinstall / release binary), or replacecommandwith an absolute path- Optional: native
asgrepCLI for non-MCP workflows
Install (client-specific)
Clients that support Agent Plugins load this directory as a plugin root. Example layout after clone:
packages/agent-plugin/
├── plugin.json
├── mcp.json
└── skills/ast-sgrep/SKILL.md
Pi users should prefer pi install npm:pi-ast-sgrep for the full Code Mode + tools surface. This plugin is the portable skills+MCP floor for other agent clients.
Code Mode XOR MCP
This plugin is the MCP path for non-Pi clients.
If you use Pi, install npm:pi-ast-sgrep (Code Mode) instead and do not also load this plugin / asgrep-mcp in that same agent. Choose one surface.