NODEDC_1C/docs/GRAPHIFY_CODEX_SETUP.md

1.2 KiB

Graphify for Codex in NDC_1C

This repository now has project-level setup for graphify (knowledge graph workflow for Codex).

What was added

  • AGENTS.md with graph-first Codex rules.
  • .graphifyignore tuned for this repository.
  • .gitignore rules for graphify temporary/build outputs.
  • scripts/setup_graphify_codex.ps1 bootstrap script.

One-command setup (Windows)

powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1

Options:

# do not reinstall pip package
powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1 -SkipPipInstall

# also install graphify git hooks (post-commit/post-checkout)
powershell -ExecutionPolicy Bypass -File .\scripts\setup_graphify_codex.ps1 -InstallGitHooks

Codex usage

In Codex chat (skill trigger uses $):

$graphify .
$graphify . --update
$graphify query "what connects routing to runtime?"

Main outputs are created in graphify-out/:

  • graphify-out/graph.json
  • graphify-out/GRAPH_REPORT.md
  • graphify-out/graph.html

Important Codex config

For parallel semantic extraction, make sure ~/.codex/config.toml contains:

[features]
multi_agent = true