codebase-inspection

Count lines and language composition in a codebase using pygount.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/KarlinskyS/hermesSkills --skill codebase-inspection-karlinskys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/KarlinskyS/hermesSkills/tree/main/github/codebase-inspection
Command: npx skills add https://github.com/KarlinskyS/hermesSkills --skill codebase-inspection-karlinskys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users need quick insight into the size, language composition, and comment‑to‑code ratios of a code repository without manually counting lines.

Core Features & Use Cases

  • Generates a full language breakdown with file counts, code lines, and comment lines using pygount.
  • Allows filtering by specific programming languages or file suffixes.
  • Provides JSON and summary table outputs for easy integration into reports or automated pipelines.
  • Offers guidance on excluding large dependency directories to keep analysis fast.

Quick Start

Ask the skill to provide a codebase summary of the repository at /path/to/repo using pygount.

Frequently Asked Questions about codebase-inspection

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

FAQPage Schema
How do I get lines of code count and language breakdown for a repository?

To get lines of code count and language breakdown, use this skill to run pygount on your repository path. It generates a full language composition summary including file counts, code lines, and comment lines.

Can I analyze code-vs-comment ratios for a specific programming language?

Yes, you can analyze code-vs-comment ratios for a specific programming language. The skill allows filtering by specific programming languages or file suffixes to isolate your desired code metrics.

Do I need pygount installed to count code lines in my codebase?

Yes, you need the pygount command-line tool installed to count code lines. The skill requires pygount and direct access to the repository files to perform the codebase analysis.

How do I exclude large dependency directories when analyzing codebase size?

To exclude large dependency directories when analyzing codebase size, follow the skill's guidance on filtering out specific folders. This keeps your repository analysis fast and focused on source code.

What is the best way to export codebase metrics for automated pipelines?

The best way to export codebase metrics for automated pipelines is to use the skill's JSON output format. It provides JSON and summary table outputs for easy integration into reports or automated pipelines.