hivemind-graph
仓库创建 2026年4月4日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由
为代码问答和架构梳理提供准确的结构化索引,提升开发效率。
▸ 风险提示
需要读取仓库代码,存在源码或敏感信息泄露风险
这个 Skill 做什么
通过 Deeplake 挂载查询仓库的确定性代码图谱与调用/导入关系。
帮你像查地图一样问代码库:谁调用了某个函数、哪个文件定义了某个类、模块之间怎么互相 import 等。在做重构、评估变更影响或梳理架构边界时用。底层是基于 AST 的确定性代码图,挂在 Deeplake 的 memory/graph 下,无需编译就能像读文件一样查询调用/导入/继承等关系。
▸ 展开 SKILL.md 英文原文
Query the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/. Use when the user asks structural questions about the codebase — "what calls X?", "what does Y import?", "where is Z defined?", "what is the architecture / which subsystems exist?". The graph is an AST-derived map of the repo, queried as files (no build needed — it rebuilds automatically).
1.5k
Stars
95
Forks
11
仓库内 Skill
+72
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/activeloopai/hivemind/main/harnesses/codex/skills/hivemind-graph/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/activeloopai/hivemind/main/harnesses/codex/skills/hivemind-graph/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有