clowlove/hermes-house/codebase-inspection
Claude Code and agent skill by clowlove/hermes-house
- community
Checking that the SKILL.md file is still in the repository.
Inspect codebases w/ pygount: LOC, languages, ratios. Also: remote GitHub repo analysis via gh CLI API.
Install
npx vskill@latest install clowlove/hermes-house/codebase-inspectionSKILL.md
The same SKILL.md was published earlier as clowlove/hermes-house/codebase-inspection.
Codebase Inspection with pygount
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
1. Basic Summary (Most Common)
Get a full language breakdown with file counts, code lines, and comment lines:
IMPORTANT: Always use --folders-to-skip to exclude dependency/build directories, otherwise pygount will crawl them and take a very long time or hang.
2. Common Folder Exclusions
Adjust based on the project type:
3. Filter by Specific Language
4. Detailed File-by-File Output
5. Output Formats
6. Interpreting Results
The summary table columns:
- Language — detected programming language
- Files — number of files of that language
- Code — lines of actual code (executable/declarative)
- Comment — lines that are comments or documentation
- % — percentage of total
Special pseudo-languages:
__empty__— empty files__binary__— binary files (images, compiled, etc.)__generated__— auto-generated files (detected heuristically)__duplicate__— files with identical content__unknown__— unrecognized file types
7. Remote GitHub Repo Analysis (no clone needed)
Use gh api to inspect a repo without cloning it — useful for quick assessment, comparison, or deciding whether to invest time in a deeper look.
Deep Analysis Pattern (for user reports)
When the user asks to "deeply analyze" a GitHub repo:
- Overview:
gh repo viewfor metadata (stars, forks, language, license, dates) - Structure:
gh api repos/.../contentsfor top-level directory layout - README: Read README.md for project purpose and usage
- Key files: Read package.json, setup.py, Cargo.toml, or equivalent for dependencies/tech stack
- Scripts/CI: Check
.github/workflows/,scripts/,Makefilefor build/test patterns - Specific deep dives: Read representative source files from key directories
Report format: Overview → Architecture → Tech Stack → Key Features → Strengths/Weaknesses → Comparison (if relevant).
Pitfalls
- Always exclude .git, node_modules, venv — without
--folders-to-skip, pygount will crawl everything and may take minutes or hang on large dependency trees. - Markdown shows 0 code lines — pygount classifies all Markdown content as comments, not code. This is expected behavior.
- JSON files show low code counts — pygount may count JSON lines conservatively. For accurate JSON line counts, use
wc -ldirectly. - Large monorepos — for very large repos, consider using
--suffixto target specific languages rather than scanning everything.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codebase-inspection/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 4
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/clowlove/hermes-house/codebase-inspection)