benmarte/codemunch

Zero-config, token-efficient code exploration for Claude Code — no MCP server, no Python, no database

7Stars on the repository
23Mods indexed here, across every type
5mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

ctags

01

benmarte/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.

7 5mo ago A 47 tokens original MIT

detect-lsp

02

benmarte/codemunch

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.

7 5mo ago A 50 tokens original MIT

fetch

03

benmarte/codemunch

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.

7 5mo ago B 62 tokens original MIT

index

04

benmarte/codemunch

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…

7 5mo ago B 77 tokens original MIT

lsp

05

benmarte/codemunch

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.

7 5mo ago B 48 tokens original MIT

rg-fallback

06

benmarte/codemunch

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.

7 5mo ago A 62 tokens original MIT

search

07

benmarte/codemunch

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.

7 5mo ago A 54 tokens original MIT

staleness-gate

08

benmarte/codemunch

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.

7 5mo ago A 54 tokens original MIT