/rag-reviewer:sync-codebasefrom rag-reviewer
Builds or updates a vector store (pgvector) and code graph (Neo4j) from a local repo clone using Voyage embeddings. One-time setup for codebase indexing.
Ships in rag-reviewer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Builds or updates the reviewer base index — vector embeddings (Postgres/pgvector) and code graph
(Neo4j) — from a local repo clone using reviewer index. This is a one-time setup operation;
subsequent runs are incremental (only changed files are re-embedded).
Parse from $ARGUMENTS (all optional):
--path <path>: path to the local repo clone. Default: current working directory.--ref <branch>: git ref to index. Default: main.--repo <owner/name>: repo identifier for multi-repo setups. If omitted, derived automatically
from git remote get-url origin.--backend <auto|scip|treesitter>: graph backend override. Default: auto (SCIP if in PATH,
else tree-sitter).Resolve inputs. If --path not given, use the current working directory. If --ref not
given, use main. If --repo not given, run:
git -C <path> remote get-url origin
Strip .git suffix, extract the last two path segments (owner/name).
Check prerequisites. Verify:
uvx is available: uvx --version succeeds.git -C <path> rev-parse --git-dir succeeds.reviewer check or confirm the user has .env
configured with PG_DSN, NEO4J_URI, VOYAGE_API_KEY).docker compose ps shows paradedb and
neo4j running.Run indexing.
uvx --from rag-reviewer reviewer index <path> --ref <ref>
Add --repo <owner/name> if resolved or provided. Stream the output to the user.
Expected duration: seconds for small repos, minutes for large ones — Voyage free tier
(3 RPM / 10K TPM) causes throttling with automatic retry/backoff. That is normal, not an error.
Use --limit N (if supported) for a quick smoke run.
Verify. After indexing completes, optionally run a diagnostic search to confirm the corpus:
uvx --from rag-reviewer reviewer search "your query here"
Or call search_code via the reviewer MCP tools directly.
Report. Summarise the output: chunks indexed/updated, graph nodes/edges upserted, warnings
(e.g. "SCIP unavailable, fell back to tree-sitter"). If the SCIP backend was used, note that
IMPLEMENTS edges and full call-graph accuracy are available; if tree-sitter, only CALLS by
name are available.
IMPLEMENTS edges: install scip-python first:
npm install -g @sourcegraph/scip-python
Then re-run — GRAPH_BACKEND=auto picks it up automatically.reviewer index, individual PR reviews (rag-reviewer:review-pr) trigger incremental
re-sync of changed files automatically via prepare_review. Full re-index is only needed when
the base branch diverges significantly or after a fresh deploy.rag-reviewer:sync-tasks instead.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
PostgreSQL, Neo4j, Docker, Git
code-indexing, vector-store, code-graph, pgvector, neo4j, rag-reviewer
14 skills in this plugin
/askAnswer grounded questions about the codebase (onboarding / Q&A) using the reviewer RAG + code graph. Use when the user asks how the code works, where something lives, or to explain a subsystem ("where is auth", "how does X work", "explain the indexing flow", "как устроено…", "где у нас…", "объясни код"). Requires a built base index + graph (reviewer MCP server). Not for reviewing PRs./configure-reviewUse when configuring or changing a repository's tracked branches, layered review policy, ignored tracked paths, retrieval limits, summary depth, or non-secret task-board metadata./create-taskCreate a task on a configured board with canonical server-side structure. Use when the user asks to file or create a task on the board.Generated from the plugin's indexed repository (mimfort/rag_for_git) — no native marketplace selected
npx claudepluginhub p/mimfort-rag-reviewer2 plugins in one repository ship this exact skill · first indexed Aug 23, 2026
Other plugins' skills for the same job