Tech News
← Back to articles

Show HN: Semantic grep for Claude Code (RUST) (local embeddings)

read original related products more articles

ck - Semantic Grep by Embedding

ck (seek) finds code by meaning, not just keywords. It's a drop-in replacement for grep that understands what you're looking for — search for "error handling" and find try/catch blocks, error returns, and exception handling code even when those exact words aren't present.

Quick start

cargo install ck-search

# Find error handling patterns (finds try/catch, Result types, etc.) ck --sem " error handling " src/ # Traditional grep-compatible search still works ck -n " TODO " * .rs # Combine both: semantic relevance + keyword filtering ck --hybrid " connection timeout " src/

Why ck?

For Developers: Stop hunting through thousands of regex false positives. Find the code you actually need by describing what it does.

For AI Agents: Get structured, semantic search results in JSON format. Perfect for code analysis, documentation generation, and automated refactoring.

For Teams: Works exactly like grep with the same flags and behavior, but adds semantic intelligence when you need it.

Quick Start

... continue reading