首頁 › Graphify + Claude Code 整合
Graphify + Claude Code 整合
Graphify 在 Claude Code 上可做到深度常駐:一次安裝寫入 CLAUDE.md 與 PreToolUse hook。
一鍵安裝
pip install graphifyy
graphify install
graphify claude install
- 寫入
CLAUDE.md,提醒先讀GRAPH_REPORT.md。 - 安裝
PreToolUsehook,於Glob/Grep前提示先看圖譜。
其他助理平台
Codex、OpenCode、OpenClaw、Factory Droid 以 AGENTS.md 作為常駐規則載體。
| 平台 | 命令 | 機制 |
|---|---|---|
| Claude Code | graphify claude install | CLAUDE.md + PreToolUse |
| Codex | graphify codex install | AGENTS.md |
| OpenCode | graphify opencode install | AGENTS.md |
| OpenClaw | graphify claw install | AGENTS.md |
| Factory Droid | graphify droid install | AGENTS.md |
常駐模式與顯式命令
常駐模式適合日常定位;需要精準路徑查詢時,用 /graphify query、/graphify path、/graphify explain 直接讀 graph.json。
如何維持圖譜更新
graphify hook install:commit/checkout 後自動重建。/graphify ./raw --watch:背景監聽變更。