rehanrnd

Perf Pattern Scanner — Security agent for Claude Code

Security community

Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causing performance issues".

How to install Perf Pattern Scanner

Installs to ~/.claude/agents/rehanrnd-claude-code-perf-audit-team-perf-pattern-scanner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rehanrnd/claude-code-perf-audit-team/HEAD/agents/perf-pattern-scanner.md -o ~/.claude/agents/rehanrnd-claude-code-perf-audit-team-perf-pattern-scanner.md

Restart Claude Code, or start a new session, for it to be picked up.

What Perf Pattern Scanner does


name: perf-pattern-scanner description: Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causing performance issues". Scans the entire codebase for locatable performance anti-patterns — N+1 queries, unbounded loops, sync I/O in async paths, missing memoization, unindexed filters, and large payload waste. Outputs a structured JSON finding list consumed by perf-complexity-analyzer and perf-report-writer. tools: Read, Grep, Glob model: haik

Alternatives in Security

  • Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
  • Anti Reversing Techniques — AUTHORIZED USE ONLY: This skill contains dual-use security techniques 31.9k ★
  • Vault Librarian — Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag sta 4.6k ★

Full documentation available on GitHub

View Source Repository