cgraph

Map symbols, call hierarchies, and dependency relationships in codebases.

15|6|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/phnx-labs/agents-cli --skill cgraph
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cgraph
Source: https://github.com/phnx-labs/agents-cli/tree/main/.agents/skills/cgraph
Command: npx skills add https://github.com/phnx-labs/agents-cli --skill cgraph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the inefficiency of manual code navigation by providing a high-speed, queryable graph of your project's symbols and relationships, replacing slow and imprecise grep-based searches.

Core Features & Use Cases

  • Structural Analysis: Instantly locate definitions, callers, callees, and inheritance chains for any symbol.
  • Impact Assessment: Visualize the transitive blast radius of code changes to prevent regressions before they happen.
  • Contextual Loading: Automatically bundle relevant source code snippets based on a token budget to prepare for complex reviews or edits.

Quick Start

Ask the agent to explain the relationships and dependencies of a specific function or class using the graph tools.

Frequently Asked Questions about cgraph

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

FAQPage Schema
How do I analyze codebase structure and map call hierarchies without slow grep searches?▼

You can analyze codebase structure by using a queryable graph interface to map symbols, call hierarchies, and dependency relationships, replacing slow and imprecise grep-based searches with high-speed structural analysis.

What is the best way to visualize the transitive blast radius of code changes for impact assessment?▼

The best way to assess impact is to visualize the transitive blast radius of code changes through a resident daemon that maintains a synchronized, high-performance index of project structure and symbol centrality.

Can I automatically bundle relevant source code snippets based on a token budget for complex reviews?▼

Yes, you can automatically bundle relevant source code snippets based on a specified token budget to prepare context-aware source retrieval for complex software engineering reviews or edits.

Does codebase graph navigation work for finding inheritance chains and caller relationships instantly?▼

Yes, codebase graph navigation works by instantly locating definitions, callers, callees, and inheritance chains for any symbol through a queryable graph interface maintained by a resident daemon.

Why does codebase graph navigation require a resident daemon to maintain a synchronized index?▼

Codebase graph navigation requires a resident daemon to maintain a synchronized, high-performance index of project structure and symbol centrality, ensuring instant query responses for deep code navigation tasks.