codebase-inspection

Count lines of code and generate language breakdowns for a repository.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill codebase-inspection-vyre-studios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/VYRE-Studios/Windows-Agentic-Framework/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/VYRE-Studios/Windows-Agentic-Framework --skill codebase-inspection-vyre-studios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers and analysts need fast insight into the size, language composition, and comment density of a codebase, but manual counting is tedious and error‑prone.

Core Features & Use Cases

  • LOC counting: Calculates total lines of code, comment lines, and empty lines across the repository.
  • Language breakdown: Reports file counts and code lines per programming language.
  • Ratio analysis: Shows code‑to‑comment ratios to assess documentation quality.
  • Use case: Quickly evaluate a new project's scale before onboarding or estimate effort for a refactor.

Quick Start

Run the codebase‑inspection skill to obtain a summary of lines of code, file counts, and language distribution for the target repository.

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 get a language breakdown for a repository?

To count lines of code and get a language breakdown, you can use this skill to analyze repositories, reporting total code lines, comment lines, empty lines, and file counts per programming language.

Can I check the code-to-comment ratio to assess documentation quality in my project?

Yes, you can check the code-to-comment ratio to assess documentation quality by analyzing the repository to compare the total lines of code against the total comment lines across multiple languages.

Do I need pygount installed to analyze codebase metrics like LOC and file counts?

Yes, you need the pygount command-line tool installed and access to the repository's file system to generate codebase metrics like LOC and language breakdowns.

What is the best way to evaluate a project's scale before onboarding or refactoring?

The best way to evaluate a project's scale before onboarding or refactoring is to generate a summary of lines of code, file counts, and language distribution to quickly assess overall size and composition.

Does this code analysis tool work with projects across multiple programming languages?

Yes, this code analysis tool works with projects across multiple languages, generating a language breakdown that reports file counts and code lines per specific programming language found in the repository.

Why does manual LOC counting fail for large codebases with mixed language files?

Manual LOC counting fails for large codebases because it is tedious and error-prone, whereas automated codebase inspection quickly calculates total lines, empty lines, and comment lines across mixed language files.