codex-complexity-optimizer
v0.1.0
Published
Codex skill for analyzing codebase complexity hotspots and safe performance optimizations.
Maintainers
Readme
Codex Complexity Optimizer
Codex skill for analyzing a codebase, finding algorithmic complexity and performance hotspots, and producing safe optimization reports.
Install
npm install -g codex-complexity-optimizerThe package installs the skill into:
${CODEX_HOME:-~/.codex}/skills/complexity-optimizerYou can also run the installer directly:
npx codex-complexity-optimizerUse
In Codex:
Use $complexity-optimizer to analyze this codebase and give me a report.By default, report-only prompts do not modify files. The skill reports file/line, current complexity, recommended change, expected complexity after the change, risk level, and tests or benchmarks needed.
To apply a change, ask explicitly:
Use $complexity-optimizer to implement the lowest-risk optimization from the report and run the relevant tests.