Agent Skill plugin for Grok Build
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.
How to install Agent Skill in Grok Build
1. Add this repo as a plugin marketplace in Grok Build (once per computer):
grok plugin marketplace add ast-grep/agent-skill2. Install the plugin:
grok plugin install ast-grep@ast-grep/agent-skill --trustReview before you trust it. --trust lets this plugin's hooks, MCP servers and scripts run code on your computer. It's a community repo that neither xAI nor GrokStacks has reviewed, so read its code first.
Then start a new Grok session, or press r in /plugins, to load it.
Inside Grok Build: type /plugins, open the Marketplace tab, press a and add ast-grep/agent-skill, then select ast-grep and press i.
Command format: Grok Build's plugin guide
What we checked: on Oct 18, 2026 it installed with grok 1.0.62 and Grok found 2 skills. That's an install check only: we haven't run it in a live Grok session.
What it contains
Skills (2)
ast-grep— 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 beyonast-grep-outline— Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source.
About this listing
Agent Skill is a community plugin on GitHub by ast-grep, written as a Claude Code plugin that Grok Build installs. We install-checked it in Grok; we haven't run it in a live session or reviewed its code. When we installed it, Grok found 2 skills. No license stated in the repo, so check with the author before reusing its code. We checked commit f2175aff21f2. It's one of 162 listings in the Productivity category on GrokStacks.
Stacks Weekly: every new Grok Build and Codex plugin, every Tuesday.
One short email for GrokStacks and CodexStacks readers, with each new plugin's install line and what it ships. Subscribe and get the free starter list: 20 Grok Build plugins worth installing first.
You'll get a confirmation email first. Unsubscribe anytime.
Agent Skill FAQ
How do I install Agent Skill in Grok Build?
Add the repo as a marketplace with grok plugin marketplace add ast-grep/agent-skill, then run grok plugin install ast-grep@ast-grep/agent-skill --trust. Then start a new Grok session, or press r in /plugins, to load it.
Is Agent Skill an official Grok Build plugin?
No. Agent Skill is a community plugin on GitHub by ast-grep, not in xAI's official Grok Build marketplace. We checked that it installs and what Grok loads from it, but haven't run it in a live Grok session or reviewed its code.
What does Agent Skill include?
According to what Grok loaded in our install check, Agent Skill includes 2 skills: ast-grep, ast-grep-outline.
Details
- Type
- Plugin
- Category
- Productivity
- Source
- Community Claude Code plugin, installs in Grok
- License
- No license stated
- Author
- ast-grep
- Source repo
- https://github.com/ast-grep/agent-skill
- Checked commit
f2175aff21f2- Checked by GrokStacks
- Install-checked in Grok Build on Oct 18, 2026; not run in a live session
Something wrong or missing? Submit or improve this listing. Marketplace listings also refresh automatically every night.
For maintainers: badge and embeds
Maintain Agent Skill? Add the badge; it links to this page.
Markdown
[](https://grokstacks.com/p/agent-skill/)HTML
<a href="https://grokstacks.com/p/agent-skill/"><img src="https://grokstacks.com/badge.svg" alt="Listed on GrokStacks" width="164" height="28"></a>Embed card (static HTML and inline CSS, no JavaScript). Preview:
<a href="https://grokstacks.com/p/agent-skill/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #2a2e3c;border-radius:12px;background:#0a0b0f;color:#e8eaf0;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#e8eaf0">Agent Skill</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#9aa0b1">Community plugin for Grok Build · 2 skills</span><span style="display:block;margin:0 0 10px;color:#c9cdd8">Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search…</span><span style="font-size:12px;font-weight:600;color:#7c9cff">View on GrokStacks →</span></a>Markdown summary
**[Agent Skill on GrokStacks](https://grokstacks.com/p/agent-skill/)**: Community plugin for Grok Build with 2 skills. Install: `grok plugin install ast-grep@ast-grep/agent-skill --trust` (after `grok plugin marketplace add ast-grep/agent-skill`)More on badges, embeds and keeping your listing up to date: GrokStacks for plugin authors.
Also in Productivity
Aegis
Make AI coding agents architecture-aware: baseline-first, evidence-verified, drift-checked, and safe across long tasks.
Agent Deck
Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
Agentmemory
#1 Persistent memory for AI coding agents based on real-world benchmarks
AI Copywriter
An AI copywriter that uses real copywriting skills + real marketing knowledge with human tone.
AI Memory
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Alcove
Alcove is an MCP server that gives AI coding agents on-demand access to your private project docs — BM25 + vector hybrid search for precision retrieval, tree-sitter code indexing so agents understand your codebase structure, and policy enforcement for doc consistency.