Skip to content

codebase-mapper

A self-maintaining codebase map: atomic docs Claude loads at the start of each session and keeps in sync as the code changes. Any stack; greenfield or existing.

Version: 2.15.8

  • map-codebase: Create a self-maintaining codebase map in .claude/.codebase-info/. Use to map, document, analyze, or onboard a codebase, including a new project.
  • update-codebase-map: Refresh an existing .claude/.codebase-info/ map after code changes. Use for stale codebase or architecture docs; use map-codebase to create one.
  • SessionStart: node "${CLAUDE_PLUGIN_ROOT}/hooks/inject-context.js"
  • SubagentStart (^(?:sidequest-exec.*|general-purpose|codebase-mapper:.writer.)$): node "${CLAUDE_PLUGIN_ROOT}/hooks/inject-context.js"
  • PreToolUse (Skill): node "${CLAUDE_PLUGIN_ROOT}/hooks/inject-context.js"
  • Stop: node "${CLAUDE_PLUGIN_ROOT}/hooks/inject-context.js"
  • UserPromptSubmit: node "${CLAUDE_PLUGIN_ROOT}/hooks/remind.js"
  • None

Source on GitHub