- Home
- Skills
- Code Review
- codegraph-ast-grep
More screenshots
Works with the AI tools you already use
Codegraph Ast Grep
Supercharge repo exploration and refactoring with semantic call-graph tracing and structural AST pattern matching.
Free
codegraph-ast-grep
Example session with this skill installed
I need to change the signature of AuthService.validate(). Use CodeGraph to find callers and ast-grep to identify the specific conditional patterns used for the refactor plan.
- Read your context and instructions
- Compiled the codegraph-ast-grep
Analyzing impact of changing 'AuthService.validate()'...
CodeGraph found 12 callers across 4 services.
ast-grep identified structural pattern: 'if (!auth.validate(user)) { ... }' in 8 locations.
Refactor plan: Update 8 call sites + 2 middleware handlers. Risk: Medium (shared library).
Connects securely to your tools. The creator never sees your data.
About this skill
The Ultimate Repo Exploration & Refactor Engine
Navigating complex codebases requires more than just keyword search. This skill combines the semantic power of CodeGraph with the structural precision of ast-grep to give your AI agent a deep, multi-dimensional understanding of your repository.
What it does
- Semantic Mapping: Uses CodeGraph to trace call flows, find callers/callees, and perform impact analysis across entire repositories.
- Structural Search: Leverages ast-grep for deterministic, AST-based pattern matching (e.g., finding unsafe writes or deprecated API patterns).
- Intelligent Setup: Automates the configuration of Codex MCP servers, handling global vs. local installs and .gitignore management.
- Safe Refactoring: Scopes impacted symbols with semantic data before applying precise structural rewrites.
Why use this skill
Standard AI prompting often hallucinates code relationships or misses structural nuances in large repos. This developer-centric skill provides a "ground truth" layer by integrating specialized tools. Instead of asking "Where is this used?", your agent can now prove it by tracing the actual call path and identifying the exact syntax nodes involved, ensuring refactors are both comprehensive and safe.
Supported Workflows
Designed for professional environments, it respects package manager policies, redacts secrets during MCP configuration, and integrates with existing .codex/ and .codegraph/ metadata.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
3 installs
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 3 months ago
- Free to download with an account