← ClaudeAtlas

efficiency-auditlisted

Ruthlessly audit a codebase for its 1-3 most serious EFFICIENCY problems — the hot paths that dominate latency, cost, or resource use — then verify each with a concrete cost analysis (complexity, query count, allocation, growth path) and a fix. Use whenever the user invokes /efficiency-audit or asks to "find the performance bottlenecks", "why is this slow", "audit this for efficiency", "what's burning CPU/memory/money here", "find the N+1 queries", or wants a sharp, high-signal performance review that stops at the top few offenders rather than an exhaustive list. Spins up a small, capped multi-agent workflow of Sonnet agents to trace hot paths and prove cost. For security vulnerabilities use security-audit instead.
bcmyguest/personal-skills · ★ 0 · AI & Automation · score 58
Install: claude install-skill bcmyguest/personal-skills
# Efficiency Audit Find the **1–3 most serious efficiency problems** in a codebase, prove they matter with a **concrete cost analysis**, and give the fix. These are the defects that dominate latency, cloud bill, or memory — the O(n²) inner loop, the N+1 query behind a list endpoint, the unbounded result set loaded into memory, the missing cache on an expensive repeated call. The whole point is **signal over volume**. A ruthless efficiency auditor doesn't flag every micro-optimization; it finds the one path that grows with your data or traffic and will fall over in production, quantifies the cost, and stops. Stopping early is a feature: the caller asked for the top few, and every extra finding past the target dilutes attention and burns the budget you were told to cap. **Cost must scale** — a slow path that runs once at startup on fixed-size input is not a finding; one whose cost grows with users, rows, requests, or time is. ## How it works This skill runs a **capped multi-agent workflow** (the `Workflow` tool) so recon, hunting, and verification happen in parallel across cheap **Sonnet** agents instead of serially in your own context. You stay the orchestrator: you launch the workflow, read its structured result, and write the report. The user invoking this skill is your explicit authorization to call `Workflow`. Three phases, hard-capped at roughly ten agents total: 1. **Recon** (1 agent) — map the *hot paths*: request handlers and their query patterns, loops over c