# Search large codebases and structured document trees without embeddings before building heavier retrieval stacks with Tr

> Index docs and source trees into structure-aware search so you can answer targeted questions quickly without a vector database or brittle grep sprawl.

- Skill: `agentskillexchange/search-large-codebases-and-structured-document-trees-without` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/search-large-codebases-and-structured-document-trees-without`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/search-large-codebases-and-structured-document-trees-without/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/search-large-codebases-and-structured-document-trees-without

---


# Search large codebases and structured document trees without embeddings before building heavier retrieval stacks with TreeSearch

Index docs and source trees into structure-aware search so you can answer targeted questions quickly without a vector database or brittle grep sprawl.

## Prerequisites

TreeSearch Python package or Rust CLI, local codebase or document corpus, and optional SQLite-backed index storage

## Installation

Use the upstream install or setup path that matches your environment:
- pip install -U pytreesearch
- brew tap shibing624/tap
- brew install treesearch
- cargo install treesearch

Requirements and caveats from upstream:
- [![python_version](https://img.shields.io/badge/Python-3.10%2B-green.svg)](requirements.txt)
- **TreeSearch** is a structure-aware document retrieval library. No vector embeddings. No chunk splitting. SQLite FTS5 keyword matching over document tree structures. Supports Markdown, plain text, code files (Python A...
- ### Python Library

Basic usage or getting-started notes:
- bash
- Then use it in code:
- from treesearch import TreeSearch

- Source: https://github.com/shibing624/TreeSearch
- Extracted from upstream docs: https://raw.githubusercontent.com/shibing624/TreeSearch/HEAD/README.md

## Documentation

- https://github.com/shibing624/TreeSearch

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/search-large-codebases-and-structured-document-trees-without-embeddings-before-building-heavier-retrieval-stacks-with-treesearch/)

