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.
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
$ npx skills add giancarloerra/SocratiCode --skill codebase-exploration -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-exploration --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-exploration .claude/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .claude/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-explorationType 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-exploration -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-exploration --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-exploration .agents/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .agents/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-exploration -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-exploration --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-exploration .cursor/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .cursor/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-exploration--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-exploration -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install giancarloerra/SocratiCode codebase-exploration --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-exploration .gemini/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .gemini/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-explorationInstalls 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-exploration -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-exploration .github/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .github/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-exploration -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-exploration --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-exploration .opencode/skills/codebase-exploration && 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-exploration" agent skill from https://github.com/giancarloerra/SocratiCode/tree/main/skills/codebase-exploration into .opencode/skills/codebase-exploration/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codebase-exploration", 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-explorationExplore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
Codebase Exploration is an agent skill from giancarloerra/SocratiCode. Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts. Use when exploring code, understanding architecture, finding functions/types, analysing dependencies, searching database schemas or API specs, or when socraticode/codebasesearch tools are available. Activates when the user asks about code structure, wants to find where a feature lives, or needs to understand how code is organised.
Its SKILL.md is about 1.5k 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 Databases, covering Vector databases, Codebase onboarding and Embeddings. It works with Google Gemini, Model Context Protocol, OpenAI and Qdrant. 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.
6 steps, taken from the step headings 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.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codebase Exploration loads about 1.5k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 695 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). 695 words, ~1,504 tokens.
.claude/skills/codebase-exploration/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use SocratiCode MCP tools to explore codebases efficiently. The core principle: search before reading — the index gives you a map of the codebase in milliseconds; raw file reading is expensive and context-consuming.
codebase_searchHybrid semantic + keyword search (vector + BM25, RRF-fused) runs in a single call.
fileFilter to narrow to a specific file path, languageFilter for a specific languageminScore (default 0.10) for precision vs recall — lower for more results, higher for stricter matchingWhen to use grep instead: If you already know the exact identifier, error string, or regex pattern, grep/ripgrep is faster and more precise — no semantic gap to bridge. Use codebase_search when exploring, asking conceptual questions, or when you don't know which files to look in.
Use codebase_graph_query to see what a file imports and what depends on it before diving into its contents. This prevents unnecessary reading of transitive dependencies.
codebase_graph_query — imports and dependents for any file (pass relative path)codebase_graph_stats — architecture overview: total files, edges, most connected files, orphans, language breakdowncodebase_graph_circular — find circular dependencies (these cause subtle runtime bugs; check proactively when debugging unexpected behaviour)codebase_graph_visualize — Mermaid diagram colour-coded by language, circular deps highlighted in red. Pass mode: "interactive" to open a self-contained HTML explorer (file + symbol views, blast-radius overlay, search, PNG export — works offline) instead.The graph is auto-built after indexing. Use codebase_graph_status to check if the graph is ready. In SOCRATICODE_WATCHER=manual or off, graph queries do not create a missing graph; run codebase_graph_build explicitly when requested.
Once search results clearly point to 1-3 files, read only the relevant sections. Never read a file just to find out if it's relevant — search first.
A single codebase_search call returns ranked, deduplicated snippets from across the entire codebase in milliseconds. This gives you a broad map at negligible token cost — far cheaper than opening files speculatively.
Projects can define a .socraticodecontextartifacts.json config to expose database schemas, API specs, infrastructure configs, architecture docs, and other project knowledge that lives outside source code.
codebase_context — list available artifacts (names, descriptions, paths, index status)codebase_context_search — semantic search across all artifacts (or filter with artifactName)Run codebase_context early to see what's available. Use codebase_context_search before asking about database structure, API contracts, or infrastructure.
codebase_status — check index status, progress, watcher state, graph statuscodebase_update; start the watcher only when status does not say it is disabledSOCRATICODE_WATCHER=off plus SOCRATICODE_AUTO_RESUME=off), stale results are expected until an explicit update. Do not enable or start the watcher.SOCRATICODE_WATCHER=git), search, graph, and status requests report refresh state. Do not treat pending, failed, or unverified results as current. Git transitions trigger refreshes; use codebase_update for an immediate refresh of working-tree edits. Do not start the file watcher.codebase_about — quick reference of all SocratiCode tools and a typical workflow| Goal | Tool |
|---|---|
| Understand what a codebase does / where a feature lives | codebase_search (broad query) |
| Find a specific function, constant, or type | codebase_search (exact name) or grep |
| Find exact error messages, log strings, or regex patterns | grep / ripgrep |
| See what a file imports or what depends on it | codebase_graph_query |
| Get architecture overview (files, edges, most connected) | codebase_graph_stats |
| Spot circular dependencies | codebase_graph_circular |
| Visualise module structure (text / Mermaid) | codebase_graph_visualize |
| User asks for a visual / interactive / shareable graph | codebase_graph_visualize mode="interactive" |
| Check graph build status | codebase_graph_status |
| Verify index is up to date | codebase_status |
| Discover available schemas, specs, configs | codebase_context |
| Find database tables, API endpoints, infra configs | codebase_context_search |
| Quick overview of all tools | codebase_about |
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-exploration 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 Exploration 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 Exploration this skillgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.5k | 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 | |
| Using Vector Databasesancoleman/ai-design-components | 526 | 1 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Youtubeeat-pray-ai/yutu | 696 | — | ~1.1k | Automated safety check: Pass | MIT |
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.
ancoleman/ai-design-components
Vector database implementation for AI/ML applications, semantic search, and RAG systems.
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.
eat-pray-ai/yutu
A skill your agent uses whenever the user mentions YouTube, video uploads, channel management, playlists, video SEO, or any YouTube Data API operation.
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.
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
Categories
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts. Codebase Exploration is an agent skill from giancarloerra/SocratiCode. Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
Codebase Exploration fits situations like: understanding architecture; finding functions/types; analysing dependencies; searching database schemas.
Run `npx skills add giancarloerra/SocratiCode --skill codebase-exploration -a claude-code`. Or copy the skill folder (skills/codebase-exploration in giancarloerra/SocratiCode) into .claude/skills/codebase-exploration in your project. Claude Code loads it when a task matches its description.
Run `npx skills add giancarloerra/SocratiCode --skill codebase-exploration -a codex`. Or copy the skill folder (skills/codebase-exploration in giancarloerra/SocratiCode) into .agents/skills/codebase-exploration 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-exploration -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-exploration, .gemini/skills/codebase-exploration, .github/skills/codebase-exploration and .opencode/skills/codebase-exploration in your project.
SKILL.md names no scripts, command-line tools or credentials: Codebase Exploration is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 Exploration 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.5k tokens (SKILL.md is roughly 6k 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 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codebase Exploration: RAG Architect (Jeffallan/claude-skills, 12k stars), Cognee Integrations Setup (topoteretes/cognee, 32k stars), Using Vector Databases (ancoleman/ai-design-components, 526 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.