How this command is triggered — by the user, by Claude, or both
Slash command
/ospack:searchThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Semantic Search Use ospack to find code semantically by concept, not just keywords. ## Usage ## Examples ## Options - `--limit, -l`: Max results to return (default: 10) - `--root`: Repository root directory ## When to use Use this for quick semantic searches when you need to find: - Where a concept is implemented - Related code across the codebase - Patterns and examples
Use ospack to find code semantically by concept, not just keywords.
ospack search "<query>" --root $(pwd)
# Find authentication logic
ospack search "user authentication" --root $(pwd)
# Find error handling patterns
ospack search "error handling middleware" --root $(pwd)
# Find database queries
ospack search "database connection pooling" --root $(pwd)
--limit, -l: Max results to return (default: 10)--root: Repository root directoryUse this for quick semantic searches when you need to find:
2plugins reuse this command
First indexed Dec 31, 2025
npx claudepluginhub Tylerbryy/ospack --plugin ospack/searchSearches the codebase using grepika's ranked search combining FTS5, ripgrep regex, and sparse n-gram prefiltering. Returns relevance-ranked results in a table.
/search-codeSearches codebase using hybrid semantic embeddings + BM25 keyword + identifier boosting. Returns top matches with file paths, line ranges, scores, and code previews.
/exploreExplores codebase iteratively by keyword: searches file names, code content, git history; refines results interactively or automatically up to depth N, tracks dependencies, summarizes structure and relations.
/exploreSearches the current codebase using a Gemini-powered Explore agent to find implementations, patterns, and code flows via natural language questions.
/coderlmExplores codebase structure using tree-sitter index: search symbols, trace callers/implementations, find tests, view file trees and scoped code via CLI tools.
/researchResearches codebase using ChunkHound semantic analysis on a query. Outputs structured findings: overview, key components with file citations, relationships, and recommendations.