Codebase Exploration
giancarloerra/SocratiCode
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
This skill should be used when finding, tracing, or understanding code in a repository with SymDex available.
$ npx skills add husnainpk/SymDex --skill symdex-code-search -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install husnainpk/SymDex symdex-code-search --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/husnainpk/SymDex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/symdex-code-search .claude/skills/symdex-code-search && 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 "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .claude/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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/husnainpk/SymDex/tree/main/skills/symdex-code-searchType 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 husnainpk/SymDex --skill symdex-code-search -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install husnainpk/SymDex symdex-code-search --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/husnainpk/SymDex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/symdex-code-search .agents/skills/symdex-code-search && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .agents/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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 husnainpk/SymDex --skill symdex-code-search -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install husnainpk/SymDex symdex-code-search --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/husnainpk/SymDex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/symdex-code-search .cursor/skills/symdex-code-search && 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 "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .cursor/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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/husnainpk/SymDex.git --path skills/symdex-code-search--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 husnainpk/SymDex --skill symdex-code-search -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install husnainpk/SymDex symdex-code-search --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/husnainpk/SymDex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/symdex-code-search .gemini/skills/symdex-code-search && 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 "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .gemini/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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 husnainpk/SymDex symdex-code-searchInstalls 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 husnainpk/SymDex --skill symdex-code-search -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/husnainpk/SymDex.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/symdex-code-search .github/skills/symdex-code-search && 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 "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .github/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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 husnainpk/SymDex --skill symdex-code-search -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install husnainpk/SymDex symdex-code-search --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/husnainpk/SymDex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/symdex-code-search .opencode/skills/symdex-code-search && 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 "symdex-code-search" agent skill from https://github.com/husnainpk/SymDex/tree/main/skills/symdex-code-search into .opencode/skills/symdex-code-search/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "symdex-code-search", 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.
symdex-code-searchThis skill should be used when finding, tracing, or understanding code in a repository with SymDex available.
Symdex Code Search is an agent skill from husnainpk/SymDex. This skill should be used when finding, tracing, or understanding code in a repository with SymDex available. Trigger it for requests like "where is this defined?", "who calls this?", "what route handles this path?", "show me the file outline", "search this codebase by intent", or any task that would otherwise rely on broad Read/Grep/Glob exploration.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Development, covering Codebase onboarding and Embeddings. It works with Model Context Protocol and Kotlin. The repository describes itself as: Repo-local codebase oracle for AI coding agents. Exact symbol search, semantic search, routes, and call graphs across 16 languages, from Python and Go to Dart and Swift. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 257bb3c. 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.
Symdex Code Search loads about 2.3k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 1,153 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 husnainpk/SymDex at commit 257bb3c, republished under its MIT licence (© husnainpk). 1,153 words, ~2,272 tokens.
.claude/skills/symdex-code-search/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use SymDex before broad file browsing. Use it to save tokens by retrieving the exact code the agent needs instead of scanning whole files. SymDex currently covers 21 language surfaces, including Python, Go, Kotlin, Dart, Swift, HTML, CSS, Shell, Vue/Svelte script blocks, and Markdown headings plus supported fenced code blocks.
0.1.26v0.1.26roi, roi_summary, and roi_agent_hintquality with confidence, freshness, parser mode, language surface, generated-file hints, and embedding availabilitysymdex pack and MCP build_context_pack assemble token-budgeted evidence bundles for broader feature questionssentence-transformers, Voyage, OpenAI-compatible /embeddings, Gemini, and compatible proxiesSYMDEX_EMBED_RPM plus symdex index --lazy for foreground structural indexing with background embedding fillsymdex index --no-embed skips semantic embedding work entirelysymdex watch --embed only when semantic embeddings must refresh continuously~/.symdex by default, optional workspace-local ./.symdex with registry.json.md, .markdown, and .mdx headings plus supported fenced code blocks are indexed alongside source filesrepo on every scoped tool call.list_repos and match the current worktree.get_index_status(repo).index_folder(path=".")..symdex, treat it as the intended local SymDex state and reuse it.repo id for the rest of the task.If SymDex is unavailable or indexing fails, say so clearly and fall back to normal file reads only as needed.
repo whenever you know it.build_context_pack for broad "how does this feature work?", docs, API, or bug-investigation questions before issuing many separate narrow searches.get_symbol or get_file_outline over full-file reads.get_index_status after major edits or worktree switches.roi, roi_summary, or roi_agent_hint, mention the approximate token savings briefly in your response.quality before reasoning from a result. Prefer fresh, parser-backed, high-confidence evidence; warn the user when evidence is stale, generated, fallback text, or missing embeddings../.symdex), stay inside that workspace so the same index is auto-discovered.symdex watch as low-memory by default; only request --embed when semantic embeddings must refresh on file changes.symdex index --lazy and set SYMDEX_EMBED_RPM instead of blocking an agent session on a long foreground embedding run.| Need | Tool |
|---|---|
| Index the current worktree | index_folder |
| Register and index a repo explicitly | index_repo |
| Find a function, class, or method by name | search_symbols |
| Find code by intent or behavior | semantic_search |
| Find literal text or regex matches | search_text |
| Build a query-shaped evidence bundle | build_context_pack |
| Read exact source for one symbol | get_symbol |
| Get a file outline before reading | get_file_outline |
| Get a repo map or summary | get_repo_outline or get_file_tree |
| Trace who calls a symbol | get_callers |
| Trace what a symbol calls | get_callees |
| Find HTTP routes | search_routes |
| Check repo freshness | get_index_status |
| Get code metrics and language mix | get_repo_stats |
| List indexes | list_repos |
| Clean deleted-worktree indexes | gc_stale_indexes |
index_folder if needed.build_context_pack.search_symbols, semantic_search, or search_text.get_symbol or get_file_outline.quality fields on returned items before making code-understanding claims.get_callers, get_callees, search_routes, or get_repo_stats for deeper analysis.search_symbolssemantic_search, then get_symbolbuild_context_packbuild_context_pack with include=["routes", "docs", "tests"]get_callersget_calleessearch_routesget_file_outlineget_repo_outline or get_repo_statsget_index_status/api/checkout"Use SymDex as evidence retrieval, not as proof by itself.
build_context_pack when the bug spans multiple symbols, routes, docs, or tests.quality.index_fresh, quality.confidence, quality.parser_mode, quality.is_generated, and quality.has_embeddings.When you need to edit code:
symdex watch refreshes structural indexes by default without loading local embedding models.symdex watch --embed only when the task needs semantic search to stay fresh continuously.semantic_search has no embeddings, fall back to search_symbols or search_text, or re-index after enabling symdex[local], Voyage, OpenAI-compatible, Gemini, or another hosted embedding backend.symdex index --lazy when embeddings may be slow because of hosted-model latency or RPM limits../.symdex, so commands should run from that workspace or pass the matching --state-dir.© husnainpk, MIT. 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 in skills/symdex-code-search of husnainpk/SymDex.
Open the folder on GitHubat commit 257bb3c
Symdex Code Search 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 |
|---|---|---|---|---|---|---|
| Symdex Code Search this skillhusnainpk/SymDex | 209 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Codebase Explorationgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.5k | Automated safety check: Pass | AGPL-3.0 | |
| Grepaiyoanbernabeu/grepai | 1.9k | — | ~1.1k | Automated safety check: Pass | MIT | |
| GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram | 18k | — | ~427 | Automated safety check: Pass | MIT | |
| Explore Codebase with Graphtirth8205/code-review-graph | 32k | 1 repos | ~335 | Automated safety check: Pass | MIT | |
| Octocode Code Researchbgauryy/octocode | 949 | — | ~1.5k | Automated safety check: Pass | MIT |
giancarloerra/SocratiCode
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.
yoanbernabeu/grepai
Semantic code search and call-graph tracing. An agent skill from yoanbernabeu/grepai.
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
tirth8205/code-review-graph
Navigates a codebase through the code-review-graph MCP tools: architecture overview, symbol search, caller and callee tracing, flows and oversized functions.
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
yoanbernabeu/grepai
Create a new release for grepai. An agent skill from yoanbernabeu/grepai.
Works with
Categories
This skill should be used when finding, tracing, or understanding code in a repository with SymDex available. Symdex Code Search is an agent skill from husnainpk/SymDex. This skill should be used when finding, tracing, or understanding code in a repository with SymDex available.
Symdex Code Search fits situations like: it for requests like where is this defined?; who calls this?; what route handles this path?; show me the file outline.
Run `npx skills add husnainpk/SymDex --skill symdex-code-search -a claude-code`. Or copy the skill folder (skills/symdex-code-search in husnainpk/SymDex) into .claude/skills/symdex-code-search in your project. Claude Code loads it when a task matches its description.
Run `npx skills add husnainpk/SymDex --skill symdex-code-search -a codex`. Or copy the skill folder (skills/symdex-code-search in husnainpk/SymDex) into .agents/skills/symdex-code-search 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 husnainpk/SymDex --skill symdex-code-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/symdex-code-search, .gemini/skills/symdex-code-search, .github/skills/symdex-code-search and .opencode/skills/symdex-code-search in your project.
SKILL.md names no scripts, command-line tools or credentials: Symdex Code Search 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.
Symdex Code Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Symdex Code Search: Codebase Exploration (giancarloerra/SocratiCode, 3.3k stars), Grepai (yoanbernabeu/grepai, 1.9k stars), GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars) and Explore Codebase with Graph (tirth8205/code-review-graph, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
husnainpk (a GitHub user) maintains it in husnainpk/SymDex, which has 209 GitHub stars. The repository was last updated on April 22, 2026.
Source: husnainpk/SymDex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.