By iamsaumya
Triage a runtime performance problem in a running web app (100% CPU, jank, freeze, slow interaction) by capturing a real CPU profile over the Chrome DevTools Protocol and diagnosing from it, not from source-reading.
A Claude Code skill for triaging runtime performance problems in a running web app — 100% CPU, jank, a freeze, a slow tab/route switch — by capturing a real CPU profile over the Chrome DevTools Protocol (CDP) and diagnosing from it, instead of guessing from source.
It encodes a repeatable workflow and the hard-won decision lessons from real perf investigations: which metric matches which symptom, how to capture a profile when the DevTools panel crashes on huge traces, and how to fix with measure-and-revert discipline.
A long, high-CPU spike produces a huge trace, and the DevTools Performance panel crashes rendering the flame chart. CDP's Profiler domain hands back a compact .cpuprofile with no UI involved, so capture always works. The bundled scripts automate this.
/plugin marketplace add iamsaumya/perf-triage
/plugin install perf-triage@perf-triage
Then invoke it on an issue:
/perf-triage:perf-triage
To try it locally without installing:
claude --plugin-dir /path/to/perf-triage
--remote-debugging-port.WebSocket/fetch), or Node 18–20 with the ws package (npm i ws) for the capture script.skills/perf-triage/scripts/capture-cpuprofile.js — connect to Chrome on a debug port, reload, drive the interaction, record a .cpuprofile.
node capture-cpuprofile.js --url <appUrl> --trigger "<button text>" [--reset "<other tab>"] [--seconds 22] [--out spike.cpuprofile] [--port 9222]
skills/perf-triage/scripts/parse-cpuprofile.js — offline analysis (idle %, active CPU, self/inclusive time, active-CPU-per-second spike shape).
node parse-cpuprofile.js <file.cpuprofile> [topN]
Both are generic — parameterized by URL, click targets, duration, and port. No app-, company-, or framework-specific assumptions.
MIT — see LICENSE.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub iamsaumya/perf-triage --plugin perf-triageReliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.