Tilth is a specialized code intelligence CLI that replaces traditional Unix commands like grep, cat, and find with language-aware alternatives across 14 programming languages. By leveraging Tree-sitter, it provides Claude with high-density summaries, structural diffs, and dependency analysis, significantly reducing token consumption by approximately 40% while improving the accuracy of repository exploration and impact analysis. It allows the AI to understand code structure, trace callers, and map out dependencies without reading unnecessary boilerplate.
主要功能
01Smart file reading that toggles between full content and structural outlines based on file size
02334 GitHub stars
03AST-aware symbol search and caller tracing across 14 major programming languages
04Markdown heading integration to surface documentation as 'soft' symbol definitions
05Structural diffing to detect function-level modifications rather than simple line changes
06Blast-radius dependency mapping to visualize imports and export impacts
使用场景
01Mapping out unfamiliar codebases to quickly understand architecture and call flows
02Optimizing LLM token usage by providing high-signal code outlines instead of raw file dumps
03Performing impact analysis before refactoring or renaming core exports to prevent breaking changes