IgorGanapolsky

zvec-grep-compare-not-clone

zg (zvec-grep) is a local-first search layer (ripgrep + BM25 + vector), not a ThumbGate clone. Steal the four-route FORMAT onto existing rails; never install @zvec/zvec-grep. Slash: /zvec-grep-compare-not-clone.

IgorGanapolsky 26 7 Updated 3d ago
GitHub

Install

npx skillscat add igorganapolsky/thumbgate/zvec-grep-compare-not-clone

Install via the SkillsCat registry.

About this skill

The skill provides a local‑first search interface that combines ripgrep, BM25 and vector queries within ThumbGate, enabling code and symbol searches without installing the @zvec/zvec-grep package. It solves the need for fast, offline search across workspaces while avoiding remote embeddings. It is appropriate when an agent or developer requires local search routes such as rg, fts, vector or hybrid queries.

SKILL.md

zvec-grep — compare, do not clone

When

Qwen zg, zvec-grep, MarkTechPost zvec, unify ripgrep BM25 vector, local-first search layer.

Do

npx thumbgate workspace-search-route --query="<intent or symbol>" --json
npx thumbgate workspace-search-route --query="<symbol>" --rg --execute

Map routes to existing rails (see docs/agents/code-search.md):

  • --rg → ripgrep / Grep
  • --fts → filesystem-search / BM25F
  • --vector → LanceDB (local); remote needs THUMBGATE_ALLOW_REMOTE_EMBED=1
  • --hybrid → pragmatic-hybrid-search RRF (default)
  • --graph → Graphify AST graph

Never

  • npm install -g @zvec/zvec-grep inside ThumbGate
  • Claim ThumbGate is zg / zvec
  • Dual-edit DIRTY lesson-graph PR #3650
  • Silent remote embeddings

Source

https://github.com/zvec-ai/zvec-grep (Apache-2.0) — FORMAT only; not affiliated.