/research:graphifyfrom research
把任何資料夾(code、docs、論文、圖片、影音)建成可導航的知識圖譜——社群偵測、誠實審計軌跡,輸出互動 HTML、GraphRAG JSON 與 GRAPH_REPORT.md。Use when 使用者輸入 /graphify、要求「建知識圖譜」「graphify 這個目錄」「更新圖譜」(--update),或要對既有圖譜查詢(query / path / explain)。
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
這份是 graphify 的改寫版,不是上游原版:直譯器統一為
${GRAPHIFY_PYTHON:-python}(環境變數未設就退回python),PowerShell 專屬語法改為 shell 中立寫法。graphify claude install會覆蓋整個目錄;升級 graphifyy 後若跑過該指令,這些改動會消失,需重新安裝本 plugin。
Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md.
/graphify # full pipeline on current directory → Obsidian vault
/graphify <path> # full pipeline on specific path
/graphify <path> --mode deep # thorough extraction, richer INFERRED edges
/graphify <path> --update # incremental - re-extract only new/changed files
/graphify <path> --directed # build directed graph (preserves edge direction: source→target)
/graphify <path> --cluster-only # rerun clustering on existing graph
/graphify <path> --no-viz # skip visualization, just report + JSON
/graphify <path> --html # (HTML is generated by default - this flag is a no-op)
/graphify <path> --svg # also export graph.svg (embeds in Notion, GitHub)
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
/graphify <path> --obsidian --obsidian-dir ~/vaults/my-project # write vault to custom path (e.g. existing vault)
/graphify <path> --mcp # start MCP stdio server for agent access
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
/graphify add <url> # fetch URL, save to ./raw, update graph
/graphify add <url> --author "Name" # tag who wrote it
/graphify add <url> --contributor "Name" # tag who added it to the corpus
/graphify query "<question>" # BFS traversal - broad context
/graphify query "<question>" --dfs # DFS - trace a specific path
/graphify query "<question>" --budget 1500 # cap answer at N tokens
/graphify path "AuthModule" "Database" # shortest path between two concepts
/graphify explain "SwinTransformer" # plain-language explanation of a node
graphify is built around Andrej Karpathy's /raw folder workflow: drop anything into a folder - papers, tweets, screenshots, code, notes - and get a structured knowledge graph that shows you what you didn't know was connected.
Three things it does that your AI assistant alone cannot:
graphify-out/graph.json and survive across sessions. Ask questions weeks later without re-reading everything.Use it for:
依使用者的指令形態,先讀對應 reference 再執行(勿憑記憶跑流程):
| 指令形態 | 讀取 | 內容 |
|---|---|---|
/graphify [path](含 --mode deep / --directed / --no-viz / --svg / --graphml / --neo4j* / --obsidian / --wiki / --mcp) | references/pipeline.md | 完整建圖 Step 1–9:安裝偵測、檔案偵測、影音轉錄、AST+語意並行萃取(subagent 派發規則)、建圖分群、社群命名、各式輸出、成本紀錄與收尾 |
--update / --cluster-only / --watch / graphify hook / graphify claude install | references/modes.md | 增量重萃、重分群、監看模式、git hook、CLAUDE.md 整合、疑難排解 |
query / path / explain / add <url> | references/query.md | BFS/DFS 圖譜查詢、最短路徑、節點解釋、URL 收錄——含結果回寫圖譜的 save-result 收尾 |
如果沒有給 path,用 .(目前目錄),不要問使用者。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kerryhuang/plugharbor --plugin research3 skills in this plugin
/ai-radar每週掃描近一週最新 AI 情報並產出週報,涵蓋大廠工具規範更新、AI 工程實踐、user 層與當下專案的 agent-system 設定最佳化建議、(專案有提供時的)知識庫時效稽核,並對帳採納待辦跨週追蹤;週報的 plugin 排行與深讀交給 plugin-harvest。另有 launchd 工作日背景執行的每日版(消化待辦做成本機 branch 草稿,見 `--daily`)。手動觸發。觸發詞:「AI 週報」「查本週 AI 新聞」「AI 情報雷達」「ai-radar」。/plugin-harvest吸收外部 plugin 的做法——給一個領域就搜尋該領域最多人用的 plugin,逐一深讀並對照自家 plugin(基準),把值得借的地方寫成「改哪個 skill 的哪一段」的具體提案,使用者逐條核准後才動檔,採納時寫鎖定檔記下來源版本與授權,之後可檢查上游有沒有更新。也可單獨評估一個 repo,或用 --lean 只產排行與評估卡給 ai-radar 週報。手動觸發。觸發詞:「吸收 plugin 做法」「這個領域有什麼好 plugin」「評估這個 plugin」「plugin-harvest」。