Rika-LabsRika-LabsOfficialยท1 Agent Skills Included

sgrep

Fast local semantic code search with natural language

Searches codebases by meaning using plain-English queries instead of exact text matching. Builds a local semantic index and keeps it fresh automatically with a background watch mode. Eliminates manual digging through files when hunting for authentication logic, error handling, or database patterns. Works offline with local embeddings and outputs structured JSON for automated workflows.
npx skills add Rika-Labs/sgrep --all -g -y
Available:

Gives your AI agent a structured reasoning framework for planning actions, assessing risks, and using the sgrep search skill effectively when exploring code.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install sgrep?โ–ผ

Run `npx skills add Rika-Labs/sgrep --all -g -y` in your terminal to install the skill globally for your agent.

How to search code by meaning instead of keywords?โ–ผ

Run `sgrep search "where do we handle authentication?"` and sgrep returns relevant code chunks ranked by semantic meaning, not just text matches.

Does sgrep work offline?โ–ผ

Yes. sgrep uses local embeddings by default, and `sgrep --offline` disables all network fetches once the model cache is warmed up.

Does sgrep work with Claude Code and Codex?โ–ผ

Yes. sgrep ships plugins for Claude Code, Codex CLI, Pi, OpenCode, and Factory, each auto-managing the index during your session.

How does sgrep keep search results up to date?โ–ผ

Run `sgrep watch` and it incrementally re-indexes files as you edit, so search results always reflect your latest code.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’