Codex Complexity Optimizer: Safe Performance Improvements for Codebases
Greg Brockman, one of OpenAI’s co-founders, made a skill for Codex that analyzes a codebase and shows where you can safely improve performance.
It scans a project and checks loops, repeated calls, heavy rendering sections, N+1 patterns, and places where complexity can be reduced without changing behavior.
-> codebase complexity analysis
-> O(n²), O(n*m) patterns, detection of repeated passes
-> complexity estimation before/after
-> safe optimization suggestions
-> risk level + required tests
-> report-only mode by default
-> one-command installation
Installation: npx --yes codex-complexity-optimizer