gitmyhub

codex-complexity-optimizer

Python ★ 895 updated 1mo ago

Codex skill for safe codebase complexity analysis and performance optimization reports

Codex Complexity Optimizer is a skill (a packaged capability) for the Codex AI coding tool that analyzes a codebase and produces a report identifying performance bottlenecks and algorithmic complexity issues. You install it via npm and then invoke it inside Codex with a prompt like "Use $complexity-optimizer to analyze this codebase." By default it only reports — listing each problem by file and line, the current complexity, what change is recommended, the expected improvement, the risk level of making the change, and what tests or benchmarks you'd need to verify it. To actually apply a change, you ask it explicitly, specifying which optimization to implement. The readme is brief and the tool's scope is narrow: analysis and optional safe edits, with no automatic file modifications unless you ask.