Perf — Research agent for Claude Code
Performance analysis — N+1 queries, missing eager loading, slow queries, unnecessary re-renders.
How to install Perf
Installs to ~/.claude/agents/cveralyon-axel-setup-perf.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/cveralyon/axel-setup/HEAD/agents/perf.md -o ~/.claude/agents/cveralyon-axel-setup-perf.md Restart Claude Code, or start a new session, for it to be picked up.
What Perf does
description: Performance analysis — N+1 queries, missing eager loading, slow queries, unnecessary re-renders. tools: ["Bash", "Read", "Grep", "Glob"]
Analyze the codebase or a specific area for performance issues. Read-only analysis — report findings, don't auto-fix.
Rails (main-api)
N+1 Queries
- Find
.each/.map/.find_eachloops that access associations - Check if
includes/eager_load/preloadis used upstream - Check serializers with
belongs_to/has_manythat tri
Alternatives in Research
- Hooks: — You are a GSD codebase mapper 38.5k ★
- Improve Agent — Systematic improvement of existing agents through performance analysis, prompt engineering, and cont 31.9k ★
- Skill — Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis 31.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Perf Analyst
Use when interpreting a gperftools/pprof CPU profile or proposing optimizations from one. Trigger on "profile
Impl Performance
Reviews implementation plans from a performance and efficiency perspective. Use when evaluating algorithmic co
Web Performance Auditor
Web performance engineer focused on Core Web Vitals, loading, rendering, and network optimization. Use for per
Performance Analysis
perf record -g ./program perf report --stdio valgrind --tool=cachegrind ./program cg_annotate cachegrind.out.
Frontend Performance Reviewer
Frontend performance analysis specialist using browser automation. Use when reviewing React/frontend code for
Output Agent
Presentation formatting specialist that takes raw analysis results from skill execution or playbook completion
Related Skills
DB Health
Supabase / Postgres health audit: missing indexes, slow queries via pg_stat_statements, unused indexes, table
Analyse Queries
Analyse SQL queries and ORM code for performance issues and missing indexes
Perf Check
Performance analysis of the Energy platform.