codegraph-search

Locate definitions and references in Rust, Python, JavaScript, and TypeScript projects using tree-sitter parsing.

1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Heyo-Computer/heyo-public --skill codegraph-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codegraph-search
Source: https://github.com/Heyo-Computer/heyo-public/tree/main/plugins/codegraph-claude/skills/codegraph-search
Command: npx skills add https://github.com/Heyo-Computer/heyo-public --skill codegraph-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the inefficiency of manual grep searches and full-file reads by providing a tree-sitter-backed interface to query code structure, definitions, and references.

Core Features & Use Cases

  • Symbol Navigation: Quickly locate functions, classes, and structs across Rust, Python, JavaScript, and TypeScript projects.
  • Efficient Inspection: Generate file outlines or extract specific code snippets to minimize token usage compared to reading entire files.
  • Use Case: When debugging a large project, use this skill to instantly find the definition of a specific method or list all references to a variable without scanning through thousands of lines of code.

Quick Start

Use the codegraph search skill to find the definition of the handle_request function in the current codebase.

Frequently Asked Questions about codegraph-search

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

FAQPage Schema
How do I search for function definitions in a large codebase without reading entire files?

To find function definitions without reading entire files, use tree-sitter parsing to query code structure and locate symbols directly. This approach generates file outlines and extracts specific snippets, minimizing token usage compared to manual grep searches.

What is the best way to find all references to a variable across Rust and Python projects?

The best way to find variable references across Rust and Python projects is using tree-sitter code search. It parses code structure to instantly locate references, eliminating inefficient manual grep scanning across thousands of lines.

Does codegraph search work with JavaScript and TypeScript codebases?

Yes, codegraph search works with JavaScript and TypeScript codebases, alongside Rust and Python. It provides symbol navigation and reference finding across all supported languages, requiring the codegraph CLI to be installed and indexed within the repository root.

Do I need to install any dependencies before using tree-sitter codebase navigation?

Yes, you must install the codegraph CLI dependency before using tree-sitter codebase navigation. The CLI must be installed and the repository must be indexed at the root level to enable symbol searching and file outline generation.

How do I generate a file outline to inspect code structure efficiently?

To generate a file outline and inspect code structure efficiently, use tree-sitter parsing to extract symbols and snippets. This method reduces token consumption by avoiding full-file reads, providing a focused outline of functions, classes, and structs.

Why should I use tree-sitter search instead of grep for codebase navigation?

You should use tree-sitter search instead of grep for codebase navigation because it parses code structure rather than matching raw text. This allows precise location of definitions and references, drastically reducing token consumption compared to scanning full files.