Agent skill

Prismer Codebase Inspection

by Prismer-AI in Prismer-AI/PrismerCloud

Inspect codebases w/ pygount: LOC, languages, ratios. An agent skill from Prismer-AI/PrismerCloud.

MITAuto-check passed

Install Prismer Codebase Inspection

skills CLI
$ npx skills add Prismer-AI/PrismerCloud --skill prismer-codebase-inspection -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Prismer-AI/PrismerCloud prismer-codebase-inspection --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sdk/cloud/catalog/skills/prismer-codebase-inspection .claude/skills/prismer-codebase-inspection && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
prismer-codebase-inspection
GitHub stars
1.6k
Used in
6 other repos
Token cost
~1.2k tokens
SKILL.md length
390 words
Files
3
Skills in repo
88
Repo updated
First seen
Licence
MIT

At a glance

Inspect codebases w/ pygount: LOC, languages, ratios. An agent skill from Prismer-AI/PrismerCloud.

  • Works in 6 steps: Basic Summary (Most Common) → Common Folder Exclusions → Filter by Specific Language → …
  • SKILL.md covers Prismer execution contract, When to Use, Prerequisites and 1. Basic Summary (Most Common), plus 6 more sections
  • Calls python3

What it does

Prismer Codebase Inspection is an agent skill from Prismer-AI/PrismerCloud. Inspect codebases w/ pygount: LOC, languages, ratios.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `NOTICE.md`).

The licence is MIT.

Example prompts

  • “/prismer-codebase-inspection”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Basic Summary (Most Common)
  2. Common Folder Exclusions
  3. Filter by Specific Language
  4. Detailed File-by-File Output
  5. Output Formats
  6. Interpreting Results

What it can do on your machine

Read from SKILL.md and the folder at commit e5d9444. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prismer Codebase Inspection loads about 1.2k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 390 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Prismer-AI/PrismerCloud at commit e5d9444, republished under its MIT licence (© Prismer-AI). 390 words, ~1,230 tokens.

Download SKILL.mdSave it as .claude/skills/prismer-codebase-inspection/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
prismer-codebase-inspection
description
Inspect codebases w/ pygount: LOC, languages, ratios.
scope
coding
version
1.0.0
author
Hermes Agent
license
MIT
platforms
linux, macos, windows
metadata.nativeReplaces
codebase-inspection
metadata.requiresExplicitGrant
true
prerequisites.commands
pygount

Prismer execution contract

This is the uniquely named prismer-codebase-inspection skill, adapted from Hermes. Use the actual tools exposed by the executing host; examples using terminal, process, delegate_task, vision_analyze or browser_* are not tool registrations. Missing dependencies do not hide this skill. Report command startup, version, account/permissions and task-specific live verification separately. Use task-owned artifact paths and existing user authorization; do not change shared accounts, Runtime/provider configuration, global security settings or unrelated work. See NOTICE.md and LICENSE for resource provenance. Runtime availability and upstream-entry suppression are owned by the integration layer.

Codebase Inspection

Create TASK_TOOL_DIR with a task-owned temporary directory before installing. Use the returned venv executable path in all examples, record the resolved version, and never swallow install errors. No system Python modifications. LOC is inventory, not an architecture quality score; exclude generated/mirrored catalogs explicitly.

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
python3 -m venv "$TASK_TOOL_DIR/venv"
"$TASK_TOOL_DIR/venv/bin/python" -m pip install pygount
"$TASK_TOOL_DIR/venv/bin/pygount" --version
# For this shell only, so subsequent pygount examples use this isolated install.
export PATH="$TASK_TOOL_DIR/venv/bin:$PATH"

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"
Show full SKILL.md (153 more words)Show less

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

Pitfalls

  1. Always exclude .git, node_modules, venv — without --folders-to-skip, pygount will crawl everything and may take minutes or hang on large dependency trees.
  2. Markdown shows 0 code lines — pygount classifies all Markdown content as comments, not code. This is expected behavior.
  3. JSON files show low code counts — pygount may count JSON lines conservatively. For accurate JSON line counts, use wc -l directly.
  4. Large monorepos — for very large repos, consider using --suffix to target specific languages rather than scanning everything.

© Prismer-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in sdk/cloud/catalog/skills/prismer-codebase-inspection of Prismer-AI/PrismerCloud.

  • SKILL.md
  • LICENSE
  • NOTICE.md

Open the folder on GitHubat commit e5d9444

Used in 6 other repositories

We found 7 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 6 other GitHub owners. This page covers the copy in Prismer-AI/PrismerCloud, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Prismer Codebase Inspection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Prismer Codebase Inspection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prismer Codebase Inspection this skillPrismer-AI/PrismerCloud1.6k6 repos~1.2kAutomated safety check: PassMIT
Codebase Onboardingaffaan-m/ECC276k3 repos~2kAutomated safety check: PassMIT
Codebase InspectionHezaoHezao/poirot249—~969Automated safety check: PassMIT
Plain Languagethedaviddias/Front-End-Checklist74k—~493Automated safety check: PassMIT
Codebase Onboardingaffaan-m/ECC276k1 repos~1.1kAutomated safety check: PassMIT
Codebase Onboardingaffaan-m/ECC276k—~270Automated safety check: PassMIT

Similar skills

  • Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter CLAUDE.md.

    276k GitHub starsUsed in 3 repos~2k tokens
    DevelopmentAuto-check passed
  • Codebase Inspection

    HezaoHezao/poirot

    Inspect codebases: LOC, languages, ratios via pygount. An agent skill from HezaoHezao/poirot.

    249 GitHub stars~969 tokensUpdated 2 mo ago
    Auto-check passed
  • Plain Language

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Write in plain language.

    74k GitHub stars~493 tokensUpdated 3 days ago
    Writing & ContentAuto-check passed
  • 分析一个陌生的代码库,并生成一个结构化的入门指南,包括架构图、关键入口点、规范和一个起始的CLAUDE.md文件。适用于加入新项目或首次在代码仓库中设置Claude Code时。

    276k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • 不慣れなコードベースを分析し、アーキテクチャマップ、主要なエントリポイント、規約、スターターCLAUDE.mdを含む構造化オンボーディングガイドを生成します。新しいプロジェクトに参加するか、リポでClaude Codeを初めてセットアップする場合に使用します。

    276k GitHub stars~270 tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Node Inspect Debugger

    openclaw/openclaw

    Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.

    392k GitHub starsUsed in 1 repo~894 tokens
    Frontend & DesignAuto-check passed

More from Prismer-AI/PrismerCloud

All 88 skills in this repo
  • Prismer Google Workspace

    Prismer-AI/PrismerCloud

    Gives an agent account-scoped access to Gmail, Calendar, Drive, Contacts, Docs and Sheets through the gws CLI or a bundled Python client.

    1.6k GitHub starsUsed in 3 repos~4.2k tokens
    Auto-check passed
  • Prismer Skill Creator

    Prismer-AI/PrismerCloud

    Walks an agent through creating, importing, editing, validating, testing and publishing Prismer Skills with a fixed workflow and bundled scripts.

    1.6k GitHub stars~2.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Himalaya Email CLI

    Prismer-AI/PrismerCloud

    Operates a mailbox from the terminal with the external Himalaya CLI over IMAP, SMTP, Notmuch or Sendmail, separate from any built-in email gateway adapter.

    1.6k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Prismer Image Generation

    Prismer-AI/PrismerCloud

    Generates one image from a text prompt with a bundled Node.js helper and delivers it once as the attachment to the current Prismer reply.

    1.6k GitHub stars~1.4k tokensUpdated 9 days ago
    Auto-check passed
  • Manim Explainer Videos

    Prismer-AI/PrismerCloud

    Produces 3Blue1Brown-style explainer animations with Manim Community Edition for math, algorithms, equations and architecture diagrams, with planning and rendering references.

    1.6k GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Prismer Role Builder

    Prismer-AI/PrismerCloud

    Creates or updates Prismer role templates from a persona, SOP or job description, and turns a role into a working agent that runs its first task through a bundled script.

    1.6k GitHub stars~2.3k tokensUpdated 9 days ago
    Auto-check: notes

Questions about Prismer Codebase Inspection

What does Prismer Codebase Inspection do?

Inspect codebases w/ pygount: LOC, languages, ratios. An agent skill from Prismer-AI/PrismerCloud. Prismer Codebase Inspection is an agent skill from Prismer-AI/PrismerCloud. Inspect codebases w/ pygount: LOC, languages, ratios.

How do I install Prismer Codebase Inspection in Claude Code?

Run `npx skills add Prismer-AI/PrismerCloud --skill prismer-codebase-inspection -a claude-code`. Or copy the skill folder (sdk/cloud/catalog/skills/prismer-codebase-inspection in Prismer-AI/PrismerCloud) into .claude/skills/prismer-codebase-inspection in your project. Claude Code loads it when a task matches its description.

How do I install Prismer Codebase Inspection in Codex?

Run `npx skills add Prismer-AI/PrismerCloud --skill prismer-codebase-inspection -a codex`. Or copy the skill folder (sdk/cloud/catalog/skills/prismer-codebase-inspection in Prismer-AI/PrismerCloud) into .agents/skills/prismer-codebase-inspection in your project. Codex loads it when a task matches its description.

Can I use Prismer Codebase Inspection in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Prismer-AI/PrismerCloud --skill prismer-codebase-inspection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prismer-codebase-inspection, .gemini/skills/prismer-codebase-inspection, .github/skills/prismer-codebase-inspection and .opencode/skills/prismer-codebase-inspection in your project.

What does Prismer Codebase Inspection need to run?

Going by SKILL.md and its folder, Prismer Codebase Inspection needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Prismer Codebase Inspection access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Prismer Codebase Inspection safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prismer Codebase Inspection use?

Prismer Codebase Inspection is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prismer Codebase Inspection use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prismer Codebase Inspection?

Skills that share tags, products or a category with Prismer Codebase Inspection: Codebase Onboarding (affaan-m/ECC, 276k stars), Codebase Inspection (HezaoHezao/poirot, 249 stars), Plain Language (thedaviddias/Front-End-Checklist, 74k stars) and Codebase Onboarding (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prismer Codebase Inspection?

Prismer-AI (a GitHub organization) maintains it in Prismer-AI/PrismerCloud, which has 1,555 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on September 30, 2026.

Source: Prismer-AI/PrismerCloud on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.