What problem does it solve? Searching large Windows repositories with grep, ripgrep, findstr, or Select-String rescans every file on each query, wasting minutes on repos with hundreds of thousands of files. This Skill enforces the use of tgrep, Microsoft's trigram-index search tool, and wraps it in scripts that automatically handle indexing and server lifecycle so every search runs against a warm index. ## Core Features & Use Cases - Mandatory tgrep enforcement: Explicit rules forbid falling back to grep, ripgrep, findstr, or Select-String when tgrep is available, with a documented emergency-fallback exception. - Automatic server and index management: The tsearch.ps1 wrapper checks for tgrep in PATH, starts a background tgrep server if none is running, adds .tgrep/ to .gitignore, and runs the search in one command. - Installation and server scripts: install-tgrep.ps1 downloads the official x86_64 Windows release via GitHub CLI or builds from source with cargo, and start-tgrep-server.ps1 manually starts a server for a target folder. - Complete flag reference: references/full-flags.md documents every ripgrep-compatible flag, including flags that force full scans and flags silently ignored when an index is active. - Use Case: An AI agent asked to find where a function is used across a 500K-file monorepo calls tsearch.ps1 with -Literal, gets results in milliseconds through the running server, and never touches slower scanning tools. ## Quick Start Ask the AI to search for where a specific function or string is used in this project, and it will run the tsearch.ps1 wrapper with your pattern and path.