codebase-inspection

Analyze software repositories with pygount to calculate lines of code, language distribution, and code-to-comment ratios.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Rheasilvia/hermes-desktop --skill codebase-inspection-rheasilvia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/Rheasilvia/hermes-desktop/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/Rheasilvia/hermes-desktop --skill codebase-inspection-rheasilvia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount.

What problem does it solve?

This Skill solves the difficulty of manually auditing large repositories to understand their size, language distribution, and documentation density.

Core Features & Use Cases

  • Language Breakdown: Automatically identify the programming languages present in a repository and their respective file counts.
  • Metric Reporting: Calculate lines of code (LOC) versus comment lines to assess project maturity and documentation quality.
  • Use Case: Use this tool when onboarding to a new project to quickly generate a summary report of the codebase size and composition.

Quick Start

Run the codebase inspection skill on the current directory to generate a summary report of all language and code metrics.

Frequently Asked Questions about codebase-inspection

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

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

To calculate lines of code and language distribution in a repository, you can analyze the codebase to automatically identify programming languages present and their respective file counts using the pygount utility.

What is codebase composition analysis used for?

Codebase composition analysis is used for auditing large repositories to understand their size, language distribution, and documentation density by calculating lines of code versus comment lines.

Do I need pygount installed to analyze codebase metrics?

Yes, you need the pygount package installed in your environment to perform file-system traversal and analyze codebase metrics, as the Skill relies on this dependency to calculate code composition.

Can I assess project documentation quality by measuring code-to-comment ratios?

Yes, you can assess project documentation quality by measuring code-to-comment ratios, as the analysis calculates lines of code versus comment lines to help evaluate project maturity and documentation density.

What is the best way to generate a summary report of codebase size for project onboarding?

The best way to generate a summary report of codebase size for project onboarding is to run an inspection skill on the current directory, which outputs a summary of all language and code metrics.