- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add activeloopai/hivemind --skill hivemind-graph -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add activeloopai/hivemind --skill hivemind-graph -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add activeloopai/hivemind --skill hivemind-graph -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add activeloopai/hivemind --skill hivemind-graph -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/activeloopai/hivemind/tree/HEAD/harnesses/openclaw/skills/hivemind-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).
The graph builds and refreshes automatically after each turn (gated by rate limit + git diff). You never run a build command — just call the graph tools.
Set plugins.entries.hivemind.config.tuning.HIVEMIND_GRAPH_CWD in
~/.openclaw/openclaw.json to the git root of the project you want indexed
when the gateway's working directory is not the repo (then restart the gateway).
Use the graph as a fast INDEX to locate the few files/symbols that matter, then use the host's read/exec tools on the real source. It is not a substitute for reading source files.
Activate when the user asks a structural / relational question about the code:
pushSnapshot?" / "Who uses this function?"deeplake-pull.ts import?" / "What depends on X?"GraphSnapshot defined?" / "Find the function that handles Y."hivemind_graph_search({ pattern }) — search symbols by substring (or
multi-token AND with +, e.g. auth+handler). Returns matches with 1-hop
neighbors (callers, callees, imports). Start here.hivemind_graph_neighborhood({ file }) — every symbol in a repo-relative
file path plus its cross-file neighbors.hivemind_graph_search({ pattern: "<symbol>" }).hivemind_graph_neighborhood({ file: "src/hooks/capture.ts" }).source_file:line from the tool output with
the host read tool — don't answer from the graph alone.pattern is lexical, not semantic — try multiple keywords if the first misses.Query the local AST-derived code graph (functions, classes, calls, imports) for structural codebase questions — what calls X, what does Y import, where is Z defined, blast radius of a change. The grap
---name: hivemind-graphdescription: Query the local AST-derived code graph (functions, classes, calls, imports) for structural codebase questions…---# harnesses/openclaw/skills/hivemind-graph/SKILL.md總覽
Query the local AST-derived code graph (functions, classes, calls, imports) for structural codebase questions — what calls X, what does Y import, where is Z defined, blast radius of a change. The graph rebuilds automatically after each agent turn; use hivemind_graph_search and hivemind_graph_neighborhood tools (no manual build step).
常見問題
從發布者下載 harnesses/openclaw/skills/hivemind-graph/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/activeloopai/hivemind。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。