by zvec-ai
Local-first search across your workspace, built for humans and AI agents.
# Add to your Claude Code skills
git clone https://github.com/zvec-ai/zvec-grepzvec-grep is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zvec-ai. Local-first search across your workspace, built for humans and AI agents. It has 4,397 GitHub stars.
zvec-grep's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/zvec-ai/zvec-grep" and add it to your Claude Code skills directory (see the Installation section above).
zvec-grep is primarily written in Rust. It is open-source under zvec-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zvec-grep against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
zg (zvec-grep), powered by zvec, unifies ripgrep, BM25, and vector search behind one local-first interface. Use it directly from the terminal, or let your agent use it for you.
npm install -g @zvec/zvec-grep --allow-scripts=@zvec/zvec-grep
mkdir zg-mystery && cd zg-mystery
curl --retry 3 --retry-all-errors --progress-bar -fL \
-o alice-in-wonderland.txt https://raw.githubusercontent.com/GITenberg/Alice-s-Adventures-in-Wonderland_11/master/11.txt \
-o sherlock-holmes.txt https://raw.githubusercontent.com/GITenberg/The-Memoirs-of-Sherlock-Holmes_834/master/834.txt
zg --index --embedding local/potion-retrieval-32m
[!NOTE] The index is stored in
.zvec-grep/under the indexed project root.
With OpenCode configured:
zg --install --target opencode --yes
opencode models
opencode run --model opencode/nemotron-3-ultra-free \
"An unseen creature left a few marks. What did the detective infer? Cite local evidence."
Free model availability can change. Check opencode models and replace the
example model with one that is currently available in your environment.
OpenCode chooses zg on its own—the prompt does not name a tool.
⚙ zvec_grep_zvec_grep_search {"root":".../zg-mystery","query":"An unseen creature left a few marks. What did the detective infer?","fts":["marks","unseen creature","inferred","detective"],"fuse":true}
→ Read sherlock-holmes.txt [offset=5440, limit=120]
Answer:
The detective is Sherlock Holmes in *The Adventure of the Crooked Man*.
From the animal's foot-marks, he inferred:
- It was not a dog, cat, monkey, or other familiar creature: its print had
five foot-pads, long nails, and was nearly as large as a dessert-spoon
(sherlock-holmes.txt:5479-5486).
- It had a long body and very short legs: nearly two feet long, but with a
stride of only about three inches (sherlock-holmes.txt:5497-5502).
- It was carnivorous because it climbed the curtain toward a canary's cage
(sherlock-holmes.txt:5509-5510).
- It was probably from the weasel or stoat tribe, though unusually large
(sherlock-holmes.txt:5514-5516).
Holmes also inferred that a man entered through the window with it and later
left with the key (sherlock-holmes.txt:5464-5470, 5527-5528).
Search the same bookshelf directly, without an agent:
zg --preview detail "An unseen creature left a few marks. What did the detective infer?" --limit 3
zg returns the relevant passages from sherlock-holmes.txt, ranked ahead of
alice-in-wonderland.txt.
Use repeated --hybrid, --fts, or --vector flags for separate queries.
Each nonempty result group starts with its original query and position, such as
-- query 2/2: timeout --; colored output uses a dim rule and a magenta label.
Each benchmark uses paired A/B runs with tasks, agent/model, prompt, environment, and limits held constant; only zg access and usage guidance differ.
See the benchmark documentation for full results and reproduction details.
SWE-QA-Bench uses Claude Code with Claude Opus 5 at high reasoning effort; BrowseComp-Plus uses Codex gpt-5.6-sol at medium reasoning effort. Both zg profiles use Qwen3.7 Text Embedding.
FontInfo and font
selection through multiple math-text rendering stages. Ranked semantic and
lexical evidence helps reconstruct the cross-file data and control flow.| Repository | Question type | Question |
|---|---|---|
pylint-dev/pylint |
WhatArchitecture exploration | What is the architectural pattern that distinguishes type-annotated from non-annotated instance attribute initialization using AST node type separation? |
matplotlib/matplotlib |
WhereData / Control-flow | Where does the FontInfo NamedTuple propagate font metrics and glyph data through the mathematical text rendering pipeline, and what control flow determines whether the postscript_name or the FT2Font object is used at different stages of character rendering? |
django/django |
WhyDesign rationale | Why does the User model's unique constraint on the username field interact with Django's ORM transaction handling, and what cascading effects would occur if th |