codebase-inspection
Inspect codebases w/ pygount: LOC, languages, ratios.
Skill by clowlove
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clowlove-codebase-inspection
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/codebase-inspection
What's inside
- Skill name
codebase-inspection- Description
- Inspect codebases w/ pygount: LOC, languages, ratios. Also: remote GitHub repo analysis via gh CLI API.
- License
- MIT
- Instructions
- 146 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- skill.json
SKILL.md (first lines)
# 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
```bash
pip install --break-system-packages pygount 2>/dev/null || pip install pygount
```
## 1. Basic Summary (Most Common)
Get a full language breakdown with file counts, code lines, and comment lines:
```bash
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 or hang.
## 2. Common Folder Exclusions
Adjust based on the project type:
```bash
# Python projects
--folders-to-skip=".git,venv,.venv,__pycache__,.cache,dist,build,.tox,.eggs,.mypy_cache"
# JavaScript/TypeScript projects
--folders-to-skip=".git,node_modules,dist,build,.next,.cache,.turbo,coverage"
# General catch-all
--folders-to-skip=".git,node_modules,venv,.venv,__pycache__,.cache,dist,build,.next,.tox,vendor,third_party"
```
## 3. Filter by Specific Language
```bash
# Only count Python files
pygount --suffix=py --format=summary .
# Only count Python and YAML
pygount --suffix=py,yaml,yml --format=summary .
```
## 4. Detailed File-by-File Output
```bash
# Default format shows per-file breakdown
pygount --folders-to-skip=".git,node_modules,venv" .
# Sort by code lines (pipe through sort)
pygount --folders-to-skip=".git,node_modules,venv" . | sort -t$'\t' -k1 -nr | head -20
```
## 5. Output Formats
```bash
# Summary table (default recommendation)
pygount --format=summary .
# JSON output for programmatic use
pygount --format=json .
# Pipe-friendly: Language, file count, code, docs, empty, string
pygount --format=summary . 2>/dev/null
```
## 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.
```bash
# Repo overview (stars, forks, language, license, description)
gh repo view owner/repo --json name,description,stargazerCount,forkCount,primaryLanguage,createdAt,updatedAt,licenseInfo,homepageUrl
# List top-level files and directories
gh api repos/owner/repo/contents --jq '.[] | {name, type, size}'
# List files in a subdirectory
gh api repos/owner/repo/contents/path/to/dir --jq '.[] | {name, type, size}'
# Read a specific file (returns base64-encoded content)
gh api repos/owner/repo/contents/README.md --jq '.content' | base64 -d
# Read the first N lines of any file
gh api repos/owner/repo/contents/path/to/file.md --jq '.content' | base64 -d | head -100
# Count files by extension in a directory
gh api repos/owner/repo/contents/src --jq '[.[] | .name | split(".")[-1]] | group_by(.) | map({ext: .[0], count: length})'
# Check contributorsFrom clowlove/Hermes-House, MIT.
More from clowlove/Hermes-House
- 0.544score
engineering-ai-data-remediation-engineer
clowlove
自愈数据管道专家——使用气隙隔离的本地 SLM 和语义聚类,自动检测、分类和修复大规模数据异常。专注于修复层:拦截坏数据、通过 Ollama 生成确定性修复逻辑,并保证零数据丢失。不是通用数据工程师——而是当你的数据出了问题且管道不能停的时候,出手的外科手术级专家。
SkillCFreshness: C★ 14Claude Code +9 - 0.542score
defuddle
clowlove
Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens.
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
design-ui-designer
clowlove
精通视觉设计系统、组件库和像素级界面创建的 UI 设计专家。创建美观、一致、无障碍的用户界面,增强用户体验并体现品牌形象
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
engineering-ai-engineer
clowlove
精通机器学习模型开发与部署的 AI 工程专家,擅长从数据处理到模型上线的全链路工程化,专注构建可靠、可扩展的 AI 系统。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
academic-study-planner
clowlove
面向中国考生和终身学习者的个性化学习规划专家,精通考研、考公、司法考试、CPA 等重大考试的备考策略,擅长运用费曼学习法、艾宾浩斯遗忘曲线、番茄钟等科学方法,帮助学习者制定高效的学习计划并持续优化。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
compliance-auditor
clowlove
专业技术合规审计师,擅长 SOC 2、ISO 27001、HIPAA 和 PCI-DSS 审计——从就绪评估、证据收集到认证全流程。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
blender-addon-engineer
clowlove
Blender 工具专家——构建 Python 插件、资源验证器、导出工具和管线自动化,把重复的 DCC 工作变成可靠的一键流程
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
academic-geographer
clowlove
自然地理与人文地理、气候系统、制图学和空间分析专家——构建地理上连贯自洽的世界,使地形、气候、资源和聚落模式在科学上合理
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
accounts-payable-agent
clowlove
自主支付处理专家,负责执行供应商付款、承包商发票和定期账单,支持加密货币、法币、稳定币等多种支付通道,通过 MCP 与 AI 智能体工作流集成。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
corporate-training-designer
clowlove
专注企业培训体系搭建与课程开发的专家,精通培训需求分析、教学设计方法论、混合式学习方案设计、内训师培养、领导力发展项目以及培训效果评估与持续优化。
SkillCFreshness: C★ 14Claude Code +9 - 0.539score
ai-code-review
clowlove
AI-powered code review with security scanning, performance analysis, and best practices checking.
SkillCFreshness: C★ 14Claude Code +9 - 0.539score
custom-openai-provider
clowlove
Configure any OpenAI-compatible API as a Hermes model provider — NVIDIA NIM, Together AI, Fireworks, Groq, local vLLM/Ollama, or any custom endpoint.
SkillCFreshness: C★ 14Claude Code +9
Signals
- Stars
- 14
- Forks
- 4
- Open issues
- 403
- Last commit (this folder)
- May 29, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/clowlove/Hermes-House
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from clowlove
- 0.544score
engineering-ai-data-remediation-engineer
clowlove
自愈数据管道专家——使用气隙隔离的本地 SLM 和语义聚类,自动检测、分类和修复大规模数据异常。专注于修复层:拦截坏数据、通过 Ollama 生成确定性修复逻辑,并保证零数据丢失。不是通用数据工程师——而是当你的数据出了问题且管道不能停的时候,出手的外科手术级专家。
SkillCFreshness: C★ 14Claude Code +9 - 0.542score
defuddle
clowlove
Extract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens.
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
corporate-training-designer
clowlove
专注企业培训体系搭建与课程开发的专家,精通培训需求分析、教学设计方法论、混合式学习方案设计、内训师培养、领导力发展项目以及培训效果评估与持续优化。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
accounts-payable-agent
clowlove
自主支付处理专家,负责执行供应商付款、承包商发票和定期账单,支持加密货币、法币、稳定币等多种支付通道,通过 MCP 与 AI 智能体工作流集成。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
academic-study-planner
clowlove
面向中国考生和终身学习者的个性化学习规划专家,精通考研、考公、司法考试、CPA 等重大考试的备考策略,擅长运用费曼学习法、艾宾浩斯遗忘曲线、番茄钟等科学方法,帮助学习者制定高效的学习计划并持续优化。
SkillCFreshness: C★ 14Claude Code +9 - 0.541score
academic-geographer
clowlove
自然地理与人文地理、气候系统、制图学和空间分析专家——构建地理上连贯自洽的世界,使地形、气候、资源和聚落模式在科学上合理
SkillCFreshness: C★ 14Claude Code +9
Cite this page
codebase-inspection skill. Agent Mart. https://agentmart.dev/skills/clowlove-codebase-inspection (last updated 2026-10-24)