codebase-inspection

Analyze codebases to quantify LOC, language distribution, and code-vs-comment ratios.

6|2|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/GregsGreyCode/Logos --skill codebase-inspection-gregsgreycode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/GregsGreyCode/Logos/tree/main/skills/github/codebase-inspection
Command: npx skills add https://github.com/GregsGreyCode/Logos --skill codebase-inspection-gregsgreycode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inspect and analyze codebases to provide LOC counts, language breakdown, and code-vs-comment metrics, helping engineers understand repository size and composition at a glance.

Core Features & Use Cases

  • LOC counting: Generate per-language and overall LOC data with comment ratios.
  • Language breakdown: See language distribution and file counts across the repo.
  • Use Case: Quickly estimate codebase size before refactoring or onboarding new contributors.

Quick Start

Run a metrics report for a target repository path to obtain LOC, language distribution, and code-vs-comment ratios.

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, this Skill analyzes your codebase to quantify LOC, language distribution, and code-vs-comment ratios. It provides per-language counts and overall totals for quick repository audits.

What metrics are included in a codebase LOC analysis?

A codebase LOC analysis includes per-language LOC counts, language distribution, file counts, and code-vs-comment ratios. These metrics help engineers understand repository size and composition at a glance.

Do I need Python and pygount to analyze codebase metrics?

Yes, you need Python and pygount to analyze codebase metrics. The Skill requires pygount to compute per-language counts and overall totals for your software repositories.

Can I exclude specific folders when calculating repository LOC and language distribution?

Yes, you can exclude specific folders when calculating repository LOC and language distribution. The Skill supports configurable folder exclusions to ensure your metrics report accurately reflects your target codebase.

What is the best way to estimate codebase size before refactoring?

The best way to estimate codebase size before refactoring is to run a metrics report for your target repository path. This generates LOC data, language distribution, and code-vs-comment ratios to inform your planning.