Local Codebase Inspector — AI skill for Claude Code
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 installrequired. Built withast,pathlib,json,argparse, andos. - 🔒 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:
- Clean JSON to
stdout: Structured output for AI agent consumption and workflow pipelining. AUTO_DOCUMENTATION.md: Clean, human-readable documentation report written directly to the target directory.
- Clean JSON to
📦 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/
Related Skills
Generate Rules
An intelligent, zero-dependency Node.js CLI tool that automatically inspects any codebase and generates tailor
Agent Roast
Stops AI coding agents from making the build green by weakening tests, coverage gates or CI. Stop hook for Cla
Source To Prompt Tui
TUI for combining source code files into LLM-ready prompts: tree explorer, syntax preview, token estimation, a
Codebase Detective
AI agent skill: investigate first, modify later. Map codebases, trace cross-file root causes, analyse blast ra
Large Codebase Command
AI Code Agent Taming 2026: Master 15K+ Line Repos Without Context Overflow Errors
Loopcheck
Offline CLI + CI gate that flags AI coding agents stuck in loops (repeated tool calls, A-B ping-pong, repeated
Related Agents
Ast Grep Surgeon
Structural code analysis and surgical refactoring specialist using ast-grep. Use PROACTIVELY for code search,
Ccxt PR Reviewer
End-to-end review of a CCXT pull request. Reads the diff, transpiles and builds in all six languages (TS/JS, P
Frame Inspector
Inspects Shorts Studio frame sheets (analysis overviews, candidate previews, QA contact/cut sheets) and return