Smart semantic search for code with full context
Smart semantic search that optimizes vague queries and finds relevant code with context, relationships, and implementation details. Use when you need to locate specific code but don't know exact names or locations.
/plugin marketplace add bartolli/codanna-cc-plugin/plugin install codanna-cc-plugin@codanna-cc-plugin<query>User's Original Query: "$ARGUMENTS"
Claude, analyze the query above and improve it for code search:
YourOptimizedQuery: {Claude: Write your improved query here, then use it below}
Execute this command with your optimized query:
Use the Bash tool to perform semantic code search.
Workflow:
node .claude/scripts/context-provider.js find "$YourOptimizedQuery" --limit=5src/io/exit_code.rs:108-120"sed -n '108,120p' src/io/exit_code.rs to read lines 108-120node .claude/scripts/context-provider.js symbol <relationship_symbol_name>initialize_registry", run: node .claude/scripts/context-provider.js symbol initialize_registryThe results include:
Tips:
--lang=rust (or python, typescript, etc.) to narrow results by languagesymbol command to get full details about interesting relationships