codebase-inspection

Analyze software repositories with pygount to calculate lines of code and language distribution.

Updated May 5, 2026
One-click install
npx skills add https://github.com/iani-kuli/harness_bro --skill codebase-inspection-iani-kuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/iani-kuli/harness_bro/tree/main/.claude/skills/ported/codebase-inspection
Command: npx skills add https://github.com/iani-kuli/harness_bro --skill codebase-inspection-iani-kuli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount.

What problem does it solve?

This skill resolves the difficulty of manually auditing large repositories to understand their scale, language composition, and code-to-comment ratios.

Core Features & Use Cases

  • Language Breakdown: Automatically identifies the distribution of programming languages within a project.
  • Metric Analysis: Calculates lines of code (LOC) and distinguishes between executable code and documentation.
  • Use Case: Use this when you need to quickly assess the complexity of a new codebase or generate a summary report for a project audit.

Quick Start

Ask the assistant to analyze the current directory to provide a full breakdown of lines of code and language statistics.

Frequently Asked Questions about codebase-inspection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I count lines of code and analyze language distribution in a repository?

This skill analyzes repository size and metrics by scanning directories with pygount to calculate lines of code, identify language distribution, and measure code-to-comment ratios.

How do I generate a codebase summary report for a project audit?

You can generate a project audit report by running this skill against your directory to output lines of code metrics, language breakdowns, and documentation ratios.

Do I need pygount installed to calculate lines of code in a directory?

Yes, the pygount package must be installed in your environment to perform accurate file-by-file scanning and summary generation for lines of code calculation.

Does this code analysis tool distinguish between executable code and documentation?

Yes, the skill distinguishes between executable code and documentation by calculating documentation ratios to help assess technical debt and project complexity.

Can I use this to assess technical debt across various programming languages?

Yes, the skill supports technical debt assessment across various programming languages by identifying language distribution and calculating code-to-comment ratios.