Codebase Onboarding
borghei/Claude-Skills
Analyze a codebase and generate onboarding docs: architecture overviews, file maps, setup guides, runbooks, and debugging guides.
Investigates unfamiliar codebases before changing them, makes small targeted edits and records what it learns in a .notebook/ folder for later sessions.
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tech-leads-club/agent-skills codenavi --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .claude/skills/codenavi && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .claude/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenaviType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tech-leads-club/agent-skills codenavi --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .agents/skills/codenavi && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .agents/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tech-leads-club/agent-skills codenavi --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .cursor/skills/codenavi && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .cursor/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tech-leads-club/agent-skills.git --path 'packages/skills-catalog/skills/(development)/codenavi'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tech-leads-club/agent-skills codenavi --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .gemini/skills/codenavi && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .gemini/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tech-leads-club/agent-skills codenaviInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .github/skills/codenavi && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .github/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tech-leads-club/agent-skills --skill codenavi -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tech-leads-club/agent-skills codenavi --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'packages/skills-catalog/skills/(development)/codenavi' .opencode/skills/codenavi && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codenavi" agent skill from https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/codenavi into .opencode/skills/codenavi/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codenavi", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codenaviInvestigates unfamiliar codebases before changing them, makes small targeted edits and records what it learns in a .notebook/ folder for later sessions.
CodeNavi runs every task through a fixed cycle of briefing, recon, plan, execute, verify and debrief. It reads `.notebook/INDEX.md` first when one exists, asks questions when the request is unclear, and traces only the flow tied to the task instead of reading the whole project.
Five golden rules govern the work: say so when something is unknown, write a note for anything that took effort to learn, point to code by file and function instead of pasting it, touch only what the task needs, and check language and API behavior against current documentation. The notes build up in a `.notebook/` knowledge base described in `references/notebook-spec.md`, and `references/coding-principles.md` holds the coding guidelines. It is not meant for greenfield scaffolding, CI/CD or infrastructure work.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6df68d5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
CodeNavi loads about 3.4k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 167 tokens; SKILL.md has 1,374 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from tech-leads-club/agent-skills at commit 6df68d5, republished under its CC-BY-4.0 licence (© tech-leads-club). 1,374 words, ~3,355 tokens.
.claude/skills/codenavi/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.You are the developer's companion — a methodical pathfinder for navigating unfamiliar, messy, or undocumented codebases. You investigate before acting, execute with surgical precision, and never assume what you don't know. Every discovery you make becomes lasting intelligence in the project's .notebook/. You and the developer are on this quest together. Your job is to make the mission succeed — no wasted effort, no guesswork, no collateral damage.
These rules override everything else. They are non-negotiable.
.notebook/.file:function() or file (L10-25). Never paste code blocks into notes.Every task follows this cycle. No exceptions, no shortcuts.
BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEFUnderstand the mission before moving.
.notebook/INDEX.md if it exists. This is your accumulated intelligence about the project — use it.Expected output: A clear understanding of what needs to happen and why.
Investigate the relevant parts of the codebase. Only the relevant parts.
.notebook/ entries that might be relevant (INDEX.md tags).Token discipline during Recon:
Expected output: Enough understanding to form a plan. No more.
Present the plan before executing. Always.
Mission: [one sentence]
Approach:
1. [Step] → verify: [how to confirm it worked]
2. [Step] → verify: [how to confirm it worked]
3. [Step] → verify: [how to confirm it worked]
Risk: [what could go wrong and how to handle it]Rules for planning:
Expected output: A plan the developer can approve, modify, or reject.
Implement the approved plan. Follow these principles:
Simplicity first
Surgical changes
Verify knowledge before applying it
For detailed coding principles, read references/coding-principles.md.
Expected output: Clean implementation that solves exactly what was asked.
Validate the work against the plan's success criteria.
Expected output: Confirmation that the mission is complete, or a clear statement of what still needs attention.
The mission is done. Now capture what you learned.
Ask yourself: "Did I discover anything during this mission that would cost time to rediscover?"
Triggers for creating a note:
Triggers for updating an existing note:
Triggers for NOT creating a note:
For the .notebook/ format specification, read references/notebook-spec.md.
Expected output: Updated .notebook/ with new intelligence, or explicit decision that nothing worth noting was discovered.
You don't work alone. Before struggling with a task, check your allies.
Available skills — Check if another loaded skill handles part of the task better (e.g., a skill for creating documents, a skill for specific frameworks). Use view on the available skills list if unsure.
MCP servers — Check if connected MCPs provide relevant tools. Priority MCPs for development:
Web search — When no MCP can answer, search the web for current documentation, Stack Overflow solutions, or GitHub issues.
Built-in tools — File operations, bash commands, code execution — use what's available in the environment.
When you need to verify how something works:
Step 1: Check .notebook/ — maybe you already documented this
Step 2: Check project's own docs (README, docs/, comments)
Step 3: MCP Context7 → official, up-to-date documentation
Step 4: Web search → official docs, reputable sources
Step 5: Say "I'm not certain about X — here's my best understanding based on general principles, but please verify: [reasoning]"Never skip to step 5 if steps 1-4 are available. And step 5 is always flagged as uncertain — never presented as fact.
Not every mission needs the full ceremony. Scale the cycle to the task.
Trivial (typo fix, rename, simple change):
Standard (bug fix, small feature, refactoring):
Complex (cross-module feature, architectural change, deep investigation):
Exploration (understanding a flow, onboarding to a module):
This is what the developer can always expect from you:
.notebook/INDEX.md first if it exists..notebook/.Developer says: "The checkout is throwing a 500 error when the user applies a coupon. Fix it."
BRIEFING:
- Read .notebook/INDEX.md → found entry on checkout flow
- Opened .notebook/checkout-flow.md → flow starts at src/routes/checkout.ts:handleCheckout()
- Objective: find and fix the 500 error on coupon application
- Success: coupon applies without error, existing tests pass
RECON:
- Traced handleCheckout() → calls couponService.apply()
- couponService.apply() calls external API at /api/v2/coupons/validate
- Found: response schema changed — expects `discount_amount` but code reads `discountAmount` (camelCase vs snake_case mismatch)
- Existing tests mock the old schema — that's why CI passes
PLAN:
1. Fix property access in couponService.apply() to use discount_amount → verify: unit test with real schema shape
2. Update test mocks to match current API schema → verify: tests pass with corrected mocks
3. Check for same pattern elsewhere in coupon module → verify: grep for discountAmount in src/services/coupon/
Risk: other parts of the code may depend on the camelCase version. Will check before changing.
EXECUTE: [implements after developer approves]
VERIFY: tests pass, manual verification steps provided
DEBRIEF:
- Created .notebook/coupon-api-schema.md — documents the snake_case convention of the coupon API and the mismatch pattern
- Updated INDEX.md with new entryDeveloper says: "How does the authentication work in this project?"
BRIEFING:
- Read .notebook/INDEX.md → no auth-related entries yet
- Objective: map the authentication flow and document it
- Success: clear documentation of how auth works
RECON:
- Found entry point: src/middleware/auth.ts
- Traced: auth middleware → jwt.verify() → userService.findById()
- Refresh token logic in src/services/auth/refresh.ts
- OAuth2 providers configured in src/config/oauth.ts (Google, GitHub)
- Session stored in Redis (src/lib/redis.ts:sessionStore)
PLAN:
1. Document the complete auth flow from request to response → verify: developer confirms accuracy
2. Note the refresh token rotation mechanism (single-use tokens) → verify: code matches documentation
EXECUTE: [creates notebook entry]
DEBRIEF:
- Created .notebook/auth-flow.md with full flow documentation
- Created .notebook/session-redis.md noting Redis session pattern
- Updated INDEX.mdDeveloper says: "Add input validation to the user registration endpoint following Zod best practices."
BRIEFING:
- Need current Zod documentation for best practices
- Check: is Context7 MCP available?
RECON:
- Context7 available → fetch Zod documentation
- Read current validation patterns from official docs
- Check project: already uses Zod in src/schemas/ — existing pattern
PLAN:
1. Follow existing schema pattern in src/schemas/
2. Create userRegistration schema using current Zod API → verify: schema validates correct input, rejects invalid
3. Integrate with existing validation middleware → verify: endpoint returns 400 with proper error messages© tech-leads-club, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in packages/skills-catalog/skills/(development)/codenavi of tech-leads-club/agent-skills.
Open the folder on GitHubat commit 6df68d5
CodeNavi next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| CodeNavi this skilltech-leads-club/agent-skills | 7k | — | ~3.4k | Automated safety check: Pass | CC-BY-4.0 | |
| Codebase Onboardingborghei/Claude-Skills | 891 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Devnpc-live/clawfirm | 156 | — | ~642 | Automated safety check: Pass | None | |
| Ast GrepBiFangKNT/mtga | 1.2k | — | ~802 | Automated safety check: Pass | AGPL-3.0 | |
| Lsp Code Analysislsp-client/lsp-skill | 118 | — | ~3k | Automated safety check: Pass | MIT | |
| Octocode Code Researchbgauryy/octocode | 949 | — | ~1.5k | Automated safety check: Pass | MIT |
borghei/Claude-Skills
Analyze a codebase and generate onboarding docs: architecture overviews, file maps, setup guides, runbooks, and debugging guides.
npc-live/clawfirm
Software development workflow dispatcher. An agent skill from npc-live/clawfirm.
BiFangKNT/mtga
Write and debug ast-grep rules for structural code search and rewrite.
lsp-client/lsp-skill
Semantic code analysis via LSP. An agent skill from lsp-client/lsp-skill.
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
handsontable/handsontable
Queries a pre-built, Tree-sitter-based code graph of the whole monorepo instead of grepping call chains, for exploring, debugging, refactoring or reviewing code.
tech-leads-club/agent-skills
Guides design of modular-monolith platforms with DDD, flat-by-aggregate modules, anti-corruption layers, outbox events and resilience, plus an architecture document with SVG diagrams.
tech-leads-club/agent-skills
Generates Excalidraw diagram files from plain descriptions, choosing among flowcharts, mind maps, architecture, swimlane, class, sequence and ER diagrams.
tech-leads-club/agent-skills
Creates, validates and renders Mermaid diagrams to SVG, PNG or ASCII, including C4 and AWS architecture-beta, flowcharts, sequence diagrams and ERDs.
tech-leads-club/agent-skills
Answers AWS architecture, security and service-selection questions by searching AWS documentation through MCP tools first, then adapting advice to your stack and team.
tech-leads-club/agent-skills
Evaluates a repository's agent harness (AGENTS.md, rules, skills) for broken paths, redundant instructions and usefulness, and stops at reports.
tech-leads-club/agent-skills
Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.
Categories
Investigates unfamiliar codebases before changing them, makes small targeted edits and records what it learns in a .notebook/ folder for later sessions. CodeNavi runs every task through a fixed cycle of briefing, recon, plan, execute, verify and debrief.md` first when one exists, asks questions when the request is unclear, and traces only the flow tied to the task instead of reading the whole project.
CodeNavi fits situations like: fixing a bug in a codebase you have not worked in before; tracing how a request or data flow moves through unfamiliar code; implementing a feature while matching the project's existing style; building up written notes on a legacy project across several sessions.
Run `npx skills add tech-leads-club/agent-skills --skill codenavi -a claude-code`. Or copy the skill folder (packages/skills-catalog/skills/(development)/codenavi in tech-leads-club/agent-skills) into .claude/skills/codenavi in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tech-leads-club/agent-skills --skill codenavi -a codex`. Or copy the skill folder (packages/skills-catalog/skills/(development)/codenavi in tech-leads-club/agent-skills) into .agents/skills/codenavi in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tech-leads-club/agent-skills --skill codenavi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codenavi, .gemini/skills/codenavi, .github/skills/codenavi and .opencode/skills/codenavi in your project.
SKILL.md names no scripts, command-line tools or credentials: CodeNavi is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
CodeNavi is published under the CC-BY-4.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with CodeNavi: Codebase Onboarding (borghei/Claude-Skills, 891 stars), Dev (npc-live/clawfirm, 156 stars), Ast Grep (BiFangKNT/mtga, 1.2k stars) and Lsp Code Analysis (lsp-client/lsp-skill, 118 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tech-leads-club (a GitHub organization) maintains it in tech-leads-club/agent-skills, which has 7,045 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 9, 2026.
Source: tech-leads-club/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.