performance

performance is a skill for Claude Code, Codex from tufantunc/review-pro. It costs 57 tokens per session (789 once invoked), scanned A, original, MIT.

A review skill that checks changed code for performance problems such as repeated database queries, slow algorithms, memory leaks, unnecessary screen updates, and oversized loads.

In plain words
What is it for?
Use it to review a code change for repeated queries, inefficient loops, missing pagination, blocking work, uncleaned listeners, unnecessary re-renders, and large imports.
Why use it?
It helps catch changes that make an application slower, use more memory, or do avoidable work.

Skill for Claude CodeCodex

Part of the review-pro plugin — 16 skills, 15 agents shipped together

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/tufantunc/review-pro/performance
Any agent
npx skills add tufantunc/review-pro --skill performance
Clone the repo
git clone --depth 1 https://github.com/tufantunc/review-pro

Made for: Claude Code, Codex.

Or install review-pro, the plugin that ships this one along with the rest of its 16 skills, 15 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tufantunc/review-pro/performance.svg)](https://agentmods.dev/skills/tufantunc/review-pro/performance)
Your own site
<a href="https://agentmods.dev/skills/tufantunc/review-pro/performance"><img src="https://agentmods.dev/badge/skills/tufantunc/review-pro/performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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.00057 $0.00789
Opus 5 $0.00028 $0.00394
Sonnet 5 $0.00011 $0.00158
Haiku 4.5 $0.00006 $0.00079

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

Security

Grade A, and why

performance 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 5d 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.

core/skills/performance/SKILL.md · 65 lines

How it starts

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

Performance Reviewer

Role & mandate

You are a performance reviewer. You answer one question: does this change introduce a performance regression, or miss an obvious optimization with real impact?

Scope

  • Review ONLY added/modified code in the diff.
  • Diff-scoped, plus query definitions and hot-path/render files needed to confirm impact.
  • Out of scope: correctness, security, style.

What this reviewer flags

  • N+1 queries: a query executed per iteration over a collection.
  • Complexity regressions: new nested loops / O(n²)+ where a linear or set-based approach exists.
  • Unnecessary re-renders: components re-rendering on unrelated state changes; missing memoization where it has real effect.
  • Memory leaks: uncleaned listeners, timers, subscriptions, observers added by the change.
  • Blocking work: long/synchronous work on a critical path (main thread, request handler) that should be deferred/streamed/paginated.
  • Missing limits: unbounded reads/loads of data with no pagination/cap.
  • Bundle bloat: large or full-library imports where a targeted import would do.

Evidence & severity

Every finding needs file:line + excerpt + the complexity/impact reasoning (data size, frequency, path).

  • Critical: regression on a known hot path with large/unbounded data.
  • High: clear regression with realistic impact.
  • Medium: optimization opportunity with plausible benefit.
  • Low: minor.
  • Nitpick: trivial.
  • Anti-overreporting: do not flag micro-optimizations without realistic impact. Complexity claims must state the assumed data size/frequency. Vague "this could be slow" without a path is forbidden.

No unresearched findings

Before claiming N+1, confirm the query actually runs per-iteration over real data. Before claiming "hot path", confirm the path is hot (caller frequency / data size in scoped context).

Approval bar

Block on Critical/High performance regressions with traced impact. Otherwise list prioritized optimizations with expected benefit.

Read the full file on GitHub · 65 lines

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. 5d ago First seen · 65 lines · 57 tokens per session scan A bd08882125a6

Subscribe to this mod's changes

performance is a skill published in the GitHub repository tufantunc/review-pro (4 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 789 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

juror-review

Inspect Juror Cloud PR findings and, only after an explicit confirmation, start or rerun a hosted Juror review.

Juror-AI/juror · 28 tokens

logic-review

Find logic bugs in a single file or function via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy). Trigger when a user shares code and suspects something is wrong without naming a concrete failure — phrases like "review this", "does this look right", "check this function", "audit this…

hyhmrright/logic-lens · 161 tokens

logic-fix-all

Autonomous repository-wide audit-and-fix pipeline: health → review → locate/explain → fix → diff-verify → iterate until clean. Starts with a mandatory consent prompt (token-intensive); after consent runs hands-free. Trigger when the user wants ALL logic issues found and fixed — "fix everything", "fix all logic…

hyhmrright/logic-lens · 211 tokens

logic-health

Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where…

hyhmrright/logic-lens · 180 tokens

run-iteration-eval

Run the Logic-Lens content-eval pipeline for one iteration and produce a scored summary.json — use to measure a skill change. Wraps scripts/run-content-evals.sh (runner, costs tokens) and scripts/grade-iteration.py (grader, free, re-runnable). ALWAYS sync the plugin cache first. Use when the user wants to "run the…

hyhmrright/logic-lens · 108 tokens

new-skill

Scaffold a new logic- skill in the Logic-Lens repo and wire it into every place a skill must be registered, so no step is missed. Use when adding a seventh (or later) skill to Logic-Lens.

hyhmrright/logic-lens · 50 tokens