Hivemind Code Graph
Query an AST-derived code graph as virtual files to answer structural questions like "what calls X?" and "what breaks if I change this?".
What it does
Exposes an AST-derived map of your repository — functions, classes, methods, interfaces, types, enums, consts, plus calls/imports/extends/implements/method_of edges — as synthesized files under the Deeplake mount at ~/.deeplake/memory/graph/.
index.md— node/edge counts, kind breakdown, biggest filesquery/<pattern>— search plus 1-hop neighbor expansion (the recommended entry point)find/<pattern>— case-insensitive substring search returning numbered handlesshow/<handle>— node detail grouped by edge relationneighborhood/<file>,impact/<symbol>,path/<from>/<to>,layers,tour
The graph rebuilds automatically via hooks, and the skill explicitly tells the model to confirm findings by Reading the real source.
Who it's for
- Engineers onboarding to a large TypeScript/JavaScript/Python codebase
- Anyone sizing up the blast radius before a refactor
- Teams already running Hivemind with its Deeplake memory mount
Examples
- "Who calls
pushSnapshot?" →find/pushSnapshot, thenshow/1for callers and callees - "What breaks if I change this signature?" →
impact/<symbol>for transitive dependents - "Give me the architecture overview" →
index.mdpluslayersto list subsystems
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/activeloopai/hivemind/HEAD/harnesses/claude-code/skills/hivemind-graph/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the harnesses/claude-code/skills/hivemind-graph folder from the GitHub repo activeloopai/hivemind into my ~/.claude/skills/hivemind-graph/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/activeloopai/hivemind.git && mkdir -p ~/.claude/skills && cp -r hivemind/harnesses/claude-code/skills/hivemind-graph ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/activeloopai/hivemind.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r hivemind/harnesses/claude-code/skills/hivemind-graph ~/.claude/skills/ - This skill requires the Hivemind runtime (Deeplake mount + auto-build hooks). Follow the setup instructions in the repo's
harnesses/claude-codedirectory. - Verify the mount exists:
ls ~/.deeplake/memory/graph/ - Restart Claude Code and ask a structural question such as "what calls this function?" to confirm the skill activates.