codebase-overview
Systematic codebase exploration and architecture mapping.
Skill by lyh843
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lyh843-codebase-overview
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/codebase-overview
What's inside
- Skill name
codebase-overview- Description
- Systematic codebase exploration and architecture mapping.
- License
- MIT
- Instructions
- 278 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (11)
- SKILL.md
- examples-and-errors.md · references/
- exploration-strategies.md · references/
- report-template.md · references/
- statistical-analysis-examples.md · references/
- statistical-metrics-catalog.md · references/
- statistical-phase-details.md · references/
- statistical-three-lenses.md · references/
- cartographer.py · scripts/
- cartographer_omni.py · scripts/
- cartographer_ultimate.py · scripts/
SKILL.md (first lines)
# Codebase Overview Skill Systematic 4-phase codebase exploration that produces an evidence-backed onboarding report. Phases run in strict order — DETECT, EXPLORE, MAP, SUMMARIZE — because later phases depend on context established by earlier ones. This skill accelerates reading the codebase but does not replace it. ## Reference Loading Table | Signal | Load These Files | Why | |---|---|---| | example-driven tasks, errors | `examples-and-errors.md` | Loads detailed guidance from `examples-and-errors.md`. | | language-specific discovery commands per exploration phase | `exploration-strategies.md` | Loads detailed guidance from `exploration-strategies.md`. | | writing the 12-section overview report | `report-template.md` | Loads detailed guidance from `report-template.md`. | | statistical rule discovery, Go pattern analysis, cartographer scripts | `statistical-three-lenses.md`, `statistical-metrics-catalog.md` | Measure-first analysis lenses and 100-metric catalog (from demoted codebase-analyzer). | | statistical analysis worked examples, phase banners, error catalog | `statistical-phase-details.md`, `statistical-analysis-examples.md` | Phase details and real-world analysis workflows (from demoted codebase-analyzer). | ## Instructions Execute all phases autonomously. Verify each gate before advancing. Consult `references/exploration-strategies.md` for language-specific discovery commands. Before starting any exploration, read and follow any `.claude/CLAUDE.md` or `CLAUDE.md` in the repository root because project-specific instructions override default behavior. This is a **read-only** skill — keep all project files unmodified because the goal is observation, not mutation. Likewise, leave application execution and test running to other skills because those are execution concerns outside this skill's scope. For deep domain analysis, route to a specialized agent instead. > See `references/examples-and-errors.md` for worked examples and error handling procedures. ### Sensitive-Files Guardrail Check every file path against this list BEFORE reading because secrets leaked into exploration output are hard to retract and easy to miss. Skip silently without logging the file contents or path. ``` # Secrets and credentials .env, .env.*, *.pem, *.key, credentials.json, secrets.*, *secret*, *credential*, *password* # Authentication tokens token.json, .npmrc, .pypirc # Cloud provider credentials .aws/credentials, .gcloud/, service-account*.json ``` ### Phase 1: DETECT **Goal**: Determine project type, language, framework, and tech stack. **Step 1: Examine root directory** Start from the current working directory because that is the project the user is asking about. ```bash ls -la ``` Identify configuration files that indicate project type: - `package.json` -> Node.js/JavaScript/TypeScript - `go.mod` -> Go - `pyproject.toml`, `requirements.txt`, `setup.py` -> Python - `pom.xml`, `build.gradle` -> Java - `Cargo.toml` -> Rust - See `references/exploration-strategies.md` for complete indicator table Always detect project type before reading source files because framework context changes how you interpret code (e.g., a `models/` directory means something different in Django vs. Express). **Step 2: Read primary configuration** Based on detected type, read the main config file. Preference order: - Python: `pyproject.toml` > `setup.py` > `requirements.txt` - Node.js: `package.json` - Go: `go.mod` Extract: project name, dependencies, language version, build system, scripts/commands. **Step 3: Identify frameworks and tooling** ```bash ls -la manage.py next.config.js nuxt.config.js angular.json 2>/dev/null ls -la Makefile Dockerfile docker-compose.yml 2>/dev/null ls -la .github/workflows/ 2>/dev/null ``` **Step 4: Check for CLAUDE.md** Read any `.claude/CLAUDE.md` or `CLAUDE.md` in the repository root. Follow its instructions throughout remaining phases. **Step 5: Document findings** Use the DETECT Results template from `references/examples-and-errors.md`. **Gate**: Project type identified (language + framework). Tech stack documented. Build/run commands known. Proceed ONLY when gate passes — skipping this gate leads to wrong architectural assumptions downstream. ### Phase 2: EXPLORE **Goal**: Discover entry points, core modules, data models, API surfaces, configuration, and tests. Explore only what is needed for the overview because speculative deep-dives waste tokens without proportional value. Limit to 20 files per category because representative samples are more useful than exhaustive coverage. If a category has more than 20 files, note the total count and state that you examined a representative sample. On explicit user request, deep-dive into specific subsystems, generate architecture diagrams, include full file contents, export findings to a separate file, or analyze dependency vulnerability status. These are off by default because the standard overview does not require them. **Step 1: Find entry points** Use language-specific patterns from `references/exploration-strategies.md`. Read each entry point file to understand application bootstrapping. For any language, look for: - `main` functions or `__main__` modules - Server/app initialization files - CLI entry points declared in config Config files alone are not enough to understand a project because they show dependencies, not architecture — always read entry points and core modules too. **Step 2: Map directory structure** ```bash find . -type d \ -not -path '*/\.*' \ -not -path '*/node_modules/*' \ -not -path '*/venv/*' \ -not -path '*/vendor/*' \ -not -path '*/dist/*' \ -not -path '*/build/*' \ | head -50 ```
From lyh843/AgentSkills, MIT.
More from lyh843/AgentSkills
- 0.552score
codebase-map
lyh843
Generate an interactive, self-contained HTML map of any codebase — a dependency graph of its modules, a zoomable lines-of-code treemap, and stack-specific…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ning-python-scientific-plotting
lyh843
Create, refine, or review scientific figures in Python using the bundled plotting notes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
codebase-summary
lyh843
Generate a structured summary of any codebase — architecture overview, tech stack, module map, and full API inventory with a Mermaid diagram.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
book-to-skill
lyh843
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks…
SkillBFreshness: B★ 1Claude Code +9 - 0.502score
ai-paper-digest
lyh843
Collect and summarize recent AI papers with emphasis on major ML/AI venues, journals, arXiv, and paper-discovery sites.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
grounded-file-qa
lyh843
Read one or more local files, especially PDFs, and answer follow-up questions grounded in those sources.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
battery-status
lyh843
Check the current battery and charging information on this Linux machine, especially when the user asks for charging wattage, battery percentage, charging…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
lecture-note-writer
lyh843
Use when the user wants course notes or study notes written from local slide PDFs, PPTs, or existing markdown notes, especially when the notes should match…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
concept-wiki-html
lyh843
Build a static, local-source-grounded HTML knowledge page from course notes and slides, organized as one big topic with clickable concept nodes and deeper…
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lyh843/AgentSkills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lyh843
- 0.552score
codebase-map
lyh843
Generate an interactive, self-contained HTML map of any codebase — a dependency graph of its modules, a zoomable lines-of-code treemap, and stack-specific…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ning-python-scientific-plotting
lyh843
Create, refine, or review scientific figures in Python using the bundled plotting notes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
codebase-summary
lyh843
Generate a structured summary of any codebase — architecture overview, tech stack, module map, and full API inventory with a Mermaid diagram.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
book-to-skill
lyh843
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks…
SkillBFreshness: B★ 1Claude Code +9 - 0.502score
ai-paper-digest
lyh843
Collect and summarize recent AI papers with emphasis on major ML/AI venues, journals, arXiv, and paper-discovery sites.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
grounded-file-qa
lyh843
Read one or more local files, especially PDFs, and answer follow-up questions grounded in those sources.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
codebase-overview skill. Agent Mart. https://agentmart.dev/skills/lyh843-codebase-overview (last updated 2026-10-24)