Static code intelligence for AI-assisted development. Generates a dense CODEBASE.ctx from your source files — no API calls, pure local compute.
# Add to your Claude Code skills
git clone https://github.com/pietrotommasini2022/repo-compassGuides for using api integration skills like repo-compass.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "brace-expansion: brace-expansion: Large numeric range defeats documented `max` DoS protection",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "diff: jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"severity": "low"
},
{
"type": "npm-audit",
"message": "js-yaml: js-yaml has prototype pollution in merge (<<)",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "minimatch: minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern",
"severity": "high"
},
{
"type": "npm-audit",
"message": "mocha: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "nanoid: Predictable results in nanoid generation when given non-integer values",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "serialize-javascript: Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-05-30T17:06:34.327Z",
"npmAuditRan": true,
"pipAuditRan": true
}repo-compass is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by pietrotommasini2022. Static code intelligence for AI-assisted development. Generates a dense CODEBASE.ctx from your source files — no API calls, pure local compute. It has 0 GitHub stars.
repo-compass returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/pietrotommasini2022/repo-compass" and add it to your Claude Code skills directory (see the Installation section above).
repo-compass is primarily written in TypeScript. It is open-source under pietrotommasini2022 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other API Integration skills you can browse and compare side by side. Open the API Integration category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh repo-compass against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
Static code intelligence for AI-assisted development. Run one command, get a dense CODEBASE.ctx file that tells an AI everything it needs to know about your codebase — in under 2000 tokens.
repo-compass scan walks your source files, extracts exports, resolves imports, builds a module dependency graph, and writes CODEBASE.ctx to the repo root. No API calls. No AI. Pure local compute.
src/commands/scan.ts [★3] :: scanCommand:variable
> src/analyzers/entrypoints.ts,src/analyzers/source-files.ts,src/analyzers/graph-builder.ts
src/analyzers/file-analyzer.ts [★4] :: analyzeFile(root:string,relativePath:string):FileAnalysis
> src/types.ts
src/types.ts [★6] :: ExportItem:type | ResolvedImport:type | FileAnalysis:type | ModuleGraph:type | normalizePath(p:string):string
An AI reading this file understands your entire codebase structure — what each module exports, which modules are central (★), and how data flows between them — in a single read.
npm install -g repo-compass
cd your-project
repo-compass scan
Generates CODEBASE.ctx in the current directory. Open it, paste it to any AI, or use the Claude Code skill (see below).
--all Skip confirmation prompt for large repos (>300 files)
The /repo-compass slash command is installed automatically when you install the package globally. No extra setup needed.
In any Claude Code session:
/repo-compass
Claude runs the CLI, reads CODEBASE.ctx, and instantly has full codebase context — without reading individual files or consuming thousands of tokens.
Manual install: if you installed via a local clone or need to reinstall the skill, run
node scripts/postinstall.cjsfrom the package root, or copy.claude/commands/repo-compass.mdto~/.claude/commands/.
Languages: TypeScript, JavaScript (ESM + CJS), Python
Extracts:
module.exports patterns__all__Graph:
.js → .ts NodeNext convention)Project detection:
pnpm-workspace.yaml, package.json workspacessrc/, lib/, app/, pages/, and more__init__.pycli | library | app | unknownAbove 300 files, CODEBASE.ctx switches to compact mode: only core modules (★) get full import/export detail. Leaf files appear as a single line. This keeps the file readable and useful even on large codebases.
You'll be prompted before scanning large repos. Use --all to skip.
A typical 50-file project generates a CODEBASE.ctx of ~1000 tokens. Reading individual source files for the same coverage would cost 20–50×. At 300 files, compact mode keeps output under 6000 tokens while preserving full fidelity for the modules that matter.
MIT