Perf Complexity Analyzer — Security agent for Claude Code
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
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 RepositoryRelated Agents
Perf Report Writer
Invoke last in a performance audit, after both perf-pattern-scanner and perf-complexity-analyzer have complete
Perf Pattern Scanner
Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causin
Function Auditor
Stage 6 of Vulpine — dispatcher. Given a feature's functions.txt produced by stage 5, builds a Tier-A worklist
View Dependency Tree
npm ls yarn list pnpm list npm outdated yarn outdated npm audit yarn audit npx depcheck npx webpack-bundle-ana
Function Analyzer
Performs ultra-granular per-function deep analysis for security audit context building. Use when analyzing den
Patina Fidelity Auditor
Triggers to audit whether a patina rewrite preserved meaning versus the original text. Invoke this agent after
Related Skills
Audit End Sprint
End-of-sprint code audit — run 9-dimension sweep (security, quality, tests, dead code, TODO/FIXME, perf, docs,
Listen Task Queue
Enter Task Queue Listener Mode for a given queue ID or name. Polls for new tasks, assigns complexity, processe
Module Analyzer
You are a deep codebase analyst. You are given a specific directory within a larger project. Your job is to pr