一键导入
graphify
STALKER workspace graph skill for Lua-first corpus maps, subsystem routing, and dependency/path lookups.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
STALKER workspace graph skill for Lua-first corpus maps, subsystem routing, and dependency/path lookups.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working on S.T.A.L.K.E.R./XRay modding tasks, especially Anomaly 1.5.3 + Modded Exes: Lua scripts, configs, UI XML, XML localization, crash-log triage, existing addon maintenance, HUD and weapons, callbacks, binders, save/load safety, engine capability lookup, mixed mod workbenches, and reference research.
Use when working on S.T.A.L.K.E.R./XRay modding tasks, especially Anomaly 1.5.3 + Modded Exes: Lua scripts, configs, UI XML, XML localization, crash-log triage, existing addon maintenance, HUD and weapons, callbacks, binders, save/load safety, engine capability lookup, mixed mod workbenches, packaging, MO2/FOMOD distribution, and GitHub/GitMCP reference research.
any input (code, docs, papers, images) → knowledge graph → clustered communities → HTML + JSON + audit report
| name | graphify |
| description | STALKER workspace graph skill for Lua-first corpus maps, subsystem routing, and dependency/path lookups. |
Use this plugin-local copy for this workbench, not the generic upstream graphify workflow.
This workspace already has repo-specific graphify behavior:
graphify is patched so *.script is treated as Luafolder_map.html, GRAPH_REPORT.md, and wiki/ instead of one fragile graph.html../../../../.skills/stalker-modding/scripts/graphify_workspace.pyUse $graphify when one of these is true:
vanilla scripts, GAMMA Scripts, or Anomaly-Mod-Configuration-Menu-mainai_workspace subfolder and a focused map would be cheaper than the global workspace graphBefore relying on generated graph artifacts, check ../../../../.codex-stalker/state/bootstrap_state.json.
../../../../ai_workspace/lua-graphify-out/graph.json is absent, run ../../../../.skills/stalker-modding/scripts/bootstrap_workspace.py automatically.graphifyy, patches the installed graphify package so *.script is treated as Lua, builds the global ../../../../ai_workspace/lua-graphify-out, builds focused subfolder maps such as ../../../../ai_workspace/vanilla scripts/graphify-out, ../../../../ai_workspace/GAMMA Scripts/graphify-out, and ../../../../ai_workspace/Anomaly-Mod-Configuration-Menu-main/graphify-out, refreshes ../../../../ai_workspace/map_index.html, and records state under ../../../../.codex-stalker/state/bootstrap_state.json.../../../../.skills/stalker-modding/scripts/bootstrap_workspace.py --force-lua-graph when the state exists but the Lua map should be rebuilt anyway.Before rebuilding anything, inspect the generated maps already present in this workspace:
../../../../ai_workspace/map_index.html../../../../ai_workspace/lua-graphify-out/folder_map.html../../../../ai_workspace/lua-graphify-out/GRAPH_REPORT.md../../../../ai_workspace/lua-graphify-out/wiki/index.md../../../../ai_workspace/vanilla scripts/graphify-out/folder_map.html../../../../ai_workspace/vanilla scripts/gamedata/graphify-out/folder_map.html../../../../ai_workspace/GAMMA Scripts/graphify-out/folder_map.html../../../../ai_workspace/GAMMA Scripts/scripts/graphify-out/folder_map.html../../../../ai_workspace/Anomaly-Mod-Configuration-Menu-main/graphify-out/folder_map.html../../../../ai_workspace/Anomaly-Mod-Configuration-Menu-main/gamedata/graphify-out/folder_map.html../../../../ai_workspace/**/graphify-out/folder_map.html that the workspace bootstrap generated for Lua-bearing subfoldersRouting rules:
ai_workspace/lua-graphify-out.ai_workspace/vanilla scripts/graphify-out, and if the question is already about script placement or callback flow inside baseline data, prefer ai_workspace/vanilla scripts/gamedata/graphify-out.ai_workspace/GAMMA Scripts/graphify-out, and if the question is script-only, prefer ai_workspace/GAMMA Scripts/scripts/graphify-out.ai_workspace/Anomaly-Mod-Configuration-Menu-main/graphify-out, and if the question is already inside shipped addon files, prefer ai_workspace/Anomaly-Mod-Configuration-Menu-main/gamedata/graphify-out.ai_workspace subfolder, use its focused map before falling back to the global workspace graph.Use the repo-local helper when the task is about STALKER Lua or when the combined workspace map needs refresh.
Windows PowerShell:
py -3 .\.skills\stalker-modding\scripts\graphify_workspace.py all --root ai_workspace
py -3 .\.skills\stalker-modding\scripts\graphify_workspace.py lua-map --root ai_workspace
py -3 .\.skills\stalker-modding\scripts\graphify_workspace.py submaps --root ai_workspace
py -3 .\.skills\stalker-modding\scripts\graphify_workspace.py index --root ai_workspace
WSL/Linux/macOS:
python3 ./.skills/stalker-modding/scripts/graphify_workspace.py all --root ai_workspace
python3 ./.skills/stalker-modding/scripts/graphify_workspace.py lua-map --root ai_workspace
python3 ./.skills/stalker-modding/scripts/graphify_workspace.py submaps --root ai_workspace
python3 ./.skills/stalker-modding/scripts/graphify_workspace.py index --root ai_workspace
Use native graphify update <subfolder> only for smaller non-Lua code trees such as ai_workspace/src/xrCore or ai_workspace/src/xrEngine.
After locating the right graph, use the native query tools against that graph:
graphify explain "ui_mcm" --graph "ai_workspace/lua-graphify-out/graph.json"
graphify path "ui_mcm" "axr_main" --graph "ai_workspace/lua-graphify-out/graph.json"
graphify query "What are the main Lua subsystems in this workspace?" --graph "ai_workspace/lua-graphify-out/graph.json" --budget 1200
Use explain and path before broad query when you already know the node or subsystem names. They are more reliable on large graphs.
graph.html for all of ai_workspace; use folder maps and per-subsystem graphs instead.