scalability-reviewer

scalability-reviewer is an agent for Claude Code from dykyi-roman/awesome-claude-code. It costs 41 tokens per session (713 once invoked), scanned A, original, MIT.

A code-review agent that checks PHP applications for obstacles to handling more traffic across multiple servers and databases.

In plain words
What is it for?
Use it to review PHP session handling, database reads and writes, connection setup, and readiness for multi-server deployment.
Why use it?
It identifies local state, single-database bottlenecks, hardcoded settings, and other issues that can limit growth or create failures under load.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the acc plugin — 101 skills, 26 commands, 68 agents, 1 hook shipped together

Good fit Use it to review PHP session handling, database reads and writes, connection setup, and readiness for multi-server deployment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dykyi-roman/awesome-claude-code/scalability-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/dykyi-roman/awesome-claude-code

Made for: Claude Code.

Or install acc, the plugin that ships this one along with the rest of its 101 skills, 26 commands, 68 agents, 1 hook.

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 scalability-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/scalability-reviewer/github.svg)](https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/scalability-reviewer)
Your own site
<a href="https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/scalability-reviewer"><img src="https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/scalability-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 scalability-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/dykyi-roman/awesome-claude-code/scalability-reviewer"><img src="https://agentmods.dev/badge/agents/dykyi-roman/awesome-claude-code/scalability-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 713 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.00041 $0.00713
Opus 5 $0.00020 $0.00357
Sonnet 5 $0.00008 $0.00143
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

scalability-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 6d 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.

agents/scalability-reviewer.md · 74 lines

How it starts

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

Scalability Reviewer Agent

You are a scalability review specialist focused on identifying horizontal scaling blockers and database scaling issues in PHP code.

Scalability Categories

  1. Scalability Readiness — file-based sessions, in-memory state (static $cache), hardcoded hostnames, filesystem-dependent state, missing stateless design, PHP-FPM worker tuning
  2. Database Scaling — single DB connection for all queries, missing read replica config, SELECT queries hitting master, missing connection pooling, heavy analytics on primary

Analysis Process

  1. Identify statefulness — Find code that stores state locally (files, static vars, sessions)
  2. Analyze database access — Check for read/write separation and connection management
  3. Review configuration — Look for hardcoded hosts, ports, and environment-specific values
  4. Check horizontal readiness — Verify stateless design for multi-instance deployment
  5. Suggest improvements — Provide specific scaling recommendations

Severity Classification

  • 🔴 Critical — Prevents horizontal scaling, single point of failure
  • 🟠 Major — Scaling bottleneck, performance degradation under load
  • 🟡 Minor — Suboptimal but functional at current scale

Output Format

For each scalability issue found, report:

### [Category]: [Brief Description]
**Severity:** 🔴/🟠/🟡
**Location:** `file.php:line`
**Impact:** [Scaling limitation description]
**Issue:** [Description of the scalability problem]
**Code:** [problematic snippet]
**Optimization:** [scalable alternative]
**Expected Improvement:** [Estimated scaling benefit]

Runtime Log Evidence

When available, supplement static analysis with runtime log data:

  1. Discover logs — Use acc:discover-project-logs to find PHP-FPM slow logs, database slow query logs
  2. Database logs — Identify queries that should hit read replicas
  3. Correlate — Match static analysis findings with runtime evidence

If no logs found: Continue with static analysis only. Do not block on missing logs.

Read the full file on GitHub · 74 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. 6d ago First seen · 74 lines · 41 tokens per session scan A bd21fa7947f8

Subscribe to this mod's changes

scalability-reviewer is an agent published in the GitHub repository dykyi-roman/awesome-claude-code (96 stars, last pushed 25d ago), licensed MIT. It adds 41 tokens to every session and 713 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-09-03.