tree-sitting
AST-powered code navigation using tree-sitter. Parses all source files in a codebase into in-memory syntax trees, then provides fast query tools for symbol search, file/directory overview, source retrieval, and reference finding.
Features
- Fast scanning — parses ~250 files in ~700ms, then all queries are sub-millisecond from cache
- Symbol search — find by exact name, substring, or glob pattern across the entire codebase
- Directory and file overview — structural summaries with symbol counts, signatures, and doc comments
- Source retrieval — fetch implementation of any symbol, preferring definitions over declarations
- Reference finding — locate all textual references to a symbol via fast grep against cached source
- 26 languages — Python, JavaScript, TypeScript, Go, Rust, Ruby, Java, C, C++, C#, Swift, Kotlin, and more
- Three-tier extraction — custom extractors (richest), community tags.scm queries, and generic heuristic fallback
- Dual deployment — direct Python calls in Claude.ai, or long-lived MCP server in Claude Code
Dependencies
- tree-sitter-language-pack — grammar bundles for all supported languages
- fastmcp — required only for MCP server mode (Claude Code)
Skill folder: tree-sitting
Release of tree-sitting version 0.3.0
📥 Download & Install
To install:
- Click the download link above (ignore the "Source code" archives below - they're auto-generated by GitHub)
- Go to Claude.ai Skills Settings
- Upload the downloaded ZIP file
- Requires paid Claude Pro or Team account
See official documentation for more details.
Recent Changes
5ef2fe9 feat: add treesit.py CLI, fix cross-process cache loss, fix Symbol dict bug (#536)
44cb99a marketplace: restructure as category-based plugins for Claude Code discovery (#530)
fe5b2fe Add missing READMEs for searching-codebases, featuring, tree-sitting (#521)
eefa4c0 docs: Update CHANGELOG.md for released skills