RAG Architect
Jeffallan/claude-skills
Designs retrieval-augmented generation systems: document chunking, embeddings, vector store setup, hybrid search, reranking and retrieval evaluation, with checks at each step.
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-management --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codebase-management .claude/skills/codebase-management && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .claude/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-managementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-management --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/codebase-management .agents/skills/codebase-management && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .agents/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-management --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/codebase-management .cursor/skills/codebase-management && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .cursor/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/giancarloerra/SocratiCode.git --path skills/codebase-management--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-management --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/codebase-management .gemini/skills/codebase-management && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .gemini/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install giancarloerra/SocratiCode codebase-managementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/codebase-management .github/skills/codebase-management && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .github/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add giancarloerra/SocratiCode --skill codebase-management -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-management --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/giancarloerra/SocratiCode.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/codebase-management .opencode/skills/codebase-management && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codebase-management" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-management into .opencode/skills/codebase-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-management", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codebase-managementSet up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
Codebase Management is an agent skill from giancarloerra/SocratiCode. Set up, index, and manage SocratiCode codebase indexing. Use when the user wants to index a project, check infrastructure health, start/stop file watching, configure context artifacts, troubleshoot indexing issues, manage the code graph, or any SocratiCode administrative task. Activates when the user mentions indexing, setting up search, SocratiCode infrastructure, or managing the codebase index.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/tool-reference.md`).
It sits in AI & LLM Engineering, covering Vector databases, Embeddings and Codebase knowledge for agents. It works with Model Context Protocol, Docker, Qdrant and Google Gemini. The repository describes itself as: Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic search, polyglot dependency graphs, symbol-level… The licence is AGPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1e829bf. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
xyz.cloud.qdrant.ioAlso links to:
ollama.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYGOOGLE_API_KEYQDRANT_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codebase Management loads about 1.8k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 712 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from giancarloerra/SocratiCode at commit 1e829bf, republished under its AGPL-3.0 licence (© giancarloerra). 712 words, ~1,767 tokens.
.claude/skills/codebase-management/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Set up, index, and manage SocratiCode codebase indexing, file watching, code graphs, and context artifacts.
codebase_health — verifies Docker, Qdrant, Ollama/embedding provider, and embedding modelcodebase_index — runs in background, returns immediatelycodebase_status — call every ~60 seconds until 100% completeOn first use, SocratiCode automatically pulls Docker images, starts containers, and downloads the embedding model (~5 min one-time setup).
The file watcher keeps the index automatically updated in the default SOCRATICODE_WATCHER=auto mode.
codebase_watch { action: "start" } — start the watcher (runs catch-up update first)codebase_watch { action: "stop" } — stop the watchercodebase_watch { action: "status" } — list watched projects (including cross-process)codebase_update — manual incremental update (only changed files, synchronous). Usually not needed if watcher is active.For a deliberate code-index snapshot, configure every MCP process that uses the checkout with SOCRATICODE_WATCHER=off and SOCRATICODE_AUTO_RESUME=off. Search and graph tools keep reading the existing index and graph; run codebase_update and codebase_graph_build only when a refresh is wanted. Use watcher mode manual instead when explicit codebase_watch { action: "start" } should remain available. Never try to restart a watcher whose status says disabled.
With SOCRATICODE_WATCHER=git, active indexed checkouts refresh on checked-out ref/HEAD changes, checked every 10 seconds and on search/status/graph requests. No native file watcher starts. Pending or failed refreshes are not current results. Git triggers the update, but the working tree is indexed, including uncommitted edits. Use codebase_update for file saves that do not change ref/HEAD. Selecting Git mode does not create a first index. SOCRATICODE_AUTO_RESUME=off suppresses startup catch-up, not later Git-triggered updates. A Git diagnostic must not be bypassed by starting a watcher.
codebase_stop — gracefully pause in-progress indexing. Current batch finishes and checkpoints. All progress preserved. Resume with codebase_index.codebase_remove — delete entire index (destructive). Safely stops watcher, cancels indexing, waits for graph builds.codebase_prune — inventory stored identities; delete one by exact identity, fresh confirmation token and shared-store acknowledgement. Path absence is advisory, never a candidate set.codebase_list_projects — list all indexed projects with metadata, graph info, and artifact status.The dependency graph is auto-built after indexing. In watcher modes manual and off, graph queries read an existing graph but will ask for an explicit build instead of creating a missing graph as a side effect.
codebase_graph_build — manually rebuild (background, async). Poll with codebase_graph_status.codebase_graph_remove — delete graph (auto-rebuilds on next codebase_index)codebase_graph_status — check build progress or graph readinessTo index non-code knowledge, create .socraticodecontextartifacts.json in the project root:
{
"artifacts": [
{
"name": "database-schema",
"path": "./docs/schema.sql",
"description": "PostgreSQL schema — all tables, indexes, constraints, foreign keys."
}
]
}Supported types: SQL schemas, OpenAPI/Protobuf API specs, Terraform/CloudFormation configs, Kubernetes manifests, architecture docs, environment configs — any text-based file or directory.
codebase_context_index — manually index/re-index all artifacts (usually auto-triggered)codebase_context_remove — remove all indexed artifacts (blocked during indexing)| Problem | Solution |
|---|---|
| Docker not available | Install Docker Desktop from https://docker.com, ensure it's running |
| Slow indexing on macOS/Windows | Docker can't use GPU. Install native Ollama from https://ollama.com/download for Metal/CUDA acceleration. Or use cloud embeddings. |
| Want cloud embeddings instead | Set EMBEDDING_PROVIDER=openai + OPENAI_API_KEY, or EMBEDDING_PROVIDER=google + GOOGLE_API_KEY |
| Search returns no results | Check codebase_status — project may not be indexed. Run codebase_index. |
| Stale results | Check codebase_status. Run codebase_update; start the watcher only when status does not say it is disabled. |
| Indexing was interrupted | Run codebase_index again — it resumes from the last checkpoint automatically. |
| Another process is indexing | codebase_status detects cross-process indexing. Wait for it, or use codebase_stop. |
| Variable | Default | Description |
|---|---|---|
QDRANT_MODE | managed | managed (Docker) or external (remote/cloud Qdrant) |
QDRANT_URL | — | Full URL for remote Qdrant (e.g. https://xyz.cloud.qdrant.io:6333) |
QDRANT_API_KEY | — | API key for remote Qdrant |
EMBEDDING_PROVIDER | ollama | ollama, openai, or google |
OPENAI_API_KEY | — | Required when EMBEDDING_PROVIDER=openai |
GOOGLE_API_KEY | — | Required when EMBEDDING_PROVIDER=google |
OLLAMA_MODE | auto | auto (detect native, fallback Docker), docker, external |
EMBEDDING_MODEL | nomic-embed-text | Model name (provider-specific) |
SEARCH_DEFAULT_LIMIT | 10 | Default result limit for codebase_search (1-50) |
SEARCH_MIN_SCORE | 0.10 | Default minimum RRF score threshold (0-1) |
MAX_FILE_SIZE_MB | 5 | Maximum file size for indexing in MB; must be a complete finite number |
EXTRA_EXTENSIONS | — | Additional file extensions to index (e.g. .tpl,.blade,.hbs) |
SOCRATICODE_WATCHER | auto | auto, manual (explicit start only), off (no watcher), or git (ref/HEAD-triggered refresh, no native watcher) |
SOCRATICODE_AUTO_RESUME | — | all resumes all stored projects; off disables startup catch-up and interrupted-index recovery |
For full parameter details on every tool, see references/tool-reference.md.
© giancarloerra, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/codebase-management of giancarloerra/SocratiCode.
Open the folder on GitHubat commit 1e829bf
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in giancarloerra/SocratiCode, which our catalogue first saw on October 7, 2026.
Codebase Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codebase Management this skillgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.8k | Automated safety check: Pass | AGPL-3.0 | |
| RAG ArchitectJeffallan/claude-skills | 12k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Cognee Integrations Setuptopoteretes/cognee | 32k | — | ~1k | Automated safety check: Notes | Apache-2.0 | |
| Microsoft Extensions AImanagedcode/dotnet-skills | 486 | — | ~3.4k | Automated safety check: Pass | MIT | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Pgvector Semantic Searchtimescale/pg-aiguide | 1.9k | 1 repos | ~3.8k | Automated safety check: Pass | Apache-2.0 |
Jeffallan/claude-skills
Designs retrieval-augmented generation systems: document chunking, embeddings, vector store setup, hybrid search, reranking and retrieval evaluation, with checks at each step.
topoteretes/cognee
Switches cognee's LLM, embedding, relational, vector and graph backends through environment variables, with the extras to install and the traps to avoid.
managedcode/dotnet-skills
Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation.
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
timescale/pg-aiguide
A skill your agent uses for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search.
wshobson/agents
Build retrieval-augmented generation systems: pick a vector database and embedding model, choose retrieval and reranking strategies, and start from a LangGraph pipeline.
giancarloerra/SocratiCode
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode. Codebase Management is an agent skill from giancarloerra/SocratiCode. Set up, index, and manage SocratiCode codebase indexing.
Codebase Management fits situations like: the user wants to index a project; check infrastructure health; start/stop file watching; configure context artifacts.
Run `npx skills add giancarloerra/SocratiCode --skill codebase-management -a claude-code`. Or copy the skill folder (skills/codebase-management in giancarloerra/SocratiCode) into .claude/skills/codebase-management in your project. Claude Code loads it when a task matches its description.
Run `npx skills add giancarloerra/SocratiCode --skill codebase-management -a codex`. Or copy the skill folder (skills/codebase-management in giancarloerra/SocratiCode) into .agents/skills/codebase-management in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add giancarloerra/SocratiCode --skill codebase-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-management, .gemini/skills/codebase-management, .github/skills/codebase-management and .opencode/skills/codebase-management in your project.
Going by SKILL.md and its folder, Codebase Management needs credentials named OPENAI_API_KEY, GOOGLE_API_KEY and QDRANT_API_KEY. Our summary lists: Docker; A credential in OPENAI_API_KEY; A credential in GOOGLE_API_KEY.
SKILL.md names 2 domains. In commands or code: xyz.cloud.qdrant.io; the agent is likely to contact it when it follows the instructions. As links in the text: ollama.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codebase Management is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codebase Management: RAG Architect (Jeffallan/claude-skills, 12k stars), Cognee Integrations Setup (topoteretes/cognee, 32k stars), Microsoft Extensions AI (managedcode/dotnet-skills, 486 stars) and Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
giancarloerra (a GitHub user) maintains it in giancarloerra/SocratiCode, which has 3,335 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 2, 2026.
Source: giancarloerra/SocratiCode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.