codebase-inspection

Analyze codebases with pygount to produce LOC, language breakdown, and file counts.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Monjyu1101/AiDiy2026 --skill codebase-inspection-monjyu1101
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-inspection
Source: https://github.com/Monjyu1101/AiDiy2026/tree/main/backend_hermes/skills/github/codebase-inspection
Command: npx skills add https://github.com/Monjyu1101/AiDiy2026 --skill codebase-inspection-monjyu1101

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze codebases to produce LOC, language breakdown, and file counts.

Core Features & Use Cases

  • Full language breakdown with counts of files, code lines, and comments using pygount.
  • Flexible exclusions to skip dependencies and build directories.
  • Output formats including a summary table and JSON for programmatic use.

Quick Start

Run pygount on the target repository with appropriate folder skips to generate a language and code-metrics report.

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 for a repository, this Skill analyzes codebases using pygount to produce LOC, language distribution, and file counts. It provides a quick metrics snapshot applicable to repositories of any programming language.

Can I exclude dependency folders when analyzing codebase metrics?

Yes, you can exclude dependency folders when analyzing codebase metrics. The Skill implements codebase inspection via pygount with configurable folder exclusions, allowing you to skip dependencies and build directories during the LOC analysis.

What output formats are available for code analysis results?

Available output formats for code analysis results include both a summary table and JSON. These formats allow you to review language breakdowns and file counts visually or use the JSON output for programmatic integration.

Does pygount work for codebases written in any programming language?

Yes, pygount works for codebases written in any programming language. The codebase inspection is applicable to repositories of any language where you need a quick metrics snapshot, size estimates, and language distribution.

What is the best way to get a quick code size estimate for a project?

The best way to get a quick code size estimate for a project is using this Skill to analyze the codebase with pygount. It determines LOC, language breakdown, and file counts, providing fast size estimates and language distribution.

How do I generate a JSON report of code lines and comments for my repository?

To generate a JSON report of code lines and comments for your repository, this Skill uses pygount to analyze codebases and outputs a full language breakdown with counts of files, code lines, and comments in JSON format.