Help us improve
Share bugs, ideas, or general feedback.
From sanctum
Maps codebase file structure: identifies root and project type, directory layout, file counts by extension, and hotspots like large files. Use before architecture reviews, refactoring, or exploring unfamiliar codebases.
npx claudepluginhub athola/claude-night-market --plugin sanctumHow this skill is triggered — by the user, by Claude, or both
Slash command
/sanctum:file-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Before architecture reviews to understand module boundaries and file organization.
Explores codebases to map structure, detect architecture patterns (MVC, Clean, Hexagonal, feature-based), entry points, dependencies, and tech stacks via bash commands for JS/TS, Python, Go, Rust, PHP.
Counts source lines by file type and auto-detected modules via shell inspection. Handles JS/TS monorepos, Rust/Go/Python workspaces, Java/Kotlin multi-module, full-stack monoliths.
Generates a compact project map listing every file's size, token estimate, and category. Highlights total token cost, heaviest files, and structure breakdown for quick codebase understanding.
Share bugs, ideas, or general feedback.
file-analysis:root-identifiedfile-analysis:structure-mappedfile-analysis:patterns-detectedfile-analysis:hotspots-notedMark each item as complete as you finish the corresponding step.
file-analysis:root-identified)pwd.package.json, Cargo.toml, pyproject.toml, etc.).file-analysis:structure-mapped)tree -L 2 -d or find . -type d -maxdepth 2 to capture the top-level directory layout.src/, lib/, tests/, docs/, scripts/, configs/.file-analysis:patterns-detected)find . -name "*.ext" -not -path "*/.venv/*" -not -path "*/__pycache__/*" -not -path "*/node_modules/*" -not -path "*/.git/*" | wc -l to count files by extension.wc -l $(find . -not -path "*/.venv/*" -not -path "*/__pycache__/*" -not -path "*/node_modules/*" -not -path "*/.git/*" -name "*.py" -o -name "*.rs" | head -20) to sample file sizes.file-analysis:hotspots-noted)find . -type f -exec wc -l {} + | sort -rn | head -10.TodoWrite items are completed with concrete observations.Command not found Ensure all dependencies are installed and in PATH
Permission errors Check file permissions and run with appropriate privileges
Unexpected behavior
Enable verbose logging with --verbose flag