ring:perf-reviewer

ring:perf-reviewer is an agent for Claude Code, Cursor from LerianStudio/ring. It costs 62 tokens per session (1,947 once invoked), scanned A, original, Apache-2.0.

A code and infrastructure performance reviewer for software systems. It looks for issues such as excess memory use, leaked goroutines, repeated database queries, blocked event loops, and unsuitable runtime settings.

In plain words
What is it for?
Use it to review application code, database access, concurrency, garbage collection, CPU limits, connection pools, and other runtime settings.
Why use it?
It helps identify slowdowns, resource waste, and configuration problems that may only appear under real workloads.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code subagent (agents/*.md).

Part of the ring-dev-team plugin — 35 skills, 24 agents shipped together

Good fit Use it to review application code, database access, concurrency, garbage collection, CPU limits, connection pools, and other runtime settings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lerianstudio/ring/perf-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring

Made for: Claude Code, Cursor.

Or install ring-dev-team, the plugin that ships this one along with the rest of its 35 skills, 24 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 ring:perf-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lerianstudio/ring/perf-reviewer/github.svg)](https://agentmods.dev/agents/lerianstudio/ring/perf-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lerianstudio/ring/perf-reviewer"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/perf-reviewer/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 ring:perf-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lerianstudio/ring/perf-reviewer"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/perf-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,947 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.00062 $0.01947
Opus 5.5 $0.00025 $0.00779
Sonnet 5.5 $0.00012 $0.00389
Haiku 4.5 $0.00006 $0.00195

Measured 3mo ago against content hash 2276da3ab56b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ring:perf-reviewer 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 3mo 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.

dev-team/agents/perf-reviewer.md · 181 lines

How it starts

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

Performance Reviewer

⛔ MANDATORY REVIEW PRINCIPLES — APPLY TO EVERY FINDING:

  1. Avoid over-engineering. Flag unnecessary abstractions, premature optimization, speculative flexibility, and complexity that doesn't justify itself. Every layer/interface/indirection must earn its existence — if it doesn't, recommend removal.
  2. Lean toward simplification and maintainability. Prefer fewer moving parts, clearer naming, and code that is easy to read, modify, and delete. When two solutions both work, recommend the simpler one. Maintainability is a first-class quality attribute.
  3. ALWAYS prefer existing Lerian libraries over DIY code. If lib-commons, lib-auth, lib-streaming, or any other Lerian lib already solves the problem, treat DIY reimplementation as a CRITICAL finding. Reinventing wheels is forbidden — flag it, name the lib that should be used, and cite the package path.

You are a Senior Performance Engineer reviewing code and infrastructure configurations for performance issues across two layers:

  • Layer 1 (Code): Allocations, goroutine leaks, N+1 queries, event loop blocking, GC pressure
  • Layer 2 (Runtime/Infra): GOMAXPROCS vs cgroup limits, GC tuning, CFS throttling, connection pool sizing

Standards Loading

For Go: Read dev-team/docs/standards/golang/index.md and load relevant sections per the index's "Load When" descriptions for performance, allocations, hotspots, and N+1 queries. For TypeScript: Read dev-team/docs/standards/typescript.md (single monolith — load relevant ## sections per your scope).

Layer 1: Code Checks

Go

Check Look For Severity
G-1 Missing automaxprocs in containerized service (Go <1.25) warning
G-2 Goroutine leaks — go func() without context cancellation critical
G-3 Repeated allocations in hot paths where sync.Pool applies warning
G-5 N+1 queries — loop-based DB calls critical
G-6 Missing DB indexes on WHERE/ORDER BY columns critical
G-8 String concatenation with + in loops → use strings.Builder warning
G-9 defer inside tight loops warning
G-11 Connection pool size vs expected concurrency mismatch warning
G-13 Go 1.24+ benchmarks using b.N loop instead of b.Loop() info

Read the full file on GitHub · 181 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. 3mo ago First seen · 181 lines · 62 tokens per session scan A 2276da3ab56b

Subscribe to this mod's changes

ring:perf-reviewer is an agent published in the GitHub repository LerianStudio/ring (218 stars, last pushed 29d ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,947 once invoked, about $0.0002 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-08-30.

Related

ring:perf-reviewer compared with agents from other repositories

ring:perf-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ring:perf-reviewerLerianStudio/ringAgent21829d agoApache-2.0A62Claude Code, Cursor
geo-content-signalsgreglas75/zuvoAgent7todayMITA34Claude Code
seo-assetsgreglas75/zuvoAgent7todayMITA24Claude Code
seo-contentgreglas75/zuvoAgent7todayMITA21Claude Code
spec-reviewergreglas75/zuvoAgent7todayMITA16Claude Code
implementergreglas75/zuvoAgent7todayMITA30Claude Code
geo-schema-rendergreglas75/zuvoAgent7todayMITA23Claude Code