codebase-inspection

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

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zeronx798/demo-hermes-agent --skill codebase-inspection-zeronx798
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/zeronx798/demo-hermes-agent/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/zeronx798/demo-hermes-agent --skill codebase-inspection-zeronx798

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pygount.

What problem does it solve?

This skill eliminates the guesswork involved in understanding a project's scale by providing precise metrics on lines of code, language distribution, and documentation density.

Core Features & Use Cases

  • Language Breakdown: Automatically identify and quantify every programming language present in a repository.
  • Code vs. Comment Analysis: Calculate the ratio of executable code to documentation to assess project maintainability.
  • Use Case: When onboarding to a new repository, use this skill to quickly determine which languages dominate the codebase and how well-documented the logic is.

Quick Start

Run the codebase inspection skill on the current directory to generate a summary report of all language statistics and file counts.

Frequently Asked Questions about codebase-inspection

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

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

You can analyze lines of code and language distribution by running this skill on your directory, which uses pygount to automatically quantify language statistics and code-to-comment ratios.

What is the best way to measure code-to-comment ratios for technical due diligence?

The best way to measure code-to-comment ratios for due diligence is using this skill to calculate the ratio of executable code to documentation, directly assessing project maintainability.

Can I exclude specific folders like build artifacts when calculating codebase metrics?

Yes, you can exclude specific folders when calculating codebase metrics by applying custom folder exclusions to ignore dependency directories and build artifacts during the repository analysis.

Does pygount support identifying all programming languages present in a project?

Yes, pygount supports identifying programming languages by automatically detecting and quantifying every language present in your repository to provide a complete language breakdown.

What codebase metrics are needed for effective repository auditing and onboarding?

Effective repository auditing and onboarding require codebase metrics including total lines of code, language distribution, and documentation density, which this skill generates as a summary report.