rehanrnd

Perf Complexity Analyzer — Security agent for Claude Code

Security community

Invoke second during a performance audit, after perf-pattern-scanner has produced its findings.

How to install Perf Complexity Analyzer

Installs to ~/.claude/agents/rehanrnd-claude-code-perf-audit-team-perf-complexity-analyzer.md

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

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

What Perf Complexity Analyzer does


name: perf-complexity-analyzer description: Invoke second during a performance audit, after perf-pattern-scanner has produced its findings. Given the scanner's JSON finding list, reads the implicated files and performs deep algorithmic complexity analysis — estimates Big-O for each hot path, identifies data structure mismatches, and flags recursive subproblem repetition. Outputs complexity annotations that perf-report-writer merges into the final report. tools: Read, Grep model: sonnet

Alternatives in Security

  • JS Analyzer — JavaScript static analysis agent for client-side security review 812 ★
  • Security Audit Analyzer — Комплексный анализ безопасности веб-приложений с JavaScript frontend и PHP backend 571 ★
  • Perf Deep Audit — Use this agent when you need a deep performance review of Electron, React, or Vite-related code — especially f 358 ★

Full documentation available on GitHub

View Source Repository