sgrep

Solid

Semantic and hybrid code and conversation search for intent-based queries. Use when exploring unfamiliar codebases, finding code by concept instead of exact text, or recalling past agent conversations about similar problems.

AI & Automation 15 stars 2 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 80/100

Stars 20%
40
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# sgrep - Smart Code & Conversation Search Use `sgrep` for semantic and hybrid search across **code** and **agent conversations**. It understands intent, not just exact strings. ## When to Use ### Code Search - Finding code by **concept**: "error handling", "authentication logic", "rate limiting" - Searching for **specific terms** with semantic context: use `--hybrid` - Best code-search accuracy after indexing: use `--hybrid --colbert` - Exploring unfamiliar codebases - When ripgrep patterns keep missing relevant code ### Conversation Search - Finding past discussions with **Claude Code**, **Codex CLI**, **Cursor**, **OpenCode**, or **Pi** - Recalling how you solved a similar problem before - Building context from previous sessions for new tasks - Searching across all your coding agent interactions ## Commands ```bash # First time only sgrep setup sgrep setup --with-rerank # optional, only for --rerank # Index current directory; builds compact TQ-MSE chunk/file vectors by default sgrep index . # Optional ColBERT segment codec override sgrep index . --colbert-codec tqmse sgrep index . --colbert-codec int8 sgrep index . --colbert-codec pq6 # Legacy compatibility: also persist full SQL vectors sgrep index . --sql-vectors # Watch mode keeps SQL vectors for incremental updates; rerun index to compact sgrep watch . # Balanced semantic + lexical code search (default) sgrep "database connection pooling" sgrep "how are errors handled" # Fast semantic-only search sgrep --p...

Details

Author
XiaoConstantine
Repository
XiaoConstantine/sgrep
Created
8 months ago
Last Updated
5 days ago
Language
Go
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category