Structural codebase analysis and logic mapping using AST-based tools and local LLM offloading.
This skill enables precise, token-efficient codebase exploration by prioritizing structural understanding over raw file reading.
get_dir_treemax_depth to 2 or 3 initially to avoid token bloat.get_file_skeletonread_specific_linesget_file_skeleton.Mandatory for list-based analysis. When returning lists of files, search results, or structural mappings, use the TOON (Array of Arrays) format to minimize boilerplate keys.
summarize_logic_local [REQUIRES LOCAL GPU/Ollama]graph TD
Start[User Query] --> Tree[get_dir_tree]
Tree --> Find[Find Relevant Files]
Find --> Skeleton[get_file_skeleton]
Skeleton --> Decide{Complex?}
Decide -- Yes --> Summarize[summarize_logic_local]
Decide -- No --> Read[read_specific_lines]
Summarize --> Apply[Implement / Fix]
Read --> Apply
view_file on 500+ line files without a skeleton review._local tools.