performance-auditor

performance-auditor is a skill for Claude Code, Codex from codebygarv/Ai-skills. It costs 37 tokens per session (500 once invoked), scanned A, original, MIT.

A performance review tool for finding slow parts of an application across the user interface, server logic, database, and network. It looks for concrete causes such as repeated queries, unnecessary rendering, excessive data transfer, and unbounded memory use.

In plain words
What is it for?
Use it to review database queries, algorithms, frontend rendering, network request patterns, caching, memory growth, and concurrency before or during scaling work.
Why use it?
It replaces general advice to make software faster with an investigation of specific bottlenecks and their likely impact. It is useful when something is slow or expected to handle more users or data.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/codebygarv/ai-skills/performance-auditor
Any agent
npx skills add codebygarv/Ai-skills --skill performance-auditor
Clone the repo
git clone --depth 1 https://github.com/codebygarv/Ai-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for performance-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/codebygarv/ai-skills/performance-auditor.svg)](https://agentmods.dev/skills/codebygarv/ai-skills/performance-auditor)
Your own site
<a href="https://agentmods.dev/skills/codebygarv/ai-skills/performance-auditor"><img src="https://agentmods.dev/badge/skills/codebygarv/ai-skills/performance-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00500
Opus 5 $0.00018 $0.00250
Sonnet 5 $0.00007 $0.00100
Haiku 4.5 $0.00004 $0.00050

Measured 3d ago against content hash 757d134d6b23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

performance-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/development/performance-auditor/SKILL.md · 36 lines

How it starts

The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Identify concrete performance bottlenecks across the stack — frontend, backend, database, network — and quantify their likely impact, rather than offering generic "make it faster" advice.

When to Use

  • Something is measurably slow and the cause isn't obvious.
  • Reviewing code before it needs to handle significantly more load or data.
  • The user asks for a performance review/audit specifically.

What to Analyze

  1. Database access — N+1 query patterns, missing indexes (see Database Architect for schema-level depth), fetching more columns/rows than needed.
  2. Algorithmic complexity — loops over loops on data that can grow, repeated work that could be cached or computed once.
  3. Frontend rendering — unnecessary re-renders, large unmemoized computations in render paths, layout thrashing, oversized bundles/assets blocking initial paint.
  4. Network — waterfalled requests that could be parallelized or batched, missing caching headers, over-fetching (requesting more data than a view needs).
  5. Memory — unbounded growth (caches/arrays/listeners that never get cleared), holding large objects longer than needed.
  6. Concurrency — blocking operations on a single-threaded hot path, missed opportunities for async/parallel work.

Output Format

  • Each finding: where the bottleneck is, why it's slow (the mechanism, not just "this is slow"), the rough impact (e.g. "O(n²) → becomes seconds at n=10,000" or "N+1 → 1 query becomes 500"), and the fix.
  • Ordered by expected impact, biggest win first.
  • Distinguish "measured/certain" from "likely but should be profiled to confirm" — don't present a guess as a measured fact.

Avoid

  • Micro-optimizing code that isn't on a hot path — check whether the flagged code actually runs often/at scale before prioritizing it.
  • Recommending premature caching that introduces staleness/invalidation complexity for a marginal gain.
  • Giving impact estimates without stating the assumption behind them (data size, request volume) they depend on.

Read the full file on GitHub · 36 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 36 lines · 37 tokens per session scan A 757d134d6b23

Subscribe to this mod's changes

performance-auditor is a skill published in the GitHub repository codebygarv/Ai-skills (24 stars, last pushed 14d ago), licensed MIT. It adds 37 tokens to every session and 500 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mongo-migration

MongoDB schema migration safety reviewer and migration script generator. ALWAYS use when writing, reviewing, or planning MongoDB schema changes — field additions/removals, index builds, schema validator changes, document type migrations, shard key modifications, or any bulk update touching production collections.…

johnqtcg/awesome-skills · 140 tokens

mysql-migration

MySQL schema migration safety reviewer and DDL generator. ALWAYS use when writing, reviewing, or planning MySQL schema changes — ALTER TABLE, CREATE/DROP INDEX, column type changes, charset conversions, data backfills, or any DDL touching production tables. Covers online DDL algorithm selection (INSTANT/INPLACE/COPY)…

johnqtcg/awesome-skills · 132 tokens

oracle-migration

Oracle Database schema migration safety reviewer and DDL generator. ALWAYS use when writing, reviewing, or planning Oracle schema changes — ALTER TABLE, CREATE/DROP INDEX, column type changes, constraint additions, partition DDL, or any DDL touching production tables. Covers DDL auto-commit implications…

johnqtcg/awesome-skills · 141 tokens

pg-migration

PostgreSQL schema migration safety reviewer and DDL generator. ALWAYS use when writing, reviewing, or planning PostgreSQL schema changes — ALTER TABLE, CREATE/DROP INDEX, column type changes, constraint additions, RLS policy changes, or any DDL touching production tables. Covers lock-level analysis, CREATE INDEX…

johnqtcg/awesome-skills · 135 tokens

redis-cache-strategy

Redis caching strategy designer and reviewer. ALWAYS use when designing, reviewing, or troubleshooting Redis caching layers — cache pattern selection (cache-aside, write-through, write-behind), TTL strategy, cache stampede/penetration/avalanche prevention, hot key handling, cache-DB consistency, distributed locking…

johnqtcg/awesome-skills · 113 tokens

go-error-review

Review Go code for error handling correctness, nil safety, and failure-path integrity including ignored errors, missing wrapping, panic misuse, SQL/HTTP resource lifecycle, and transaction patterns. Trigger when code contains error returns, panic calls, sql.Rows, transactions, HTTP client/server code, or nil-sensitive…

johnqtcg/awesome-skills · 75 tokens