Sync Codebase
SkillDev toolsBuild or update the reviewer base index (vector store + code graph) from a local repo clone. Use when the user asks to "index the codebase", "build the index", "sync the code", "rebuild the graph", "просиндексируй код", "построй индекс".
Use Sync Codebase in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Sync Codebase and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Sync Codebase skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by hashgraph-online/awesome-codex-plugins in plugins/mimfort/rag_for_git/plugin/skills/sync-codebase/SKILL.md and read by Ahel’s review.
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).
Inputs
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 fromgit remote get-url origin.--backend <auto|scip|treesitter>: graph backend override. Default:auto(SCIP if in PATH, else tree-sitter).
Pipeline
-
Resolve inputs. If
--pathnot given, use the current working directory. If--refnot given, usemain. If--reponot given, run:git -C <path> remote get-url originStrip
.gitsuffix, extract the last two path segments (owner/name). -
Check prerequisites. Verify:
uvxis available:uvx --versionsucceeds.- The path is a git repo:
git -C <path> rev-parse --git-dirsucceeds. - The reviewer MCP server is reachable (run
reviewer checkor confirm the user has.envconfigured withPG_DSN,NEO4J_URI,VOYAGE_API_KEY). - Docker services are up if using the default stack:
docker compose psshowsparadedbandneo4jrunning. - Stop and tell the user what is missing if any check fails.
-
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_codevia 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
IMPLEMENTSedges and full call-graph accuracy are available; if tree-sitter, onlyCALLSby name are available.
Notes
- This indexes the local clone on disk — not via GitHub API. The repo must be cloned locally before running.
- For accurate graph with
IMPLEMENTSedges: installscip-pythonfirst:
Then re-run —npm install -g @sourcegraph/scip-pythonGRAPH_BACKEND=autopicks it up automatically. - After
reviewer index, individual PR reviews (rag-reviewer:review-pr) trigger incremental re-sync of changed files automatically viaprepare_review. Full re-index is only needed when the base branch diverges significantly or after a fresh deploy. - To sync tasks from the configured registered task board, use
rag-reviewer:sync-tasksinstead.
Signals
- GitHub stars
- 1k
- Forks
- 316
- Last commit
- Oct 2026
Ahel review
K1binfo
installs-packages
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
sync-codebase- Source
- github.com/hashgraph-online/awesome-codex-plugins
github.com/hashgraph-online/awesome-codex-plugins
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonsupabase-postgres-best-practices
Skill · baekenough
The pick for Postgresdocker-agent-run
Skill · docker
The pick for Dockerdocker-sandbox
Skill · joelhooks
The pick for Dockerteach
Skill · mattpocock
More in Dev tools