hivemind-graph
仓库创建 2026年4月4日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由
为代码理解与架构问答提供确定性、可导航的仓库结构视图,极适合开发助手。
▸ 风险提示
需读取代码仓库,可能暴露源码或敏感实现细节
这个 Skill 做什么
查询基于 AST 的代码图谱,回答函数、类、调用与导入等结构化问题。
把项目源码抽成一张可查询的结构化代码图,列出函数、类、调用、导入、继承等实体和它们的关系。用于架构梳理、追踪依赖链或评估改动影响时非常有用。特色是图由 AST 自动生成且可重建,查询路径像读文件一样直接,避免了编译或运行时依赖带来的麻烦。
▸ 展开 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's the architecture / which subsystems exist?", "what's the impact of changing this?". 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/claude-code/skills/hivemind-graph/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/activeloopai/hivemind/main/harnesses/claude-code/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 公开信息 · 原文版权归作者所有