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.
npx agentmods add skills/codebygarv/ai-skills/performance-auditornpx skills add codebygarv/Ai-skills --skill performance-auditorgit clone --depth 1 https://github.com/codebygarv/Ai-skillsWrote 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.
[](https://agentmods.dev/skills/codebygarv/ai-skills/performance-auditor)<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>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.
| Model | Per session | Once 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 |
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.
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
- Database access — N+1 query patterns, missing indexes (see Database Architect for schema-level depth), fetching more columns/rows than needed.
- Algorithmic complexity — loops over loops on data that can grow, repeated work that could be cached or computed once.
- Frontend rendering — unnecessary re-renders, large unmemoized computations in render paths, layout thrashing, oversized bundles/assets blocking initial paint.
- Network — waterfalled requests that could be parallelized or batched, missing caching headers, over-fetching (requesting more data than a view needs).
- Memory — unbounded growth (caches/arrays/listeners that never get cleared), holding large objects longer than needed.
- 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.
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.
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.
- 3d ago First seen · 36 lines · 37 tokens per session scan A 757d134d6b23
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.
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.…
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)…
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…
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…
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…
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…