#956 by GitHub stars
Kappaemme-git/codex-complexity-optimizer
Analyze a software codebase for algorithmic complexity and performance hotspots, then propose or implement safe optimizations without breaking behavior. Use when Codex is asked to scan many files, find inefficient loops, nested iteration, repeated scans, costly rendering/recomputation, N+1 queries,
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
complexity-optimizer/SKILL.md
Week of Oct 26, 2026 · +0 / −0 lines
Before Local scripts → After Local scripts
6a1f9674d706 → 6a1f9674d706
Heat
0.1- Star growth, last 7 daysAhead of 1% of tracked repositories
- Star growth, last 24 hoursAhead of 1% of tracked repositories
- Rank movement, last 7 daysAhead of 3% of tracked repositories
- Commits, last 30 daysAhead of 0% of tracked repositories
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekAhead of 0% of tracked repositories
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
Individual skills in this repository
- complexity-optimizer
complexity-optimizer
How it works
complexity-optimizer
When your agent uses it
Analyze a software codebase for algorithmic complexity and performance hotspots, then propose or implement safe optimizations without breaking behavior. Use when Codex is asked to scan many files, find inefficient loops, nested iteration, repeated scans, costly rendering/recomputation, N+1 queries, avoidable O(n^2) or O(n) operations, or reduce complexity such as O(n^2) to O(n log n) / O(n), while preserving tests, APIs, outputs, and maintainability.
What it loads into context
Frontmatter
109 tokensAlways available to the agent
SKILL.md
1,058 tokensWhen the skill is activated
Reference documents
823 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Core Rule
- Default Behavior
- Workflow
- First-Pass Scanner
- Optimization Safety Checklist
- References
Scripts executed separately
scripts/analyze_complexity.py
Files
SKILL.mdcore5,225 bytesSKILL.mdcore5,225 bytesagents/openai.yamlasset221 bytesreferences/optimization-playbook.mddoc2,996 bytesreferences/report-template.mddoc797 bytesscripts/analyze_complexity.pyruns12,166 bytes
Read SKILL.md
# Complexity Optimizer
## Core Rule
Optimize only when the current behavior is understood and can be preserved. Prefer a small, proven improvement with tests over a broad rewrite with unclear correctness.
## Default Behavior
When the user asks to analyze, scan, audit, review, or "give me a report" for a codebase, produce the full complexity report automatically. Do not require the user to specify report fields.
Default report contents:
- Scope analyzed and detected stack/test commands.
- Top findings ranked by likely impact.View the complete source on GitHubSkills included
- complexity-optimizer
Repository facts
- License
- MIT
- Created
- May 15, 2026
- Last pushed
- May 15, 2026
- Forks
- 60
- Open issues
- 0
- Project activity
- Slowing
Rank over the last 12 weeks
Now #956 · best #641 · down 247 in 30 days
- #937 on Nov 1
- #945 on Nov 2
- #950 on Nov 3
- #951 on Nov 4
- #954 on Nov 5
- #956 since Nov 6
17 earlier periods
- #578 on Aug 2
- #577 on Aug 5
- #571 on Aug 8
- #608 on Aug 10
- #610 on Aug 11
- #646 on Aug 24
- #641 on Aug 26
- #664 on Sep 1
- #695 on Sep 17
- #709 on Oct 4
- #786 on Oct 20
- #799 on Oct 21
- #907 on Oct 25
- #924 on Oct 28
- #928 on Oct 29
- #933 on Oct 30
- #935 on Oct 31
Before you install
Local scriptsAutomated signals, not a guarantee
Checked Nov 4, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 1 note
complexity-optimizer/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- No network access
- No hidden or obfuscated text
- No instruction overrides
- 1 executable scriptin 1 file: complexity-optimizer/scripts/analyze_complexity.py:1
- No access to secrets
- No requests to vote in Hot
Show the signal with its line
complexity-optimizer/scripts/analyze_complexity.py
- Executable scriptline 1
#!/usr/bin/env python3
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
No combined signals at this commit.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md complexity-optimizer/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.
Explore alternatives and comparisons
Add this badge to your README
It updates every night and links to this page.
[](https://hotskills.dev/skill/kappaemme-git-codex-complexity-optimizer/)