shikharjoshi72-droid

Local Codebase Inspector — AI skill for Claude Code

AI community

A 100% free, offline, zero-cost AI agent skill built with Python AST.

How to install Local Codebase Inspector

This entry records only its repository, not the path inside it, so there is no exact command to give. Open shikharjoshi72-droid/local-codebase-inspector and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Local Codebase Inspector does

A 100% free, offline, zero-cost AI agent skill built with Python AST. Automatically inspects codebases for syntax errors, evaluates docstring coverage, and generates structured markdown documentation for AI agents like Claude Code, Cursor, and Agensi.

Alternatives in AI

  • Skill Seekers Roadmap — Transform Skill Seekers into the easiest way to create Claude AI skills from any knowledge source - documentat 11.1k ★
  • Cartographer — Claude Code plugin that maps and documents codebases of any size using parallel AI subagents 518 ★
  • Codebase Digest — 🗜️ Codebase-digest is your AI-friendly codebase packer and analyzer 375 ★

README

<<<<<<< HEAD

🔍 Local Codebase Inspector (`local-codebase-inspector`)

**100% Free, Zero-Cost, Local AI Agent Skill** for code quality audits and documentation generation. Built using Python's native Abstract Syntax Tree (`ast`) module—runs entirely offline without any external API keys or third-party dependencies.


🌟 Overview

`local-codebase-inspector` is an autonomous AI agent skill packaged for **Agensi.io** and modern AI coding agents (Claude Code, Cursor, Copilot, Antigravity). It inspects any Python codebase locally, extracts architectural and documentation metrics, detects syntax errors and missing docstrings, and produces both machine-readable JSON output for AI reasoning and an auto-generated `AUTO_DOCUMENTATION.md` report.

Key Capabilities

  • ⚡ Pure Standard Library: Zero pip install required. Built with ast, pathlib, json, argparse, and os.
  • 🔒 100% Offline & Private: Zero network calls, zero token costs, no telemetry.
  • 🌳 AST-Powered Analysis: Parses code into an Abstract Syntax Tree to identify functions, async functions, classes, and methods lacking PEP 257 docstrings.
  • 🛑 Syntax & Read Error Detection: Catches unclosed brackets, bad indentation, syntax errors, and file permission/encoding failures with line and column precision.
  • 🚫 Smart Filtering: Automatically skips cache directories, virtual environments, and VCS folders (.git, venv, __pycache__, etc.).
  • 🤖 Dual-Output Mode:
    1. Clean JSON to stdout: Structured output for AI agent consumption and workflow pipelining.
    2. AUTO_DOCUMENTATION.md: Clean, human-readable documentation report written directly to the target directory.

📦 Directory Structure

local-codebase-inspector/
├── scanner.py               # Core inspection & report generation engine
├── skill.json               # Agensi.io skill specification manifest
├── README.md                # Documentation & usage instructions
└── test_project/