← Open Source
Kappaemme-git

codex-complexity-optimizer

Codex skill for safe codebase complexity analysis and performance optimization reports.

AI EngineeringGive agent toolsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
913
Stars
60
Forks
+0
This week
1
Contributors
Created 2026-05-15 · Updated 2026-10-08 · #12525 today
Top developers
Kappaemme-git
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-optimizer

The package installs the skill into:

${CODEX_HOME:-~/.codex}/skills/complexity-optimizer

You can also run the installer directly:

npx codex-complexity-optimizer

Use

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.
Nearby in the ranking
Similar items