用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mj-deving/pai-skills --skill graphify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | graphify |
| description | any input (code, docs, papers, images) - knowledge graph - clustered communities - HTML + JSON + audit report |
| trigger | /graphify |
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.
Use this skill when the user asks to turn code, docs, papers, images, videos, notes, or a mixed corpus into a persistent knowledge graph; query an existing graph; find paths between concepts; add a URL to a graph corpus; export graph artifacts; or run graphify watch/hooks/Claude integration.
/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 # preserve edge direction: source -> target
/graphify <path> --cluster-only # rerun clustering on existing graph
/graphify <path> --no-viz # skip visualization, just report + JSON
/graphify <path> --svg # also export graph.svg
/graphify <path> --graphml # export graph.graphml
/graphify <path> --neo4j # generate graphify-out/cypher.txt
/graphify <path> --mcp # start MCP stdio server for agent access
/graphify <path> --watch # watch folder, auto-rebuild on code changes
/graphify <path> --wiki # build agent-crawlable wiki
/graphify add <url> # fetch URL, save to ./raw, update graph
/graphify query "<question>" # BFS traversal - broad context
/graphify path "AuthModule" "Database" # shortest path between concepts
/graphify explain "SwinTransformer" # plain-language node explanation
graphify follows the /raw folder workflow: drop anything into a folder — papers, tweets, screenshots, code, notes — and get a structured graph that shows what is connected.
Three things it does that a model alone cannot reliably provide:
graphify-out/graph.json and survive across sessions.EXTRACTED, INFERRED, or AMBIGUOUS.Use it for new codebases, reading lists, research corpora, and personal raw folders.
Read only the file needed for the requested path:
| Request shape | Read next |
|---|---|
Full /graphify pipeline, including install, file detection, and transcription | SetupAndDetection.md, then Extraction.md, then GraphOutputs.md |
| Entity/relationship extraction details, AST extraction, semantic subagents, caching, or merge logic | Extraction.md |
| Clustering, community labels, HTML, Obsidian, wiki, Neo4j, SVG, GraphML, MCP, benchmark, manifest, and final report | GraphOutputs.md |
--update or --cluster-only | IncrementalOps.md |
query, path, or explain | QueryOps.md |
add, --watch, commit hook, or Claude integration | AutomationOps.md |
| Edge provenance, cost visibility, warning, and reporting constraints | HonestyRules.md |
For normal full-pipeline invocation, follow the referenced files in order and do not skip steps.
. and do not ask for a path.AMBIGUOUS.$(cat graphify-out/.graphify_python) after setup.Extraction.md; do not read all files manually one by one.