explore-codebase

Navigate codebase structure using knowledge graph queries and semantic search.

Updated Aug 4, 2026
One-click install
npx skills add https://github.com/sarthkdobriyal/hisaabi --skill explore-codebase-sarthkdobriyal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: explore-codebase
Source: https://github.com/sarthkdobriyal/hisaabi/tree/main/.gemini/skills/explore-codebase
Command: npx skills add https://github.com/sarthkdobriyal/hisaabi --skill explore-codebase-sarthkdobriyal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Understanding an unfamiliar or large codebase is slow when you have to read files one by one. This Skill uses a code knowledge graph to reveal architecture, modules, call relationships, and execution flows without manual file-by-file reading. ## Core Features & Use Cases - Architecture Overview: Get codebase statistics, community/module structure, and high-level architecture summaries via graph tools. - Relationship Tracing: Query callers, callees, and imports of any function or class, and inspect execution flows end to end. - Token-Efficient Exploration: Start with minimal context and escalate detail only when needed, targeting five or fewer tool calls per task. - Use Case: When asked to fix a bug in an unfamiliar repository, run the architecture overview, locate the relevant module with semantic search, then trace its callers to understand impact before editing. ## Quick Start Ask the AI to explore this codebase and explain how the authentication module connects to the rest of the system.

Frequently Asked Questions about explore-codebase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I understand a large unfamiliar codebase quickly?▼

Start with graph statistics and the architecture overview to see major modules, then use semantic search to locate specific functions. Trace callers and callees to understand how components connect before reading individual files.

How to find all callers of a function in a codebase?▼

Use the query_graph_tool with the callers_of pattern on the target function. You can also use callees_of to see what it invokes and imports_of to inspect its dependencies.

What is a code knowledge graph used for?▼

A code knowledge graph models files, functions, classes, and their relationships as queryable nodes and edges. It enables architecture overviews, community detection of modules, and execution flow analysis without reading every file.

How do I reduce token usage when exploring code with AI?▼

Always begin with get_minimal_context for your task and request minimal detail levels on graph calls. Escalate to standard detail only when the minimal output is insufficient, keeping tasks within about five tool calls.

When should I not use graph-based code exploration?▼

Graph exploration requires the codebase to be indexed into the knowledge graph first. For tiny scripts or single-file questions, directly reading the file is faster than running graph queries.