code-xray

Locate symbols and definitions across multi-language codebases without reading full files.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/gerardloupecyb/claude-code-project-template --skill code-xray
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-xray
Source: https://github.com/gerardloupecyb/claude-code-project-template/tree/main/.claude/skills/code-xray
Command: npx skills add https://github.com/gerardloupecyb/claude-code-project-template --skill code-xray

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Token-efficient codebase exploration solves the problem of locating symbols and their definitions without reading entire files, preserving tokens and speeding up code navigation.

Core Features & Use Cases

  • Symbol search across languages (Python, JavaScript/TypeScript, Ruby, Go, Rust, Java/Kotlin, C/C++) with precise pattern matching.
  • Get symbol source and signature previews by targeted line ranges.
  • Generate file outlines and identify importers and class hierarchies to understand dependencies and call graphs.
  • Use case: When you need to find where a function is defined and what calls it in a large repository.

Quick Start

Run the symbol search for the target name to retrieve the symbol's location, signature preview, and related references.

Frequently Asked Questions about code-xray

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

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

Symbol search locates function definitions across large, multi-language repositories by matching precise patterns, returning exact locations and signature previews without reading full files.

What programming languages are supported for symbol search and code navigation?

Symbol search supports Python, JavaScript/TypeScript, Ruby, Go, Rust, Java/Kotlin, and C/C++ with language-aware pattern matching for precise code navigation.

Can I generate a file outline and analyze class hierarchies for a multi-language repository?

Yes, you can generate file outlines, identify importers, and analyze class hierarchies to understand dependencies and call graphs across multi-language repositories using local tooling.

How do I find what calls a specific function in a large repository?

Run a symbol search for the target function name to retrieve its definition location, signature preview, and related references to identify callers across the codebase.

Does code-xray require external dependencies or network access for static code analysis?

No, code-xray uses local tooling only to perform static code analysis, symbol matching, and source extraction, requiring no external dependencies or network access.

What's the best way to extract source code by specific line ranges during code exploration?

Targeted line range extraction retrieves symbol source and signature previews by precise line numbers, enabling token-efficient codebase exploration without loading entire files.