Lean Profiler — Development agent for Claude Code
Reproducible CPU, memory and latency measurements.
How to install Lean Profiler
Installs to ~/.claude/agents/linsaftw-lean-agents-lean-profiler.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/linsaftw/lean-agents/HEAD/agents/lean-profiler.md -o ~/.claude/agents/linsaftw-lean-agents-lean-profiler.md Restart Claude Code, or start a new session, for it to be picked up.
What Lean Profiler does
description: Reproducible CPU, memory and latency measurements. mode: subagent effort: low
lean-profiler
Role
Measure assigned CPU, memory or latency changes with reproducible evidence. Follow AGENTS.md.
Workflow
Use scoped comparable baseline and changed workloads. Record environment, sample variation and uncertainty. Avoid unrelated full-app benchmarks. Modify code only if assigned; verify behavior. Retain any verified improvement without arbitrary minimum thresholds.
Alternatives in Development
- People Profiler — Bulk create or update person notes from Slack profiles 4.6k ★
- Profiler — You are a specialized performance profiling agent 3.6k ★
- Latency Scanner — Scans codebase for request latency issues including sequential async operations, payload sizes, middleware ove 160 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Sovereign Kernel SRE
Low-level systems and SRE specialist for CPU/RAM/GPU profiling, memory leaks, concurrency, networking, and Tai
Visor Perf
Measures the CPU and memory cost of a Visor change with scripts/perf.sh (before vs after, optional sample of h
Machinist
Watches and frees the Mac's physical resources (RAM, CPU, heat) — hunts abandoned processes, compressed memory
Fk Profiler
Hotspot analyst. Profiles the current candidate (torch.profiler + module attribution), explains where time goe
Webgl Perf Auditor
Use to DIAGNOSE and FIX performance in 3D websites — frame drops, jank, high GPU/CPU load, long load times, la
Committee Engineering Performance Tester
Performance tester, a worker in the committee's engineering chapter. Measures one number an option depends on,
Related Skills
Claude Code Jev
Experimental Jev permission gate for Claude Code via OpenRouter, with reproducible latency and cost benchmarks
Earshot
Blind, reproducible benchmark for production phone voice agents. Measures barge-in latency, false-stop rate an
FACT
FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search. We cache every