nygenome

Perf Analyst — Research agent for Claude Code

Research community

Use when interpreting a gperftools/pprof CPU profile or proposing optimizations from one.

How to install Perf Analyst

Installs to ~/.claude/agents/nygenome-lancet2-perf-analyst.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/nygenome/Lancet2/HEAD/.claude/agents/perf-analyst.md -o ~/.claude/agents/nygenome-lancet2-perf-analyst.md

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

What Perf Analyst does


name: perf-analyst description: Use when interpreting a gperftools/pprof CPU profile or proposing optimizations from one. Trigger on "profile analysis", "where are the hotspots", "what should I optimize", "why is this slow", or after running pprof and needing reasoned recommendations. Reads profile output, identifies hotspots, proposes minimum-change improvements with trade-off analysis. Can run pixi profiling commands for additional capture. tools: Read, Grep, Glob, Bash model: opus permiss

Alternatives in Research

  • Braintrust Analyst Agent — You are a specialized analysis agent 3.6k ★
  • Echo Analyst — Use this agent BEFORE planning to surface requirement gaps, hidden assumptions, and missing acceptance criteri 523 ★
  • Refactor Analyst — Use this agent when you need a thorough code quality analysis and refactoring recommendations for specific fil 358 ★

Full documentation available on GitHub

View Source Repository