prismer-codebase-inspection

prismer-codebase-inspection is a skill for Claude Code, Codex from Prismer-AI/PrismerCloud. It costs 21 tokens per session (1,226 once invoked), scanned A, original, MIT.

A codebase measurement tool that uses pygount to count lines of code, identify programming languages, and separate code from comments.

In plain words
What is it for?
Use it to report line counts, language shares, file counts, and code-versus-comment ratios while excluding generated or mirrored files.
Why use it?
It gives a basic inventory of a repository without treating code size or comment ratios as measures of quality.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to report line counts, language shares, file counts, and code-versus-comment ratios while excluding generated or mirrored files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prismer-ai/prismercloud/prismer-codebase-inspection
About the project

Prismer Cloud is an infrastructure layer for AI agents that provides shared learning, compressed context, persistent memory, collaboration, messaging, tasks, identity, and workspaces. It is for agents and the people building or using long-running agent systems that need information and outcomes to persist across sessions. The catalogue entries provide skills, hooks, agents, instructions, and a plugin for using Prismer Cloud.

Prismer-AI/PrismerCloud · 1,366 stars · on GitHub · prismer.cloud

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Prismer-AI/PrismerCloud --skill prismer-codebase-inspection
Clone the repo
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prismer-codebase-inspection

README.md
[![agentmods](https://agentmods.dev/badge/skills/prismer-ai/prismercloud/prismer-codebase-inspection/github.svg)](https://agentmods.dev/skills/prismer-ai/prismercloud/prismer-codebase-inspection)
Your own site
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/prismer-codebase-inspection"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/prismer-codebase-inspection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prismer-codebase-inspection

Your own site · 80×15
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/prismer-codebase-inspection"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/prismer-codebase-inspection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01226
Opus 5.5 $0.00008 $0.00490
Sonnet 5.5 $0.00004 $0.00245
Haiku 4.5 $0.00002 $0.00123

Measured 2mo ago against content hash c23ef062a490, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prismer-codebase-inspection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sdk/cloud/catalog/skills/prismer-codebase-inspection/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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:

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

Read the full file on GitHub · 142 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 142 lines · 21 tokens per session scan A c23ef062a490

Subscribe to this mod's changes

prismer-codebase-inspection is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,366 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,226 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

prismer-codebase-inspection compared with skills from other repositories

prismer-codebase-inspection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prismer-codebase-inspectionPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA21Claude Code, Codex
memory-intakenhadaututtheky/neural-memorySkill246yesterdayMITA44Claude Code
.claude-pluginnhadaututtheky/neural-memorySkill246yesterdayMITA0Claude Code
recallgrpcer/ownmemSkill4291mo agoApache-2.0A66Claude Code
initgrpcer/ownmemSkill4291mo agoApache-2.0A43Claude Code
performing-container-image-hardeningadriannoes/awesome-agentic-aiSkill1082d agoMITB46Claude Code, Codex
linksee-memorymichielinksee/linksee-memorySkill1614d agoMITA612Claude Code