New advertisers: 50% off your first month with code FIRSTMONTHSee slots
activeloopai avatar

Hivemind Graph

Read-only code graph query skill for finding callers, imports, definitions, and change impact across TypeScript, JavaScript, and Python repos.

GitHub stars
1.7K
last updated
Jun 11, 2026
View on GitHub

What it does

  • Covers structural questions about functions, classes, calls, imports, and inheritance, answered from an AST-derived map of the repository
  • Includes path commands such as index.md, query/, find/, show/, neighborhood/, impact/, path/, layers, and tour under the Deeplake mount
  • Enforces a rule that zero-incoming symbols are not proven dead, since instance-method and dynamic dispatch are not resolved
  • Designed for locating symbols and relationships before reading the real source, and warns that the graph can lag uncommitted edits

Install

$ npx -y skills add activeloopai/hivemind --skill hivemind-graph -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Hivemind Code Graph

A deterministic, AST-derived map of the current repository — every function, class, method, interface, type, enum, const, and module, plus the edges between them (calls, imports, extends, implements, method_of). It is queried as synthesized files under the Deeplake mount; there are no real files on disk and no network call in the read path.

The graph builds and refreshes automatically (on Stop / SessionEnd, gated by a rate limit + git diff). You never run a build command — just read it.

Use it as a fast INDEX to locate the few files/symbols that matter, then open them with Read to answer. It is not a substitute for the source.

When to use this skill

Activate when the user asks a structural / relational question about the code:

  • "What calls pushSnapshot?" / "Who uses this function?"
  • "What does deeplake-pull.ts import?" / "What depends on X?"
  • "Where is GraphSnapshot defined?" / "Find the function that handles Y."
  • "What are the main subsystems / the architecture here?"
  • "If I change this signature, what's affected?" → use impact/<symbol> (transitive blast radius)

When NOT to use this skill

Details

Repository
github.com/activeloopai/hivemind
Categories
Code Review & Quality, Memory & Context, Debugging
License
Apache-2.0
First seen
Jun 11, 2026

More from activeloopai/hivemind

All 4

Similar to Hivemind Graph

More Code Review & Quality