📊
DataPython

Codebase Inspection

by HezaoHezao

Codebase Inspection is a Data skill for Claude Code, published by HezaoHezao in poirot.

187 stars9 forkson HezaoHezao/poirotAdded 2026/08/12+50% in starsRepository updated 2026/07/28
agentagent-memoryagent-skillagent-skillsagentic-aiagentsai-agentai-agentsai-codingmemorymemory-systemmulti-agent
Install in seconds
Install Codebase Inspection
Copy Codebase Inspection into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/HezaoHezao/poirot/tree/master/poirot/backend/agents/skill/builtin_skills/software-development/codebase-inspection ~/.claude/skills/codebase-inspection

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/HezaoHezao/poirot.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
poirot/backend/agents/skill/builtin_skills/software-development/codebase-inspection/SKILL.md in HezaoHezao/poirot
Installs to
~/.claude/skills/codebase-inspection
Collection
One of 37 skills cataloged from this repository
Category
Data668 skills

What Codebase Inspection does

Codebase Inspection analyzes a repository for lines of code, language breakdown, file counts, and code-vs-comment ratios using pygount. Use it when you need a quick read on codebase size or composition.

Codebase Inspection is cataloged under Data on DirSkills. Codebase Inspection comes from a repository tagged agent, agent-memory, agent-skill, agent-skills and agentic-ai.

Documentation

README

Codebase Inspection

Analyze repositories for lines of code, language breakdown, file counts, and code-vs-comment ratios using pygount.

When to Use

  • User asks for LOC (lines of code) count
  • User wants a language breakdown of a repo
  • User asks about codebase size or composition
  • User wants code-vs-comment ratios
  • General "how big is this repo" questions

Prerequisites

pip install pygount

1. Basic Summary (Most Common)

cd /path/to/repo
pygount --format=summary \
  --folders-to-skip=".git,node_modules,venv,.venv,__pycache__,.cache,dist,build,.next,.tox,.eggs,*.egg-info" \
  .

IMPORTANT: Always use --folders-to-skip to exclude dependency/build directories, otherwise pygount will crawl them and take a very long time.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Codebase Inspection

  • What else does HezaoHezao publish alongside Codebase Inspection?

    Codebase Inspection is one of 37 skills that DirSkills catalogs from HezaoHezao/poirot, the repository it ships in. Its siblings there include Academic Paper Review, ArXiv Research and Architecture Diagram. Each one is a separate skill with its own page in this directory, installs the same way Codebase Inspection does, and is maintained by HezaoHezao in that same repository. The rest of the collection is listed on the HezaoHezao/poirot page.

  • How does Codebase Inspection compare to other Data skills?

    Codebase Inspection ranks #615 by stars among the 668 Data skills in this catalog. The most-starred ones next to it are Benchmark Methodology, Jupyter Notebook and Solana. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Codebase Inspection against them. Open each page to compare what they document and how they install.