#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

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 6a1f9674d706a06d462296e53a40f668299e8893

912GitHub stars
-3stars in 7 days
1skill in this repository
0commits in 30 days

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

Aug 2, 2026Nov 6, 2026915

Individual skills in this repository

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 tokens

Always available to the agent

SKILL.md

1,058 tokens

When the skill is activated

Reference documents

823 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Core Rule
  2. Default Behavior
  3. Workflow
  4. First-Pass Scanner
  5. Optimization Safety Checklist
  6. References

Scripts executed separately

  • scripts/analyze_complexity.py

Files

  • SKILL.mdcore5,225 bytes
  • SKILL.mdcore5,225 bytes
  • agents/openai.yamlasset221 bytes
  • references/optimization-playbook.mddoc2,996 bytes
  • references/report-template.mddoc797 bytes
  • scripts/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 GitHub

Skills 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

  1. #937 on Nov 1
  2. #945 on Nov 2
  3. #950 on Nov 3
  4. #951 on Nov 4
  5. #954 on Nov 5
  6. #956 since Nov 6
17 earlier periods
  1. #578 on Aug 2
  2. #577 on Aug 5
  3. #571 on Aug 8
  4. #608 on Aug 10
  5. #610 on Aug 11
  6. #646 on Aug 24
  7. #641 on Aug 26
  8. #664 on Sep 1
  9. #695 on Sep 17
  10. #709 on Oct 4
  11. #786 on Oct 20
  12. #799 on Oct 21
  13. #907 on Oct 25
  14. #924 on Oct 28
  15. #928 on Oct 29
  16. #933 on Oct 30
  17. #935 on Oct 31

Before you install

Local scripts

Automated 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:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
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 compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md complexity-optimizer/SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md complexity-optimizer/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md complexity-optimizer/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md complexity-optimizer/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md complexity-optimizer/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard 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.

Kappaemme-git/codex-complexity-optimizer: #956 on hotskills, 912 stars

[![Kappaemme-git/codex-complexity-optimizer on hotskills](https://hotskills.dev/badge/kappaemme-git-codex-complexity-optimizer.svg)](https://hotskills.dev/skill/kappaemme-git-codex-complexity-optimizer/)