The Elon Musk Algorithm skill implements a 5-step engineering framework designed to prevent over-optimization of systems that should be eliminated entirely. The core constraint it enforces is an ordered sequence: deletion before simplification, simplification before automation. This ordering is intentional — it stops an agent from refining logic or automating steps that should not exist in the first place.
When applied to a process or codebase, the skill produces a structured output called an Algorithm Audit. That audit includes a Requirements Audit to surface assumptions, a Deletion List of components or steps flagged for removal, a Simplified Redesign of what remains, an analysis of Cycle Time improvements, and an Automation Plan focused on steps that have already been simplified.
The skill is applicable across several engineering and product workflows. In architecture reviews, it can audit microservices and cloud infrastructure for unnecessary complexity. In code refactoring, it identifies redundant logic, unused dependencies, and over-engineered abstractions. In DevOps and CI/CD contexts, it targets manual gates and opportunities to parallelize pipelines. In product management, it questions feature requirements to reduce scope toward a leaner MVP.
This skill is intended for senior engineers and architects working through legacy bloat or accumulated technical debt. It is a reasoning and analysis skill — it produces structured recommendations rather than executing changes directly.