hivemind-graph

Map codebase structure and relationships from an AST-derived graph.

1.5k|97|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/activeloopai/hivemind --skill hivemind-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hivemind-graph
Source: https://github.com/activeloopai/hivemind/tree/main/claude-code/skills/hivemind-graph
Command: npx skills add https://github.com/activeloopai/hivemind --skill hivemind-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Map a codebase's structure and relationships using an AST-derived graph, enabling quick understanding of how symbols, calls, and imports interconnect without manual file-by-file inspection.

Core Features & Use Cases

  • AST-derived graph of functions, classes, methods, interfaces, types, and modules with edges for calls, imports, extends, implements, and method_of.
  • Read-only, deterministically rebuilt views mounted at memory/graph, refreshed automatically to reflect repository changes without manual builds.
  • Use cases include identifying who calls a function, where a symbol is defined, and what subsystems exist within the codebase.

Quick Start

Ask it to locate where a symbol is defined or which functions call a given function.

Frequently Asked Questions about hivemind-graph

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

FAQPage Schema
How do I map code structure and relationships from a codebase?

To map code structure and relationships, this Skill generates an AST-derived graph of functions, classes, methods, interfaces, types, and modules with edges for calls, imports, extends, and implements across JavaScript, TypeScript, and Python projects.

Can I find where a symbol is defined and which functions call it?

Yes, you can find where a symbol is defined and which functions call it by querying the read-only AST-derived graph, which tracks symbol definitions, function calls, and import relationships across the codebase.

Does the code structure graph require a separate build step to update?

No, the code structure graph does not require a separate build step. It uses a deterministically rebuilt view mounted at memory/graph that refreshes automatically to reflect repository changes.

What programming languages are supported for code relationship analysis?

Code relationship analysis supports JavaScript, TypeScript, and Python projects, mapping architectural subsystems, symbol definitions, and function calls within these languages.

What is the best way to understand architectural subsystems in a repository?

The best way to understand architectural subsystems is by querying the AST-derived graph to visualize how modules, classes, and functions interconnect through calls, imports, and extends edges without manual file-by-file inspection.

What types of code relationships can I trace using an AST-derived graph?

Using an AST-derived graph, you can trace code relationships including function calls, symbol definitions, imports, extends, implements, and method_of edges across supported project files.