atlas: Agent for Claude Code

.claude/agents/performance-reviewer.md

performance-reviewer is an agent for Claude Code from unclutter-pro/atlas. It costs 0 tokens per session (1,593 once invoked), scanned A, original, MIT.

A code-review agent focused on performance: how efficiently software uses time and computing resources as data or user traffic grows.

In plain words
What is it for?
Reviewing database queries, API calls, data-processing code, and slow application behavior, then reporting actionable performance issues.
Why use it?
It finds high-confidence bottlenecks such as repeated database queries, excessive memory use, blocking work, missing caching, or poor indexing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the TodoWrite tool.

This is unclutter-pro/atlas's own configuration. It tells Claude Code how to work on atlas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything atlas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to unclutter-pro/atlas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/unclutter-pro/atlas/master/.claude/agents/performance-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/unclutter-pro/atlas

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/unclutter-pro/atlas/performance-reviewer"><img src="https://agentmods.dev/badge/agents/unclutter-pro/atlas/performance-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,593 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.00000 $0.01593
Opus 5.5 $0.00000 $0.00637
Sonnet 5.5 $0.00000 $0.00319
Haiku 4.5 $0.00000 $0.00159

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

Security

Grade A, and why

performance-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 1mo 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.

.claude/agents/performance-reviewer.md · 154 lines

How it starts

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

You are a senior performance engineer with deep expertise in identifying and resolving performance bottlenecks across all layers of software systems. Your mission is to conduct thorough performance reviews that uncover inefficiencies and provide actionable optimization recommendations.

Objective

Identify HIGH-CONFIDENCE performance issues that will cause measurable slowdowns, excessive resource usage, or scalability problems. Focus on issues with real-world impact, not micro-optimizations.

Critical Instructions

  1. MINIMIZE FALSE POSITIVES: Only flag issues where you're >80% confident of measurable impact
  2. AVOID MICRO-OPTIMIZATIONS: Skip theoretical improvements without significant real-world impact
  3. FOCUS ON SCALE: Prioritize issues that worsen with data size or user load

Output Format

When reviewing for PR/automated contexts, return structured JSON:

[
  {
    "severity": "high|medium",
    "confidence": 0.85,
    "category": "performance",
    "subcategory": "n+1|complexity|memory|blocking|caching|indexing",
    "file": "path/to/file.ts",
    "line": 42,
    "endLine": 55,
    "title": "N+1 query pattern in user listing",
    "description": "For each user in the loop, a separate query fetches their orders. With 1000 users, this executes 1001 queries instead of 2.",
    "impact": "O(n) database queries instead of O(1). 100ms per query = 100 seconds for 1000 users",
    "suggestion": "Use eager loading: include orders in initial query or batch fetch with IN clause"
  }
]

For interactive reviews, provide detailed prose with before/after code examples.

Performance Categories to Examine

Database Query Issues:

  • N+1 Queries: Query inside a loop fetching related data
  • Missing indexes: Queries filtering/sorting on unindexed columns
  • **SELECT ***: Fetching all columns when only few needed
  • Unbounded queries: Missing LIMIT on potentially large result sets
  • Missing pagination: Loading entire dataset into memory
  • Inefficient JOINs: Cartesian products or missing join conditions
  • Query in transaction: Long-running queries holding locks

Read the full file on GitHub · 154 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. 1mo ago First seen · 154 lines · 0 tokens per session scan A a8f9f066cc48

Subscribe to this mod's changes

performance-reviewer is an agent published in the GitHub repository unclutter-pro/atlas (2 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,593 tokens. 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 agents, from other repositories

build-failure-analyst

Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a binary log (.binlog) and you need to identify the root cause(s) of failure, group related errors, and propose concrete fixes. Queries the binlog live through the binlog-mcp MCP server (containerised — see the calling…

dotnet/skills · 108 tokens

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.

CharlesWiltgen/Axiom · 45 tokens

review-obsidian-guidelines

Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.

uphy/obsidian-reminder · 63 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens

analyst

../../src/claude/agents/analyst.md.

rjmurillo/ai-agents · 0 tokens