About
Loctree is a structural intelligence skill for Claude Code that transforms how AI agents interact with complex source code. By moving beyond simple text-based searching (grep), Loctree provides a deep understanding of symbol definitions, cross-file dependencies, and code health using Abstract Syntax Tree (AST) analysis. It automatically hooks into standard search workflows to provide semantic context and offers specialized commands for impact analysis, dependency slicing, and identifying dead code, making it an indispensable tool for large-scale refactoring and rapid project onboarding.