More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Codegraph Ast Grep

    2

    Supercharge repo exploration and refactoring with semantic call-graph tracing and structural AST pattern matching.

    Free

    8 usesSecurity scanned
    codegraph-ast-grep

    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.

    • Requires local installation of CodeGraph and ast-grep binaries.
    • Performance varies with repository size and index freshness.
    • Does not replace language-specific compilers for final validation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    8 uses

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 months ago

    • Free with an Agensi account

    Requires

    When A Repo Needs CodeGraph Plus Ast Grep For Codex MCP
    Setup And Config MCP
    uv (Python tool runner)
    Pinned Server Commands Or Isolated MCP
    @colbymchenry/codegraph
    Node.js
    Python
    Ast Grep MCP

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed5 months ago

    What's inside

    Frequently Asked Questions

    This skill combines semantic call-graph tracing with structural AST pattern matching, allowing your AI agent to perform deep impact analysis and precise, syntax-aware refactoring that standard keyword searches miss.

    The skill automates the setup of Codex MCP servers, manages .gitignore entries, and handles both global and local environments to ensure all dependencies are correctly configured for your specific repository.

    It is optimized for any AI agent or platform that supports the Model Context Protocol (MCP) and can interface with specialized developer tools like ast-grep.

    Your purchase includes the full skill definition, necessary configuration protocols for CodeGraph and ast-grep integration, and documentation on implementing the semantic-to-structural workflow.

    No, the skill is designed to respect your project's .gitignore and security policies, and it includes logic to redact sensitive information during MCP server configuration.

    The skill is built to be language-agnostic but performs best with languages supported by both CodeGraph and ast-grep, such as TypeScript, JavaScript, Python, and Rust.

    New in Code Quality & Review