codebase-inspection

Summarize codebase statistics with pygount across multiple languages.

1|1|Updated May 9, 2026
One-click install
npx skills add https://github.com/ldzhhxx/Hermes_offline_v2 --skill codebase-inspection-ldzhhxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/ldzhhxx/Hermes_offline_v2/tree/main/hermes-agent/skills/github/codebase-inspection
Command: npx skills add https://github.com/ldzhhxx/Hermes_offline_v2 --skill codebase-inspection-ldzhhxx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a quick overview of a codebase, including LOC counts, language distribution, and file ratios, using pygount.

Core Features & Use Cases

  • Lines of Code Count: Accurately counts lines of code, comment, and blank lines.
  • Language Breakdown: Identifies and breaks down code by programming language.
  • File Metrics: Counts files by type and language for detailed analysis.
  • Use Case: Ideal for developers to get a high-level view of a project's size and composition before delving deeper.

Quick Start

Use the 'codebase-inspection' skill to get a summary of your repository '/path/to/repo'.

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?

To count lines of code and analyze language distribution in a repository, use an automated codebase inspection tool that summarizes code statistics, including blank lines and comments, across multiple programming languages.

What is the best way to get a high-level overview of a project's composition before a deep dive?

The best way to get a high-level overview of a project's composition is to run an automated codebase analysis that provides metrics like file ratios, language breakdown, and total lines of code.

Does pygount work on Linux, macOS, and Windows platforms for codebase audits?

Yes, pygount works on Linux, macOS, and Windows platforms to perform codebase audits and size estimation, providing automated summaries of code statistics across various programming languages.

Can I measure code, comment, and blank line metrics for different file types in my codebase?

You can measure code, comment, and blank line metrics by file type, as the analysis identifies and breaks down code by programming language while counting files for detailed composition analysis.

How do I perform a quick repository size estimation across multiple programming languages?

Perform a quick repository size estimation by running an automated codebase inspection script that calculates lines of code and file ratios, applicable across a variety of languages on major operating systems.