Help us improve
Share bugs, ideas, or general feedback.
From host-terminal
Expertise in exploring, understanding, and navigating codebases. Use when asked to explore a project, understand architecture, find files, or analyze code structure.
npx claudepluginhub ankitaa186/host-terminal-mcp --plugin host-terminalHow this skill is triggered — by the user, by Claude, or both
Slash command
/host-terminal:codebase-explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert guidance for exploring and understanding codebases.
Systematically explores unfamiliar codebases to build working mental models. Use when onboarding to new projects, understanding legacy code, or figuring out what something does.
Explores project structure, configurations, code patterns, conventions, tests, and dependencies before modifying existing code to understand context and avoid bugs.
Read-only codebase exploration for discovering architecture, patterns, tooling, and dependencies. Use before implementing features, fixes, or refactors to understand existing code, trace symbols, and map files.
Share bugs, ideas, or general feedback.
Expert guidance for exploring and understanding codebases.
# Get directory tree (limit depth)
tree -L 2 -d
# List top-level contents
ls -la
# Check for documentation
ls README* CONTRIBUTING* docs/ doc/
# Identify project type by manifest files
ls package.json pyproject.toml Cargo.toml go.mod pom.xml build.gradle Gemfile
# Entry points
cat main.py src/index.js cmd/main.go
# Configuration
cat config/*.yaml .env.example
# Dependencies
cat package.json requirements.txt Cargo.toml
| File | Project Type | Next Steps |
|---|---|---|
package.json | Node.js | Check scripts, dependencies |
pyproject.toml | Python (modern) | Check [project], [tool.*] |
requirements.txt | Python (legacy) | Check dependencies |
Cargo.toml | Rust | Check [package], [dependencies] |
go.mod | Go | Check module path, dependencies |
pom.xml | Java (Maven) | Check <dependencies> |
build.gradle | Java (Gradle) | Check dependencies block |
Gemfile | Ruby | Check gems |
composer.json | PHP | Check require |
Makefile | C/C++/Generic | Check targets |
# Common entry point names
find . -name "main.*" -o -name "index.*" -o -name "app.*" | head -20
# Scripts directory
ls bin/ scripts/ cmd/
# Config files
find . -name "*.config.*" -o -name "*.yaml" -o -name "*.toml" | grep -v node_modules
# Test directories and files
find . -type d -name "test*" -o -type d -name "__tests__"
find . -name "*test*.py" -o -name "*.test.js" -o -name "*_test.go"
# Common API patterns
grep -r "app\.\(get\|post\|put\|delete\)" --include="*.js" --include="*.ts"
grep -r "@app\.route\|@router" --include="*.py"
grep -r "func.*Handler\|http\.Handle" --include="*.go"
# Python
grep -rn "^def \|^async def \|^class " --include="*.py"
# JavaScript/TypeScript
grep -rn "function \|const .* = \|class " --include="*.js" --include="*.ts"
# Go
grep -rn "^func " --include="*.go"
# Python
grep -rn "^import \|^from .* import" --include="*.py"
# JavaScript
grep -rn "^import \|require(" --include="*.js" --include="*.ts"
# Go
grep -rn "^import" --include="*.go"
grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.py" --include="*.js" --include="*.go"
# NPM
npm ls --depth=0
# Python
pip list
# Cargo
cargo tree --depth=1
# Lines of code by type
find . -name "*.py" | xargs wc -l | tail -1
find . -name "*.js" -not -path "*/node_modules/*" | xargs wc -l | tail -1
# File counts
find . -name "*.py" | wc -l
When exploring a codebase, structure findings as:
📁 Project: {name}
📋 Type: {language} ({framework})
📦 Package Manager: {manager}
## Structure
{tree output, annotated}
## Key Files
- {file}: {purpose}
- {file}: {purpose}
## Dependencies
{key dependencies with versions}
## Entry Points
- {main entry point}
- {API entry if applicable}
## Architecture Notes
{observations about patterns, structure}
.github/workflows/, .gitlab-ci.yml reveal build processdocs/, doc/, wiki, README sections