Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

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?".

Dev & CodingIntermediate★ 1,624⑂ 111AI score 8/10Last updated: Sep 28, 2026

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 files
  • query/<pattern> — search plus 1-hop neighbor expansion (the recommended entry point)
  • find/<pattern> — case-insensitive substring search returning numbered handles
  • show/<handle> — node detail grouped by edge relation
  • neighborhood/<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

  1. "Who calls pushSnapshot?" → find/pushSnapshot, then show/1 for callers and callees
  2. "What breaks if I change this signature?" → impact/<symbol> for transitive dependents
  3. "Give me the architecture overview" → index.md plus layers to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal and clone the repo: git clone https://github.com/activeloopai/hivemind.git
  2. Create the skills folder: mkdir -p ~/.claude/skills
  3. Copy the skill: cp -r hivemind/harnesses/claude-code/skills/hivemind-graph ~/.claude/skills/
  4. This skill requires the Hivemind runtime (Deeplake mount + auto-build hooks). Follow the setup instructions in the repo's harnesses/claude-code directory.
  5. Verify the mount exists: ls ~/.deeplake/memory/graph/
  6. Restart Claude Code and ask a structural question such as "what calls this function?" to confirm the skill activates.
View source on GitHub ↗License: Apache-2.0