SessionStart
01Hook Claude Code
Runs when a session starts, executing sessionstart.sh via bash. From benmarte/codemunch.
Hook Claude Code
Runs when a session starts, executing sessionstart.sh via bash. From benmarte/codemunch.
Hook Claude Code
Runs before the agent uses a tool for Read, Grep and Glob tool calls, executing pretooluse.sh via bash (3 commands). From benmarte/codemunch.
Plugin Claude Code
Plugin marketplace listing 1 plugin: codemunch.
Plugin Claude Code
Zero-config, token-efficient code exploration for any language. Auto-indexes your codebase and keeps the index fresh — just search, fetch, or explore. Uses LSP for precision when available, falls back to ctags, then ripgrep. Up to 99% fewer tokens than reading full files.
Instructions file
Instructions for benmarte/codemunch, covering project rules, release checklist, 1. changelog, 2. version bump and 3. readme.
Command
Disable codemunch enforcement — turns off the PreToolUse hook and removes CLAUDE.md rules.
Command
Re-enable codemunch enforcement — turns on the PreToolUse hook and restores CLAUDE.md rules.
Command
Token-efficient codebase overview showing symbol map, file structure, and entry points without reading source files.
Command
Fetch the exact source code of a named symbol, reading only the relevant lines.
Command
Manually build or refresh the codemunch symbol index.
Command
Add codemunch instructions to your project CLAUDE.md for automatic token-efficient exploration.
Command
Find all references to a symbol across the codebase using LSP or ripgrep.
Command
Search for symbols by name, kind, file, or container with no file reads.
Command
Show codemunch configuration, index status, and session token savings.
Command
Check for and install the latest version of codemunch.
Skill Claude CodeCodex
Index the codebase using Universal ctags when LSP is unavailable for a language. Generates a JSON symbol table with name, kind, file, line, and end line for all detected symbols. Supports 40+ languages natively.
Skill Claude CodeCodex
Detect which Language Server Protocol (LSP) servers are available for the current project and configure codemunch to use them. Checks for installed language servers across all major languages and writes the LSP config to .claude/codemunch/config.json.
Skill Claude CodeCodex
Fetch the exact source code of a named symbol (function, class, method, type) from the codebase using the codemunch index. Reads only the lines for that symbol — not the whole file. Uses LSP for hover docs and type info when available. This is the core token-saving operation.
Skill Claude CodeCodex
Build or refresh the codemunch symbol index for the current project. Walks every source file, extracts all symbols (functions, classes, methods, constants, types) with their exact file location and line range, and writes a fast-lookup index to .claude/codemunch/index.json. Uses LSP when available, falls back to ctags…
Skill Claude CodeCodex
Use Language Server Protocol operations directly for precise cross-file navigation. Find all references to a symbol, go to definition, get hover documentation, and rename symbols across the codebase. Only available when a language server is configured for the project language.
Skill Claude CodeCodex
Index symbols using ripgrep regex patterns when neither LSP nor ctags is available. Covers TypeScript, JavaScript, Python, Go, Rust, Ruby, Java, Kotlin, C, C++, PHP, and can be extended with custom patterns for any language via .claude/codemunch/config.json.
Skill Claude CodeCodex
Search the codemunch index for symbols matching a name, pattern, kind (function/class/method), or file. Returns a compact list of matches with location and signature — no source code read until you fetch. Use this to explore unfamiliar codebases token-efficiently.
Skill Claude CodeCodex
Automatic index freshness gate. Called before any query command (search, fetch, refs, explore) to ensure the index exists and is up-to-date. Handles first-run setup, incremental re-indexing, and staleness detection — so users never need to manually index.
Hook Claude Code
Runs when a session starts, executing sessionstart.sh via bash. From benmarte/autoimprove.