⚡ PRIMARY SKILL for: 'how does X work', 'investigate', 'analyze architecture', 'trace flow', 'find implementations'. PREREQUISITE: code-search-selector must validate tool choice. Launches codebase-detective with claudemem INDEXED MEMORY.
View on GitHubMadAppGang/claude-code
code-analysis
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/MadAppGang/claude-code/blob/main/plugins/code-analysis/skills/deep-analysis/SKILL.md -a claude-code --skill deep-analysisInstallation paths:
.claude/skills/deep-analysis/# Deep Code Analysis This Skill provides comprehensive codebase investigation capabilities using the codebase-detective agent with semantic search and pattern matching. ## Prerequisites (MANDATORY) ``` ╔══════════════════════════════════════════════════════════════════════════════╗ ║ BEFORE INVOKING THIS SKILL ║ ╠══════════════════════════════════════════════════════════════════════════════╣ ║ ║ ║ 1. INVOKE code-search-selector skill FIRST ║ ║ → Validates tool selection (claudemem vs grep) ║ ║ → Checks if claudemem is indexed ║ ║ → Prevents tool familiarity bias ║ ║ ║ ║ 2. VERIFY claudemem status ║ ║ → Run: claudemem status ║ ║ → If not indexed: claudemem index -y ║ ║ ║ ║ 3. DO NOT start with Read/Glob ║ ║ → Even if file paths are mentioned in the prompt ║ ║ → Semantic search first, Read specific lines after ║ ║ ║ ╚══════════════════════════════════════════════════════════════════════════════╝ ``` ## When to use this Skill Claude should invoke this Skill when: - User asks "how does [feature] work?" - User wants to understand code architecture or patterns - User is debugging and needs to trace code flow - User asks "where is [functionality] implemented?" - User needs to find all usages of a component/service - User wants