2
    Codebase Graph

    Codebase Graph

    by Fairy Squadmother

    Transform complex repositories into interactive dependency graphs, entry-point maps, and onboarding guides.

    Updated May 2026
    Security scanned
    One-time purchase
    TypeScript (imports

    $25

    · or 125 credits

    One-time purchase

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Generate an interactive D3 visualization of module dependencies
    • Identify circular dependencies and dead code candidates automatically
    • terminal, file_write, file_read automation included
    • Ready for TypeScript (imports
    • Instant install

    See it in action

    A real example of what this skill takes in and produces.

    Sample output

    📦 Entry Points: src/main.ts 🔄 Cycles Detected: src/auth.ts -> src/user.ts -> src/auth.ts ⚠️ Dead Code: src/utils/legacy-formatter.ts (0 inbound refs) 🚀 Core Modules: src/app.ts (Centrality: 0.82) Refactor: Split 'auth.ts' types to break the circular dependency with 'user.ts'.

    About This Skill

    What it does

    The Codebase Graph skill transforms complex, unfamiliar repositories into interactive visual maps and structured onboarding guides. It parses your project's directory structure, imports, and configuration files to build a comprehensive dependency model. Unlike manual inspection, it automatically identifies how data flows through your application, pinpointing where execution starts and where bottlenecks or technical debt reside.

    Why use this skill

    Onboarding a new developer or planning a major refactor can take days of manual code tracing. This skill automates that process by providing a high-fidelity graph that reveals hidden relationships between modules. It goes beyond simple file-tree views by detecting circular dependencies, identifying likely dead code, and ranking modules by their "centrality" to the architecture. It's an essential tool for developers who need to understand a large codebase quickly without getting lost in the weeds.

    Supported tools

    • Languages: Multi-language support including TypeScript, JavaScript, and Python.
    • Parsing: Uses AST-based analysis and framework-native metadata (like package.json) for high accuracy.
    • Visualization: Generates a standalone, interactive D3.js force-directed graph.
    • Reports: Produces detailed Markdown summaries including entry points and refactor suggestions.

    Use Cases

    • Generate an interactive D3 visualization of module dependencies
    • Identify circular dependencies and dead code candidates automatically
    • Identify entry points and core modules for rapid developer onboarding
    • Generate a markdown report with specific refactoring recommendations

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell
    Write Files
    Read Files

    Allowed Hosts

    cdn.jsdelivr.net

    File Scopes

    ./code-graph/**/*
    **/*.js
    **/*.ts
    **/*.py
    **/*.go
    **/*.java
    **/*.rs

    Codebase Graph needs terminal access to run language parsers (esprima for JavaScript/TypeScript, tree-sitter for Python/Go/Java/Rust). These are read-only parsers that extract structural information from source files. File read access allows the skill to scan directories and read source code to analyze imports, exports, class inheritance, and function call dependencies. Only reads files with supported extensions; ignores binary files and node_modules. File write access creates HTML visualization files and markdown summaries in a `./code-graph/` directory. All output files are safe to gitignore. The skill never modifies source code. No browser, network, or environment variable access is required. The generated HTML graph is self-contained and runs locally.

    Compatible agents: - Claude Code - Codex Supported languages: - JavaScript/TypeScript (imports, exports, calls) - Python (imports, class inheritance) - Go (package imports, struct embedding) - Java (imports, class extensions) - Rust (module imports, trait implementations) Output formats: - Interactive HTML graph (D3.js, searchable, zoomable) - Markdown summary report - JSON graph data for custom processing No external API calls. All parsing happens locally.

    Creator

    Fairy Squadmother sells skills for people with real work, limited patience, and a low tolerance for software pageantry. Her skills help creators, founders, freelancers, and practical humans turn repeatable messes into reusable systems. Promptcrud. Taskspawn. Filefog. Launch splatter. Documentation drift. The weird little admin barnacles that attach themselves to anything worth doing. She builds for the moment when you know the process can be better, but you do not have a spare week to go spelunking through your own workflow with a headlamp and a grudge. Clear instructions. Useful defaults. Less performance. More usable machinery. Onward.

    Frequently Asked Questions

    More Premium Skills

    $25