performance-review-principles

performance-review-principles is a skill for Claude Code from wsauret/flywheel. It costs 15 tokens per session (587 once invoked), scanned A, original, Apache-2.0.

A set of principles for reviewing code or a plan for performance problems under realistic workloads, including time, memory, queries, input size, concurrency, caching, and measurement quality.

In plain words
What is it for?
Use it during a performance review to compare controlled runs, check algorithmic and resource costs, identify N+1 work, and connect operation counts with user-perceived latency.
Why use it?
It distinguishes genuine user-facing cost from misleading measurements and exposes repeated expensive work, latency problems, and unbounded resource growth.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it during a performance review to compare controlled runs, check algorithmic and resource costs, identify N+1 work, and connect operation counts with user-perceived latency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wsauret/flywheel/performance-review-principles
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.

Any agent
npx skills add wsauret/flywheel --skill performance-review-principles
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

Made for: Claude Code.

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-review-principles

README.md
[![agentmods](https://agentmods.dev/badge/skills/wsauret/flywheel/performance-review-principles/github.svg)](https://agentmods.dev/skills/wsauret/flywheel/performance-review-principles)
Your own site
<a href="https://agentmods.dev/skills/wsauret/flywheel/performance-review-principles"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/performance-review-principles/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for performance-review-principles

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/performance-review-principles"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/performance-review-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00015 $0.00587
Opus 5.5 $0.00006 $0.00235
Sonnet 5.5 $0.00003 $0.00117
Haiku 4.5 $0.00002 $0.00059

Measured 14d ago against content hash d22956d5a6e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

performance-review-principles 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 14d 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.

src/agent-skills/performance-review-principles/SKILL.md · 21 lines

What it actually says

Performance Review Principles

{{if:skill:code-review}} Use this lens with exactly one active target: code-review or plan-review. If neither is active, load the target that matches the artifact. If both are active, stop and require one target. Return through that target's locations, severity, and result contract. {{else}} Use this lens with exactly one active target: a direct review of implemented code, or plan-review. If neither is active, load plan-review for a settled plan, or review implemented code directly. If both are active, stop and require one target. Return through that target's locations, severity, and result contract. {{end}}

Assess realistic data volume and call frequency, algorithmic complexity, query and I/O multiplicity, memory growth and retention, bounded concurrency, latency budgets, caching ownership and invalidation, and measurement evidence. Before comparing versions or hosts, confirm that each metric uses the same clock, boundary, and meaning. Show that the instrument responds to a controlled change. Use interleaved paired runs (ABBA) of identified builds and workloads, and disclose host load. Count expensive underlying work, including native measurements, equal-value publications, callbacks, and cache misses, not only outer helper calls. Pair operation counts with user-perceived latency. Name N+1 work and unbounded resource growth precisely. Treat derived state that is recomputed instead of advanced as a defect: a handler that runs per change, tick, subscription, or loop item and rereads or refolds full history, or reads each member of a collection, does work that grows with history or membership on every change; the correction reads the state its owner already keeps current and folds only what is new, and its proof counts reads per change against the number of members. Treat diagnostics as a resource: a record at default level on a per-call, per-request, or per-iteration path, content (message text, tool output, prompts, file content) in a log record, a start and done pair where one done record would serve, and a repeated condition that is not coalesced are volume defects; a decision that ends, refuses, restarts, or releases work with no record is a debuggability defect. Reject scale concerns that the system does not encounter; state the unsupported workload assumption rather than inventing a defect. Prefer measurement and the smallest correction that satisfies the demonstrated workload.

{{if:type:reviewer}} This package supplies performance principles only. Do not acquire target evidence, define severity or locations, select reviewers, route workflow work, or synthesize findings. {{else}} This package supplies performance principles only. Do not acquire target evidence, define severity or locations, route workflow work, or synthesize findings. {{end}}

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. 14d ago Changed · +2 lines d22956d5a6e4
  2. 20d ago Changed · +8 lines aa935bfdbd4a
  3. 28d ago First seen · 11 lines · 15 tokens per session scan A 4b21b3ad7671

Subscribe to this mod's changes

performance-review-principles is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 587 once invoked, about $0.0001 per session on Opus 5.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-11-03.

Related

performance-review-principles compared with skills from other repositories

performance-review-principles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
performance-review-principleswsauret/flywheelSkill19todayApache-2.0A15Claude Code
gh-find-prsHmbown/CodeWhaleSkill41k2d agoMITA27Claude Code, Codex
gh-compile-issuesHmbown/CodeWhaleSkill41k2d agoMITA39Claude Code, Codex
reviewHmbown/CodeWhaleSkill41k2d agoMITA73Claude Code, Codex
simplifyHmbown/CodeWhaleSkill41k2d agoMITA24Claude Code, Codex
cw-sliceHmbown/CodewhaleSkill41k1mo agoMITA47Claude Code, Codex
githubHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex