codebase-inspection

Count lines of code and analyze language composition with pygount.

539|39|Updated May 1, 2026
One-click install
npx skills add https://github.com/Tommy-yw/RunbookHermes --skill codebase-inspection-tommy-yw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/Tommy-yw/RunbookHermes/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/Tommy-yw/RunbookHermes --skill codebase-inspection-tommy-yw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Quickly understand the size, composition, and health of your codebase with insightful statistics.

Core Features & Use Cases

  • LOC Counting: Determine the number of lines of code across different programming languages.
  • Language Breakdown: View a breakdown of the languages used in the repository.
  • Codebase Metrics: Gain an overview of file counts, code-to-comment ratios, and more.

Quick Start

Run 'codebase-inspection /path/to/repo' to get a detailed codebase analysis.

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 in a repository by language?

To count lines of code in a repository by language, you can use this skill to run pygount analysis on your target directory, generating a detailed language breakdown and LOC statistics.

What is the best way to get codebase metrics and code-to-comment ratios?

Getting codebase metrics and code-to-comment ratios involves analyzing your repository with pygount to evaluate file counts, language distribution, and overall code composition for insights into codebase size.

Do I need pygount installed to analyze my codebase?

Yes, you need pygount installed to analyze your codebase, as this skill relies on it as a core dependency to perform LOC counting, language breakdowns, and code-vs-comment ratio calculations.

Can I exclude specific files when counting lines of code?

Yes, you can exclude specific files when counting lines of code, as the analysis supports file exclusions to help you focus on relevant source code and ignore non-essential files.

How does codebase inspection work for understanding repository structure?

Codebase inspection for understanding repository structure works by scanning your directories with pygount to instantly deliver detailed statistics on language composition, file counts, and code health.