codebase-inspection

Inspect codebases for lines of code, language composition, and statistics using pygount.

4|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ragnarokhaa/hermes --skill codebase-inspection-ragnarokhaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/ragnarokhaa/hermes/tree/main/hermes-cerul-tech-news-package/hermes-cerul-tech-news-package/hermes-agent/skills/github/codebase-inspection
Command: npx skills add https://github.com/ragnarokhaa/hermes --skill codebase-inspection-ragnarokhaa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of analyzing codebases, providing quick insights into lines of code, language composition, and codebase statistics.

Core Features & Use Cases

  • LOC Counting: Accurately count lines of code across various programming languages.
  • Language Breakdown: Understand the composition of different programming languages in a repository.
  • Codebase Metrics: Gain insights into codebase size, file counts, and code-vs-comment ratios.
  • Use Case: When you need to quickly assess a repository's codebase health or understand its language distribution.

Quick Start

Analyze the codebase located at '/path/to/repo' for LOC and language breakdown using the codebase-inspection skill.

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?

You can analyze a repository's codebase to count lines of code and determine its language composition. This provides quick insights into codebase size, file counts, and the distribution of programming languages used in the project.

What are codebase metrics and when do I need to analyze them?

Codebase metrics include lines of code, language composition, and code-vs-comment ratios. You need to analyze these metrics when you want to quickly assess a repository's codebase health or understand its overall language distribution.

Do I need pygount to analyze codebase statistics and language composition?

Yes, you need pygount to analyze codebase statistics and language composition. The codebase inspection process requires pygount as a dependency to accurately count lines of code across various programming languages.

Can I measure the code-vs-comment ratio for various programming languages in a codebase?

Yes, you can measure the code-vs-comment ratio for various programming languages in a codebase. The analysis provides codebase statistics that help you understand the composition and ratio of code versus comments across the repository.

What is the best way to quickly assess a repository's codebase health?

The best way to quickly assess a repository's codebase health is to inspect it for lines of code, language breakdown, and codebase statistics. This provides immediate insights into codebase size, file counts, and code distribution.