nonchan7720/depgraph
Codex hooks that add depgraph's findings (unused code, duplicated logic, import cycles, layer violations) to the context, and skills to set depgraph up in a project and to fix what it reports. Installs the depgraph binary of its version from the GitHub release (sha256-verified) when it is not cached.
Fix the debt depgraph reports (import-cycle, module-cycle, layer-violation, concrete-dependency, type-leak, duplicate-code, duplicate-symbol, god-package, low-cohesion, unused-export, unreachable-file, unreachable-package) the way the codebase needs, not by silencing the rule. Use when depgraph findings appear in the context (session start, a prompt, or a failing depgraph gate), or when the user asks to clean up what depgraph found.
Set depgraph up in the current project, or review an existing setup. depgraph finds the debt AI agents leave behind that compilers and linters do not report (exports and files nothing uses, the same logic written twice, import cycles, layer violations, god packages) and feeds it back to the coding agent (Claude Code, Codex) while it works. Writes .depgraph.yml (architecture layers, rule options, entry points), .depgraphignore (generated / vendored / fixture paths) and, when the project uses claude-hook-gate (.claude/gate.yaml or .agents/gate.yaml), the depgraph gate rule and session_start entry. Use when the user asks to install, set up, configure, tune or review depgraph, its layers or rules, or its quality gate.