Works with the AI Agents you already use

    GitArchaeologist: Offline Code Blast-Radius & Semantic Blame

    by Chethanraj D.S

    1

    Offline Git and AST intelligence MCP server for impact analysis, semantic blame, and churn metrics.

    Free

    Security scanned
    GitArchaeologist: Offline Code Blast-Radius & Semantic Blame

    GitArchaeologist: Offline Code Blast-Radius & Semantic Blame

    Example session with this skill installed

    Check the blast radius for the function verify_session_token in auth/token.py before I rename it.

    • Read your context and instructions
    • Compiled the gitarchaeologist

    I have analyzed the architectural impact of modifying verify_session_token. The risk level is

    HIGH due to multiple downstream dependencies across the authentication module.

    Blast Radius Analysis: verify_session_token

    MetricValue
    Risk LevelHIGH
    Risk Score8.2 / 10.0
    Direct Callers4
    Impacted Filesmiddleware/auth.py, api/v1/endpoints.py, tests/test_auth.py

    Direct Call Sites

    • File: middleware/auth.py
      • Line: 42
      • Context: def process_request(self, req):
      • Snippet: user_id = verify_session_token(req.headers.get('Authorization'))
    • File: api/v1/endpoints.py
      • Line: 115
      • Context: async def get_user_profile(token: str):
      • Snippet: session = await verify_session_token(token)

    Recommendations

    1. Deprecation Strategy: Rename the internal implementation but keep verify_session_token as a deprecated wrapper to avoid breaking api/v1/endpoints.py.
    2. Regression Testing: Ensure tests/test_auth.py is updated and executed, as it contains direct mocks of this symbol.
    3. Middleware Update: The middleware component requires a synchronous update to the new signature to prevent request-level failures.

    Next steps

    • Update the call sites in middleware/auth.py and api/v1/endpoints.py.
    • Run git_semantic_blame on the function to identify the primary author for a peer review.
    • Execute the test suite in tests/test_auth.py after applying changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Modifying shared functions without understanding downstream impact leads to regressions. This skill provides an MCP server for offline Git and AST intelligence, allowing agents to perform topological impact analysis and semantic blame directly on local repositories.

    What it does

    • Calculate blast radius by identifying all direct callers and impacted files for a specific function or class.
    • Perform semantic blame using AST-scoped analysis to find the primary author and original commit intent for a symbol.
    • Identify churn hotspots by ranking files based on commit frequency and modification velocity to assess technical debt.
    • Summarize working trees with token-bounded diffs that prevent context window overflow during status checks.
    • Extract commit archaeology to retrieve chronological history and author rationale for specific file paths.

    How it works

    1. Initialize the server by adding the gitarchaeologist configuration to your MCP client settings.
    2. Run impact analysis using git_blast_radius on any symbol before starting a refactor.
    3. Inspect code history via git_semantic_blame to understand why a specific block was implemented.
    4. Monitor repository health with git_churn_hotspots to find high-risk modules.

    Frameworks & tools

    Built for Python environments. Compatible with any standard MCP client including Claude Code, Cursor, Windsurf, and GitHub Copilot.

    Why this beats prompting it yourself

    Standard agents rely on file-by-file reading which misses hidden downstream dependencies and blows through token limits. This skill uses native Git tree access and AST parsing to deliver precise impact maps without sending your code to a third-party embedding service.

    Use cases

    • Pre-refactor risk assessment to determine if changing a signature requires updates in 5 files or 50.
    • Legacy code discovery to find the original author and commit message for undocumented modules.
    • Context-aware status checks to see staged changes without flooding the prompt with 5000 lines of diff.
    • Air-gapped development requiring deep code intelligence without network-based indexing.

    Known limitations

    Operations are strictly read-only and cannot perform commits or checkouts. Analysis is performed on the local .git tree only.

    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 buying a skill.

    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

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Read Files
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    Unlike basic 'git diff' commands, this skill uses Abstract Syntax Tree (AST) parsing to map actual dependencies between functions and classes, ensuring you don't miss hidden downstream impacts that simple text searches might overlook.

    This MCP server is designed for any standard-compliant client, including Claude Code, Cursor, Windsurf, and GitHub Copilot, provided they support the Model Context Protocol.

    No, this skill operates entirely on your local machine using your existing .git tree and AST parsing, making it ideal for secure or air-gapped environments where you cannot upload code to external indexing services.

    The server is strictly read-only; it is designed to analyze code, calculate churn, and retrieve history, but it cannot perform commits, checkouts, or any operations that modify your repository state.

    Standard diffs can easily exceed an LLM's context window; this skill uses token-bounded summaries to provide the agent with the most relevant change data without flooding the prompt with unnecessary lines of code.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free