Flamegraph Analyzer
imtiazrayhan/agentscamp-libraryTurn a CPU profile or flamegraph into a concrete optimization instead of guessing where the time goes: capture under a realistic workload with a sampling profiler, read the graph correctly (width = time, depth ≠ time), find the widest self-time leaves, ask if that work is necessary/redundant/algorithmically wrong, fix the biggest contributor, then re-profile. Use when code is CPU-bound and slow, a function is hot but you don't know which part, or you have a profile you can't interpret.
At a glance
This skill is for Legal and helps you analyze cpu flamegraphs, identify performance bottlenecks, and optimize hot code paths.
git clone --depth 1 https://github.com/imtiazrayhan/agentscamp-library
cp -r agentscamp-library/skills/flamegraph-analyzer ~/.claude/skills/flamegraph-analyzer
Setup, runtime and requirements describe imtiazrayhan/agentscamp-library, the repo this skill ships in.
performanceProfilingCpuoptimizationFlamegraphBottleneck
Also in imtiazrayhan/agentscamp-library
View the repoAudit a UI change for accessibility regressions by combining automated checks with keyboard, focus, semantic, name-role-value, contrast, zoo...
Write an Architecture Decision Record capturing a decision the user describes, in Michael Nygard ADR format (Status, Context, Decision, Cons...
Design a project's CLAUDE.md and memory hierarchy by exploring the repo to learn its real build/test/lint commands, architecture, and non-ob...
Evaluate a multi-step AI agent's whole run — tool calls, intermediate steps, and final result — not just final-answer correctness, so you ca...
Cut alert noise and make every page mean something — rewrite alerting rules to fire on user-felt symptoms (error rate, latency SLO burn, fai...
Plan the retirement of an API endpoint, field, event, tool, or version without surprising active consumers. Use when replacing an interface,...
Design or normalize an API's error contract so clients get stable machine-readable codes, safe human messages, field-level validation detail...
Generate accurate architecture diagrams as Mermaid — straight from the codebase, not from imagination — by first choosing which view answers...
Read-only review of authentication AND authorization flows — session/token model, cookie flags, CSRF, token rotation, password-reset/email-v...
Audit scheduled jobs, queue consumers, workers, and asynchronous workflows for delivery assumptions, idempotency, retries, poison messages,...
Rebase the current branch onto its base and walk every conflict methodically, resolving each by understanding both sides. Use when your feat...
Analyze a JS/TS production bundle and surface the biggest size wins — heavy dependencies, duplicate packages, missing code-splitting, oversi...
Other Legal skills
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use...
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's doc...
Meeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meetin...
An editorial-style poster — newsprint paper, dateline, oversized serif headline with a struck-through word and italic accent, a 2-column bod...
A standalone pricing page — header, plan tiers, feature comparison table, and an FAQ. Use when the brief asks for "pricing", "plans", "subsc...
Apple Human Interface Guidelines as 14 agent skills covering platforms, foundations, components, patterns, inputs, and technologies for iOS,...