npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codex-speedup-proof

v0.1.1

Published

A consent-first Codex skill that proposes safe code speedups and proves approved changes with repeatable benchmarks.

Readme

Codex Speedup Proof

A Codex skill that finds a software performance hotspot, proposes one focused optimization, waits for explicit approval, and then proves whether the approved change worked with repeatable before-and-after benchmarks.

Unlike a static complexity report, Speedup Proof does not claim that code is faster because it looks better. It measures the same realistic workload before and after, runs correctness checks, accounts for benchmark noise, and returns one honest verdict: PROVEN, INCONCLUSIVE, or REGRESSION.

What it does

  • Finds and ranks likely performance hotspots
  • Shows the exact files, transformation, benchmark, tests, and risk before editing
  • Requires explicit user approval for the displayed proposal
  • Creates or reuses a representative benchmark
  • Captures median, p95, range, and variability
  • Applies one attributable optimization at a time
  • Preserves outputs, ordering, errors, APIs, permissions, and side effects
  • Runs tests, typechecks, and builds
  • Rejects noisy, slower, or behavior-breaking changes
  • Creates a Markdown report that opens directly in Codex and renders on GitHub
  • Saves machine-readable JSON evidence for reproduction

Installation

npx --yes codex-speedup-proof@latest

This installs the skill into:

~/.codex/skills/speedup-proof

Restart Codex after installation.

Usage

Find, optimize, and prove a safe speedup:

Use $speedup-proof to find the slowest safe hotspot in this codebase, propose one optimization, and wait for my approval before changing files. After approval, run the relevant tests and prove the result with a before-and-after benchmark.

Analyze without changing code:

Use $speedup-proof in audit mode to rank measurable performance opportunities without modifying files.

Investigate a regression:

Use $speedup-proof in regression mode to compare this branch with main using the same workload and identify what became slower.

Approval gate

Calling $speedup-proof authorizes read-only inspection only. Before changing project files, creating a benchmark harness, installing dependencies, or generating artifacts, the skill must show:

  1. The hotspot and supporting evidence
  2. Every file it plans to change or create
  3. The exact transformation
  4. Behavior that must remain identical
  5. The benchmark and test plan
  6. The main risk

It then stops and asks for explicit approval. Approval covers only that one proposal; a different or additional optimization requires a new approval.

Evidence rules

A result is PROVEN only when:

  1. Correctness checks pass
  2. Before and after use the same representative workload
  3. Measurements are stable
  4. The improvement exceeds the observed noise threshold

Otherwise the skill reports INCONCLUSIVE or REGRESSION. It never invents a speedup percentage from a complexity estimate or a single run.

Output

outputs/speedup-proof-report.md
outputs/speedup-proof-results.json

The Markdown report includes the verdict, before/after table, benchmark protocol, complexity estimate, changed files, correctness evidence, reproduction commands, limitations, and residual risks.

Manual installation

git clone https://github.com/Kappaemme-git/codex-speedup-proof.git
mkdir -p ~/.codex/skills
cp -R codex-speedup-proof/speedup-proof ~/.codex/skills/speedup-proof

Restart Codex after installation.

License

MIT