AI Maestro Code Graph Query

SkillDatabases & data

graph-query is a skill that lets an AI agent query a code graph database to understand component relationships, dependencies, and change impact. It is used when you need to find callers, check dependencies, see what uses a component, show relationships, or find serializers while reading code. The skill answers questions about what depends on a component and traces callers through the graph.

Use AI Maestro Code Graph Query in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add AI Maestro Code Graph Query and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the AI Maestro Code Graph Query skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have a code graph database available for the project you want to query.

AI Maestro Code Graph QueryStart free

What your AI can do with it

  • Find callers of a function or method
  • Check dependencies between components
  • Show what uses a given component
  • Display relationships in the code graph
  • Find serializers related to a component
  • Trace change impact across the codebase

Getting started

  1. Have a code graph database available for the project you want to query.
  2. Add the graph-query skill to your agent's available skills.
  3. Configure the skill so it can reach the code graph database.
  4. Ask the agent to find callers, check dependencies, or show relationships.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/ai-maestro/graph-query/SKILL.md and read by ahel’s review.

Query your codebase's dependency graph to understand component relationships, call chains, and the impact of changes before making modifications. Part of the AI Maestro suite.

Prerequisites

Requires AI Maestro running locally with codebase indexed.

# Install graph tools
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-graph-tools.sh

Core Behavior

After reading any code file, query the graph to understand dependencies:

Read file -> Query graph -> Then proceed

Commands

Query

CommandDescription
graph-describe.sh <name>Describe a component or function
graph-find-callers.sh <fn>Find all callers of a function
graph-find-callees.sh <fn>Find all functions called by this function
graph-find-related.sh <component>Find related components
graph-find-by-type.sh <type>Find all components of a type
graph-find-serializers.sh <model>Find serializers for a model
graph-find-associations.sh <model>Find model associations
graph-find-path.sh <from> <to>Find call path between functions

Index

CommandDescription
graph-index-delta.sh [path]Index or update the code graph

Component Types

Use with graph-find-by-type.sh: model, serializer, controller, service, job, concern, component, hook

Usage Examples

# After reading a model file
graph-describe.sh User
graph-find-serializers.sh User
graph-find-associations.sh User

# Before modifying a function
graph-find-callers.sh process_payment
graph-find-callees.sh process_payment

# Find call chain between components
graph-find-path.sh handleRequest sendResponse

# Index your codebase
graph-index-delta.sh /path/to/project

Why Query Before Modifying

Without checking the graph, you risk:

  • Breaking callers when changing a function signature
  • Missing serializers that need updating with a model change
  • Overlooking child classes that inherit your modifications

Full AI Maestro Experience

This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.

Signals

GitHub stars
32k
Forks
4k
Last commit
Oct 2026

Questions

What kinds of questions can I ask with graph-query?
You can ask to find callers, check dependencies, see what uses a component, show relationships, or find serializers. The skill answers questions about component relationships, dependencies, and change impact.
Does graph-query work without a code graph database?
No. The skill queries a code graph database, so that database must exist and be reachable for the skill to return results.
Can graph-query show me what depends on a component?
Yes. One of its main uses is checking dependencies and showing what depends on a component, including callers and change impact.
How do I set up graph-query?
Have a code graph database, add the skill to your agent, and configure it to reach that database. Then ask the agent to find callers or check dependencies.
Advanced
Item type
skill
Key
graph-query-davila7
Source
github.com/davila7/claude-code-templates