について
このスキルは、コードベースに関する構造的な質問(呼び出し元、インポート、定義、変更影響の特定など)に答えるための、ASTベースの自動化されたコードグラフ分析を提供します。グラフは各エージェント操作後にgit差分を使用して自動的に再構築され、手動のビルドステップは不要です。開発者はhivemind_graph_searchおよびhivemind_graph_neighborhoodツールを使用して依存関係や関連性を把握するためのクエリを実行できます。
クイックインストール
Claude Code
推奨npx skills add activeloopai/hivemind -a claude-code/plugin add https://github.com/activeloopai/hivemindgit clone https://github.com/activeloopai/hivemind.git ~/.claude/skills/hivemind-graphこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Hivemind Code Graph (OpenClaw)
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.
When to use this skill
Activate when the user asks a structural / relational question about the code:
- "What calls
pushSnapshot?" / "Who uses this function?" - "What does
deeplake-pull.tsimport?" / "What depends on X?" - "Where is
GraphSnapshotdefined?" / "Find the function that handles Y." - "What are the main subsystems / the architecture here?"
- "If I change this signature, what's affected?"
Tools
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.
Workflow
- Broad structural question?
hivemind_graph_search({ pattern: "<symbol>" }). - Know the file?
hivemind_graph_neighborhood({ file: "src/hooks/capture.ts" }). - Need the actual code? Open the
source_file:linefrom the tool output with the host read tool — don't answer from the graph alone.
When NOT to use this skill
- Reading the body of a symbol you already located → use the host read tool.
- Code that isn't committed/built yet — the graph can lag uncommitted edits.
- Languages outside TypeScript, JavaScript, and Python — fall back to grep.
Anti-patterns
- Zero incoming callers does NOT mean dead code. Instance-method dispatch and dynamic calls are not fully resolved.
- The graph can be stale. Prefer live source for files edited in this session.
patternis lexical, not semantic — try multiple keywords if the first misses.
GitHub リポジトリ
よくある質問
hivemind-graph Skillとは何ですか?
hivemind-graph はactiveloopai が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで hivemind-graph に関連するタスクを実行できるようにします。
hivemind-graph をインストールするには?
このページのインストールコマンドを使用してください。hivemind-graph をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。
hivemind-graph はどのカテゴリに属しますか?
hivemind-graph は メタ カテゴリに属します。
hivemind-graph は無料で利用できますか?
はい。hivemind-graph は AIMCP に掲載されており、無料でインストールできます。
関連スキル
このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。
このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。
このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。
SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。
