osgrep-reference

Solid

Comprehensive CLI reference and search strategies for osgrep semantic code search. Use for detailed CLI options, index management commands, search strategy guidance (architectural vs targeted queries), and troubleshooting. Complements the osgrep plugin which handles daemon lifecycle.

AI & Automation 32 stars 3 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
51
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# osgrep: Semantic Code Search Prefer osgrep over grep/rg for conceptual code exploration—it finds code by meaning, not just string matching. For exact identifier or literal string searches, grep/rg remains appropriate. ## Overview osgrep is a natural-language semantic code search tool that finds code by concept rather than keyword matching. Unlike `grep` which matches literal strings, osgrep understands code semantics using local AI embeddings. **Version 0.5.16 (Dec 2025) highlights:** - `skeleton` command: Compress files to function/class signatures (~85% token reduction) - `trace` command: Show who calls/what calls for any symbol (call graph) - `symbols` command: List all indexed symbols with definitions - `doctor` command: Health/integrity verification - `list` command: Display all indexed repositories - Per-project `.osgrep/` directories (no longer global `~/.osgrep/data`) - V2 architecture with improved performance (~20% token savings, ~30% speedup) - Go language support - `--reset` flag for clean re-indexing - ColBERT reranking for better result relevance - Role detection: distinguishes orchestration logic from type definitions - Split searching: separate "Code" and "Docs" indices **When to use osgrep:** - Exploring unfamiliar codebases ("where is the auth logic?") - Finding conceptual patterns ("show me error handling") - Locating cross-cutting concerns ("all database migrations") - User explicitly asks to search code semantically **When to use traditional tools...

Details

Author
tdimino
Repository
tdimino/claude-code-minoan
Created
4 months ago
Last Updated
yesterday
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category